[fpc-pascal] Libnodave on linux
Jonas Maebe
jonas.maebe at elis.ugent.be
Fri Feb 4 21:04:40 CET 2011
On 04 Feb 2011, at 20:44, Jeppe Johansen wrote:
> Try to do a fpc -k-lc testISO_TCP.pas
>
> That should instruct the linker to link libc too
That's a very bad way to link libc, because afaik it bypasses all compiler detections for the fact that you are linking to that library (and doing so requires using different startup code). Instead, either add {$linklib c} to the source, or add the "initc" unit to the uses clause.
Jonas
More information about the fpc-pascal
mailing list