Hi,

since I'm sort of a lazy updater I didn't notice earlier:

Lazarus doesn't compile on FreeBSD 4 any more, since some newer
functions are missing.

Linking ../lazarus
/home/marc/fpc-2.0.2/lib/fpc/2.0.2/units/i386-freebsd/rtl/cwstring.o: In 
function `CWSTRING_LOWERWIDESTRING$WIDESTRING$$WIDESTRING':
/home/marc/fpc-2.0.2/lib/fpc/2.0.2/units/i386-freebsd/rtl/cwstring.o(.text+0x460):
 undefined reference to `towlower'
/home/marc/fpc-2.0.2/lib/fpc/2.0.2/units/i386-freebsd/rtl/cwstring.o: In 
function `CWSTRING_UPPERWIDESTRING$WIDESTRING$$WIDESTRING':
/home/marc/fpc-2.0.2/lib/fpc/2.0.2/units/i386-freebsd/rtl/cwstring.o(.text+0x4e0):
 undefined reference to `towupper'
/home/marc/fpc-2.0.2/lib/fpc/2.0.2/units/i386-freebsd/rtl/cwstring.o: In 
function `CWSTRING_COMPAREWIDESTRING$WIDESTRING$WIDESTRING$$LONGINT':
/home/marc/fpc-2.0.2/lib/fpc/2.0.2/units/i386-freebsd/rtl/cwstring.o(.text+0x79c):
 undefined reference to `wcscoll'
lazarus.pp(113,1) Error: Error while linking
Error: /home/marc/fpc-2.0.2/bin/ppc386 returned an error exitcode (normal if 
you did not specify a source file to be compiled)
gmake[2]: *** [lazarus] Fehler 1

I were able to find at least towlower and towupper in the sources of
FreeBSD 5 and I'm asking myself how I can deal with that. The drawback
for me is, I'm nailed to version 4 for sime time.

My Questions:

Can the use of "cwstring" be switched off?

If not, what would be the most appropriate way of handling the missing
functions? (I'd tend to write them in pascal into an .inc included by
$ifdef-ing)

TIA,
Marc


_________________________________________________________________
     To unsubscribe: mail [EMAIL PROTECTED] with
                "unsubscribe" as the Subject
   archives at http://www.lazarus.freepascal.org/mailarchives

Reply via email to