Mail Archives: djgpp/1997/05/24/13:48:18
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 -