Date sent:      Tue, 12 Dec 2006 15:33:22 +0100 (CET)
From:   Daniël Mantione <[EMAIL PROTECTED]>
To:     FPC-Pascal users discussions <fpc-
[EMAIL PROTECTED]>
Subject:        Re: [fpc-pascal] Re: Threads
Send reply to:  FPC-Pascal users discussions <fpc-
[EMAIL PROTECTED]>
        <mailto:fpc-pascal-
[EMAIL PROTECTED]>
        <mailto:fpc-pascal-
[EMAIL PROTECTED]>

>
>
> 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


_______________________________________________
fpc-pascal maillist  -  fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to