Re: [pcre-dev] Here is pcre-7.1-RC2 for you to play with

Αρχική Σελίδα
Delete this message
Συντάκτης: Sheri
Ημερομηνία:  
Προς: pcre-dev
Καινούρια Θέματα: [pcre-dev] Replies to many
Αντικείμενο: Re: [pcre-dev] Here is pcre-7.1-RC2 for you to play with
Philip Hazel wrote:
> On Wed, 21 Mar 2007, Sheri wrote:
>
>
>> You don't get a diff file when running the bat file for the tests, you
>> get testoutput files.
>>
>
> Those would do - I can run diff :-)
>

Sent you a zip file off-list to the same address showing on your list
emails, let me know if you fail to receive it.
>
>> creating pcredemo.exe
>> make[2]: Leaving directory `/C/pcre-7.1-RC2'
>> make[1]: Leaving directory `/C/pcre-7.1-RC2'
>> make check-TESTS
>> make[1]: Entering directory `/C/pcre-7.1-RC2'
>> make[1]: *** [check-TESTS] Interrupt
>> make: *** [check-am] Interrupt
>>
>> Unless I resolve this, I will send my testoutput files. To get them, I
>> put the libraries, pcretest.exe and the testdata dir into a directory
>> and ran RunTest.bat there.
>>
>
> Can't help you, I'm afraid. I live in a Unixy world (never ever used
> Windows).
>

Hope you can help with the "make check" problem. Msys is Unixy world on
Windows :)
>
>> BTW, the dll libraries get different names out of 7.2 RC2 than 7.0 and
>> 6.7 (configured in msys). I am accustomed to seeing "pcre.dll" and
>> "pcreposix.dll". With 7.2 RC2 I am getting libpcre-0.dll and
>> libpcreposix-0.dll.
>>
>
> Can't help there either, but maybe someone else on this list can.
>

Yes I hope so. Also have another issue. I was previously able (when
making pcre 6.7 and 7.0) to include a .coff file (produced with windres
from a pcre.rc file I created) in Makefile.in so that the pcre.dll file
contained version and copyright info. Linking with the .coff file makes
the dll library display version info when mouse-hovered in Windows
explorer, and show more detailed info in file properties.

The .coff file went here (in the old Makefile.in). There is no such
thing in the new Makefile.in.

This naming issue is probably the reason the .exe files wouldn't get
made in the old versions.

Don't know where to put the coff file reference in the new Makefile.in.
Suspect if I copied the info below into 7.2RC2's Makefile.in I might get
a library named pcre.dll, though.

# Some Windows-specific targets for MinGW. Do not use for Cygwin.

winshared : .libs/@WIN_PREFIX@??? .libs/@WIN_PREFIX@??? \
        .libs/@WIN_PREFIX@???


.libs/@WIN_PREFIX@??? : libpcre.la
    $(CC) $(CFLAGS) -shared -o $@ pcre.coff\
    -Wl,--whole-archive .libs/libpcre.a \
    -Wl,--out-implib,.libs/libpcre.dll.a \
    -Wl,--output-def,.libs/@WIN_PREFIX@??? \
    -Wl,--export-all-symbols \
    -Wl,--no-whole-archive
    sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@???'#" \
    -e "s#library_names=''#library_names='libpcre.dll.a'#" \
    < .libs/libpcre.lai > .libs/libpcre.lai.tmp && \
    mv -f .libs/libpcre.lai.tmp .libs/libpcre.lai
    sed -e "s#dlname=''#dlname='../bin/@WIN_PREFIX@???'#" \
    -e "s#library_names=''#library_names='libpcre.dll.a'#" \
    < libpcre.la > libpcre.la.tmp && \
    mv -f libpcre.la.tmp libpcre.la



Regards,
Sheri