Re: [fpc-pascal] usage of {$FPC_USE_LIBC}

2006-07-18 Thread Marc Santhoff
Am Dienstag, den 18.07.2006, 21:34 +0200 schrieb Marco van de Voort: > > Am Dienstag, den 18.07.2006, 15:42 +0200 schrieb Marco van de Voort: > > > > > > *dir functions are special. These are (3) functions and are done by an own > > > probably not 100% compat implementation in syscall ports. > >

Re: [fpc-pascal] usage of {$FPC_USE_LIBC}

2006-07-18 Thread Marco van de Voort
> Am Dienstag, den 18.07.2006, 15:42 +0200 schrieb Marco van de Voort: > > > > *dir functions are special. These are (3) functions and are done by an own > > probably not 100% compat implementation in syscall ports. > > I'll go looking there, thanks. > > ... has this changed recently? I looked a

Re: [fpc-pascal] usage of {$FPC_USE_LIBC}

2006-07-18 Thread Marc Santhoff
Am Dienstag, den 18.07.2006, 15:42 +0200 schrieb Marco van de Voort: > > I'm talking about the function "readdir_r" existing at least on bsd's > > and on newer linux. > > *dir functions are special. These are (3) functions and are done by an own > probably not 100% compat implementation in syscal

Re: [fpc-pascal] usage of {$FPC_USE_LIBC}

2006-07-18 Thread Marco van de Voort
> Am Dienstag, den 18.07.2006, 09:39 +0200 schrieb Marco van de Voort: > > > Note that using libc has some advantages too, I list some in > > http://www.stack.nl/~marcov/unixrtl.pdf which was the original design doc > > for the Unix reform. > > I read this and browsed the source back and forth an

Re: [fpc-pascal] usage of {$FPC_USE_LIBC}

2006-07-18 Thread Marc Santhoff
Am Dienstag, den 18.07.2006, 09:39 +0200 schrieb Marco van de Voort: > Note that using libc has some advantages too, I list some in > http://www.stack.nl/~marcov/unixrtl.pdf which was the original design doc > for the Unix reform. I read this and browsed the source back and forth and to be honest

Re: [fpc-pascal] usage of {$FPC_USE_LIBC}

2006-07-18 Thread Marco van de Voort
> I read http://www.freepascal.org/wiki/index.php/OS_aware_RTL > > and wonder when {$FPC_USE_LIBC} is set and how the decision is made? For *nix the main advantage of syscalls is that the avg small binary holds better in time, not in the least the compiler itself. Also crosscompiling these basic

Re: [fpc-pascal] usage of {$FPC_USE_LIBC}

2006-07-18 Thread Marco van de Voort
> You can enable it for most (all?) *nix'es by compiling the rtl with > OPT="-dFPC_USE_LIBC" I haven't tested this recently. ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal] usage of {$FPC_USE_LIBC}

2006-07-17 Thread Marc Santhoff
Am Montag, den 17.07.2006, 22:06 +0200 schrieb Michael Van Canneyt: > > On Mon, 17 Jul 2006, Marc Santhoff wrote: > > > Hi, > > > > I read http://www.freepascal.org/wiki/index.php/OS_aware_RTL > > > > and wonder when {$FPC_USE_LIBC} is set and how the decision is made? > > In the Makefile.fpc

Re: [fpc-pascal] usage of {$FPC_USE_LIBC}

2006-07-17 Thread Jonas Maebe
On 17 Jul 2006, at 22:06, Michael Van Canneyt wrote: I read http://www.freepascal.org/wiki/index.php/OS_aware_RTL and wonder when {$FPC_USE_LIBC} is set and how the decision is made? In the Makefile.fpc for the platform. It's added to the compiler options. And if you meant "how we made t

Re: [fpc-pascal] usage of {$FPC_USE_LIBC}

2006-07-17 Thread Michael Van Canneyt
On Mon, 17 Jul 2006, Marc Santhoff wrote: > Hi, > > I read http://www.freepascal.org/wiki/index.php/OS_aware_RTL > > and wonder when {$FPC_USE_LIBC} is set and how the decision is made? In the Makefile.fpc for the platform. It's added to the compiler options. Michael. __

[fpc-pascal] usage of {$FPC_USE_LIBC}

2006-07-17 Thread Marc Santhoff
Hi, I read http://www.freepascal.org/wiki/index.php/OS_aware_RTL and wonder when {$FPC_USE_LIBC} is set and how the decision is made? TIA, Marc ___ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fp