On Thu, 20 Jul 2006, Marco van de Voort wrote:


You need to link to the C library as well.

So, add

{$linklib c}

_Never_ add linklib c or linklib gcc directly, always work via unit initc.
That's what it is for.

I thought the compiler did this automatically when it detects a link to the C library ?

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

Reply via email to