www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/29/03:35:24

Date: Tue, 29 Dec 1998 10:35:32 +0200 (IST)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
X-Sender: eliz AT is
To: Michael Kangas <kangas AT anlon DOT com>
cc: djgpp AT delorie DOT com
Subject: Re: Install Input would be greatly appreciated.
In-Reply-To: <3688726F.33133C35@anlon.com>
Message-ID: <Pine.SUN.3.91.981229102746.15836U@is>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com

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 -


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