On 28/01/19 16:19, conlin664 via fpc-pascal wrote:
when I don't try and call the C routine the number of unresolved objects is
only 213
compiler switches:
-TWin32 -va -Mfpc -vw -Sg -Ci -O1 -Cp386 -OpPENTIUM3 -Ratt -gl -p- -b-
I had -XS in there, but it doesn't seem to change anything.
So I'm just looking to static link external C code to a pascal program on a
windows machine
https://svn.freepascal.org/svn/fpc/trunk/tests/test/cg/tcalext.pp links
ctest.o from
https://svn.freepascal.org/svn/fpc/trunk/tests/test/cg/obj/win32/i386/,
which was compiled from
https://svn.freepascal.org/svn/fpc/trunk/tests/test/cg/obj/ctest.c
Jonas
_______________________________________________
fpc-pascal maillist - fpc-pascal@lists.freepascal.org
http://lists.freepascal.org/cgi-bin/mailman/listinfo/fpc-pascal