Mail Archives: djgpp/1998/12/29/03:35:24
On Tue, 29 Dec 1998, Michael Kangas wrote:
> I can not however get C++ to work. I have
> used the following extensions( .cpp && .cc ).
Please make a point of reading the DJGPP FAQ list whenever you have any
problems, before posting here. The FAQ already covers a lot of frequent
problems like yours. The FAQ is available as v2/faq211b.zip from the
same place you got DJGPP.
> tried to compile in the following manners:
> gcc first.cpp
> &&
> gcc -c first.cpp
> gcc -o first.exe first.o
You need to use gxx instead of gcc to link C++ programs. See sections 1
and 8.7 of the FAQ.
> gcc281b.zip 1,307KB
> gpp2721.zip 666KB
> lgp271b.zip 624KB
BAD idea! You are mixing GCC 2.8.1 with C++ compiler and libraries from
version 2.7.2.1. Again, section 8.7 of the FAQ explains this. Please
upgrade to gpp281b.zip and lgp2811b.zip.
> I am using NT 4.0.
Make sure you unzip the packages with a DOS unzip program, not with
WinZip, for example. See section 8.2 of the FAQ.
- Raw text -