setting up gpc
Fri, 11 Apr 1997 15:40:03 -0700
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...
--
Compliments of:
_-_-_-_-_-_-_-_
Alan Bailey
mailto:bailala@mw.sisna.com
IRC: Abalone
Web: http://www.mw.sisna.com/users/bailala/
Alan Bailey (bailala@mw.sisna.com)
HTML conversion by Lluís de Yzaguirre i Maura
Institut de Lingüística Aplicada -
Universitat "Pompeu Fabra"
e-mail: de_yza@upf.es