I'm using the example I saw in the GNU pascal documentation on how to link pascal with C (calling a C function from pascal). The example uses "asmname", which I know very little about.
When I compile the .pas file, I get a slew of errors saying: comma missing after identifier `Asmname' parse error before character constant
(that shows up once for every line I have asmname on...
when I add the --automake option to the gpc command line, it also tells me that it can't execute my program (no such file or directory). I can't compile without automake because for some reason gpc isn't able to find any valid units without it (omitting it gives me "module/unit interface `Gpc' could not be imported").
can anyone help out? -Nic