I've recently downloaded gpc (dos-djgpp) and tried running it. I used the sample hello world program included. I first tried doing this:
gpc.exe hello.pas
But it said it oculdn't open ld.exe or something "c:/djgpp/bin\ld.exe: cannot open -lgpc: No such file or directory (ENOENT)" Note the slashes ^
I'm assuming this is the executable you use, but I tried gpc1.exe:
gpc1.exe hello.pas
This worked fine, and the output was hello.s, an assembly file.
that's the current situation, I have a djgpp dir and a gpc dir on my computer, both with the included binaries and documentations.
So what's wrong, am I missing a parameter running gpc.exe, or do I need an assembler after gpc1.exe?
Mail privately or to the list...