delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1999/08/11/22:50:29

From: Moogla <ngoldber AT lan DOT tjhsst DOT edu>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: can't get c++ files to compile
Date: Tue, 10 Aug 1999 22:55:00 -0400
Organization: MindSpring Enterprises
Lines: 24
Message-ID: <37B0E604.21D5@lan.tjhsst.edu>
References: <8E1EB0CD8foo AT news DOT island DOT net>
NNTP-Posting-Host: a5.f7.46.7a
Mime-Version: 1.0
X-Server-Date: 11 Aug 1999 02:57:06 GMT
X-Mailer: Mozilla 3.01 (Win95; I)
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019