Re: [fpc-pascal]uclibc in freepascal

2004-01-19 Thread Michael . VanCanneyt
On Mon, 19 Jan 2004, Marco van de Voort wrote: > > > However why would you want another one? Either stay clear of libc (keep it > > > static), > > > or use the vendor supplied one. > > > > My program uses a {$LINKLIB c} (or to be more precise... the inet unit), > > but I want to use uclibc as

Re: [fpc-pascal]uclibc in freepascal

2004-01-19 Thread Olaf Leidinger
Thank's a lot, Marco and Sebastian! I'll have a try! Ciao, Olaf ___ fpc-pascal maillist - [EMAIL PROTECTED] http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Re: [fpc-pascal]uclibc in freepascal

2004-01-19 Thread Marco van de Voort
> > However why would you want another one? Either stay clear of libc (keep it static), > > or use the vendor supplied one. > > My program uses a {$LINKLIB c} (or to be more precise... the inet unit), > but I want to use uclibc as the program shuld run on an linux network > router (--> www.fli4l.d

Re: [fpc-pascal]uclibc in freepascal

2004-01-19 Thread Sebastian Günther
Olaf Leidinger schrieb: Hello! Is it possible to use another libc in my pascal programs? I'm currently working on this as well. At the moment it works with a modified compiler for me, but it should be possible to integrate this into the official compiler sources. When using i386-linux-uclibc-

Re: [fpc-pascal]uclibc in freepascal

2004-01-19 Thread Olaf Leidinger
Hello! > However why would you want another one? Either stay clear of libc (keep it static), > or use the vendor supplied one. My program uses a {$LINKLIB c} (or to be more precise... the inet unit), but I want to use uclibc as the program shuld run on an linux network router (--> www.fli4l.de )

Re: [fpc-pascal]uclibc in freepascal

2004-01-19 Thread Marco van de Voort
> Is it possible to use another libc in my pascal programs? Yes, but you probably have to patch it yourself. (startup files, any anomalies) E.g. win32 can use msvcrt with some tricks (while also mingw and cygwin are possible) > When using i386-linux-uclibc-ld (by editing ppas.sh) I get a linki

[fpc-pascal]uclibc in freepascal

2004-01-19 Thread Olaf Leidinger
Hello! Is it possible to use another libc in my pascal programs? When using i386-linux-uclibc-ld (by editing ppas.sh) I get a linking error. /usr/lib/fpc/1.9.2/units/linux/rtl/cprt21.o(.text+0x38): In function `_start': : undefined reference to `__libc_start_main' Ciao, Olaf __

[fpc-pascal]Heaptrc output

2004-01-19 Thread Vincent Snijders
Hi, I get the following output from heaptrc: Heap dump by heaptrc unit 2039 memory blocks allocated : 38500/42552 2039 memory blocks freed : 38464/42504 0 unfreed memory blocks : 36 True heap size : 262144 (96 used in System startup) True free heap : 261856 Should be : 262000 I don't how to i