[fpc-pascal] Re: Threads

Marco van de Voort marcov at stack.nl
Tue Dec 12 15:42:23 CET 2006

> Op Tue, 12 Dec 2006, schreef Carsten Bager:
> > The fpc program looks after the c lib loader. a command like this takes 
> > care of that
> >
> > ln -sf /lib/ld-uClibc-0.9.27.so /lib/ld-linux.so.2
> >
> > Now the program uses the ulibc loader.
> The compiler looks first for /lib/ld-linux.so.2, if this is found it 
> assumes glibc. Then it looks for /lib/ld-uClibc.so.0, if this is found 
> uclibc is assumed. Therefore, symlinking doesn't look like a good idea.

The dynlinker can be override using -FL. I hope this conditional code
respects that. Libraries can be overriden using the beta -XL support,
hardcoded library paths using -Xd and -Xr.

So the only problem remaining is the startup code.

More information about the fpc-pascal mailing list