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_______________________________________________ fpc-pascal maillist - fpc-pascal@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-pascal