Re: [fpc-pascal] Re: Threads

2006-12-12 Thread Marco van de Voort
> > 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. Probably you can avoid this by a combinati

Re: [fpc-pascal] Re: Threads

2006-12-12 Thread Marco van de Voort
> 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

Re: [fpc-pascal] Re: Threads

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

Re: [fpc-pascal] Re: Threads

2006-12-12 Thread Daniël Mantione
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 fou

Re: [fpc-pascal] Re: Threads

2006-12-12 Thread Daniël Mantione
Op Tue, 12 Dec 2006, schreef Alexander Todorov: > > Date: Tue, 12 Dec 2006 10:04:48 +0100 > > From: "Carsten Bager" <[EMAIL PROTECTED]> > > > On the Arm Linux platform I am using a uLibC library > > instead of the normal C library (I do not think that this is the problem > > but ??) > > . > >

[fpc-pascal] Re: Threads

2006-12-12 Thread Alexander Todorov
Date: Tue, 12 Dec 2006 10:04:48 +0100 From: "Carsten Bager" <[EMAIL PROTECTED]> On the Arm Linux platform I am using a uLibC library instead of the normal C library (I do not think that this is the problem but ??) . How do you linked your binary to uLibC instead of standard libC ? You were cr

[fpc-pascal] Threads

2006-12-12 Thread Carsten Bager
I have written a small program that uses threads. It works on a 386 Linux, but I have some problems on the Arm Linux platform. The program routes a TCP connection to a serial port and if the TCP is not in use it can route UDP packets to the serial port return answers. The "sockets.Recv" return