www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/05/24/13:48:18

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Inability to compile with gcc.
Date: Sat, 24 May 1997 11:03:41 +0000
Organization: Two pounds of chaos and a pinch of salt
Lines: 49
Message-ID: <3386CB0D.37DC@cs.com>
References: <33869ECA DOT 1C11 AT tiac DOT net>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp108.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Claude Sassine wrote:
> 
> gcc.exe: installation problem, cannot exec `as': No such file or
> directory (ENOENT).

You need to get 'v2gnu/bnu27b.zip' as well as the other required
packages.  For C++, the minimum is:

v2/readme.1st		Readme
v2/djdev201.zip		development environment 
v2gnu/bnu27b.zip	binutils (as, ld, ar, nm, etc.)
v2gnu/gcc2721b.zip	C compiler
v2gnu/gpp2721b.zip	C++ compiler
v2gnu/lgp271b.zip	C++ headers and libraries
v2misc/csdpmi3b.zip	DPMI host for MS-DOS

I highly recommend these additional packages:

v2/faq210b.zip		Frequently Asked Questions
v2gnu/mak375b.zip	GNU Make
v2gnu/txi390b.zip	documentation reader (type "info")
v2apps/rhide12b.zip	Borland-style IDE

To compile a C++ program, use the following commands (capitalization is
important):

(One step compilation)
gxx -o prog.exe prog.cc

(One step compilation with warnings, optimization, and debugging)
gxx -Wall -O -g -o prog.exe prog.cc

(Two step compilation)
gcc -c prog.cc
gxx -o prog.exe prog.o

(Two step compilation with warnings, optimization, and debugging)
gcc -c -Wall -O -g prog.cc
gxx -o prog.exe prog.o

Please read the readme file in its entirety, and chapter 6 of the FAQ,
if you have any further problems.

-- 
---------------------------------------------------------------------
| John M. Aldrich, aka Fighteer I  |     mailto:fighteer AT cs DOT com     |
| Plan:  To find ANYONE willing to |   http://www.cs.com/fighteer   |
| play Descent 2 on DWANGO!        | Tagline: <this space for rent> |
---------------------------------------------------------------------

- Raw text -


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