[fpc-pascal]uclibc in freepascal

Marco van de Voort marcov at stack.nl
Mon Jan 19 23:15:22 CET 2004

> > However why would you want another one? Either stay clear of libc (keep it static),
> > or use the vendor supplied one.
> My program uses a {$LINKLIB c} (or to be more precise... the inet unit),
> but I want to use uclibc as the program shuld run on an linux network
> router (--> www.fli4l.de ) and it uses uclibc as standart libc. 

As said there are two possibilities:

- not use libc, and patch inet to use syscalls.
- fix the startup code for uclibc.  (make a diff between the glibc one and the FPC one,
	and try to incorporate those differences into the uclibc one)

Startup code fixing is not funny, I suggest you go with the syscall method.

More information about the fpc-pascal mailing list