[fpc-pascal]uclibc in freepascal

Sebastian G√ľnther sguenther at gmx.de
Mon Jan 19 23:05:00 CET 2004

Olaf Leidinger schrieb:
> Hello!
> Is it possible to use another libc in my pascal programs? 

I'm currently working on this as well. At the moment it works with a 
modified compiler for me, but it should be possible to integrate this 
into the official compiler sources.

> When using i386-linux-uclibc-ld (by editing ppas.sh) I get a linking
> error. 
> /usr/lib/fpc/1.9.2/units/linux/rtl/cprt21.o(.text+0x38): In function
> `_start':
> : undefined reference to `__libc_start_main'

change all __libcXXX names to __uClibcXXX and it should link fine.

- Sebastian

More information about the fpc-pascal mailing list