Mail Archives: djgpp/1999/08/11/22:50:29
Julian Evans wrote:
>
> Hello all, i am trying (and failing) to compile c++ files with DJGPP
> I have just downloaded all the files from the Zip - Picker on the DJGPP web
> site, and i did pick the C++ files option. When i try to compile files i
> get this error:
> C:\mygames>gxx test.cpp -o test.exe
> gxx.exe: installation problem, cannot exec `as': No such file or directory
> (ENOENT)
>
There are few paths/environment variables to setup in your autoexec.bat
so that DJGPP can find all the files it needs to run. These are:
SET DJGPP=D:\DJGPP_PATH\DJGPP.ENV
Where D: is the drive DJGPP resides on, and DJGPP_PATH is it's path.
You should also change your path (at the end of autoexec.bat)
SET PATH=D:\DJGPP_PATH\BIN;%PATH%
This will add DJGPP's bin directory (where all the executables are)
to your path. This way you can call them from anywhere.
Note that these instructions also appear in the README.1st file in
DJGPP's root directory, and as instructions on the ZipPicker page
after choosing all your options. When in doubt, READ THE INSTRUCTIONS.
moogla
- Raw text -