Kevan Hashemi wrote:
I have installed gpc on my MacOS 10.2.6 computer. I have the following makefile, which makes executable glue out of main.c and foobar.p.function Foobar(x:longint):longint;
A further note. Issues regarding linking Pascal and C in general are demonstrated in gpc_c_pas.pas and c_gpc.pas in the demos folder (probably /Developer/Pascal/gpc33d6/doc/gpc/demos).
Regards,
Adriaan van Os