[fpc-pascal] Re: Threads

Carsten Bager carsten at beas.dk
Tue Dec 12 15:41:00 CET 2006


Date sent:	Tue, 12 Dec 2006 15:33:22 +0100 (CET)
From:	Daniël Mantione <daniel.mantione at freepascal.org>
To:	FPC-Pascal users discussions <fpc-
pascal at lists.freepascal.org>
Subject:	Re: [fpc-pascal] Re: Threads
Send reply to:	FPC-Pascal users discussions <fpc-
pascal at lists.freepascal.org>
	<mailto:fpc-pascal-
request at lists.freepascal.org?subject=unsubscribe>
	<mailto:fpc-pascal-
request at lists.freepascal.org?subject=subscribe>

> 
> 
> 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.
> 
> Daniël

The compiler is told that it is a cross compile, so it dos not look in /lib
(fpc.cfg)
The symlinking is don on the target platform where the program runs.
Carsten
-- 
Carsten Bager
BEAS A/S
Brørupvænget 10
DK-7650 Bøvlingbjerg
Tlf. : +45 9788 5222 Fax : +45 9788 5434
www.beas.dk





More information about the fpc-pascal mailing list