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 the program shuld run on an linux network
> > router (--> www.fli4l.de ) and it uses uclibc as standart libc. 
> 
> As said there are two possibilities:
> 
> - not use libc, and patch inet to use syscalls.

That is not possible. inet uses gethostent() etc, which is not a kernel
call.

To remove the dependency on Libc, use the netdb unit. It has the same
functionality as inet, but you don't depend on the C library at all: It is
written in pascal. 

Unless you use libc somewhere else in your code as well, this should solve
your problem.

Michael.

_______________________________________________
fpc-pascal maillist  -  [EMAIL PROTECTED]
http://lists.freepascal.org/mailman/listinfo/fpc-pascal

Reply via email to