delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/30/01:42:29

From: "John M. Aldrich" <fighteer AT cs DOT com>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: getting c++ to work
Date: Sat, 29 Mar 1997 02:03:53 -0800
Organization: Two pounds of chaos and a pinch of salt
Lines: 42
Message-ID: <333CE909.4051@cs.com>
References: <3426746334 DOT 47686012 AT sbe DOT sudburyp DOT edu DOT on DOT ca>
Reply-To: fighteer AT cs DOT com
NNTP-Posting-Host: ppp215.cs.com
Mime-Version: 1.0
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Timothy_Robb AT sbe DOT sudburyp DOT edu DOT on DOT ca wrote:
> 
> I've been trying to get c++ support under djgpp v2 to work for quite
> some time now. I've installed gpp2721b.zip and lgp2721b.zip and
> compilation of .cc files work but linking doesn't work (with prorams
> that compile and link successfully under g++ for linux).
> 
> I've set the djgpp and path environment variables (c codes compiles
> and linkes fine).

You aren't giving nearly enough details.  The likeliest culprit is that
you haven't set up your environment correctly according to the
'readme.1st' file.  If you have done this, then the second most likely
culprit is that you're forgetting to link with the C++ libraries.  This
topic is also covered in the readme.  If neither of these helps, then
please post the following:

The code you are trying to compile, or at least a sample of it that
displays the errors.
The *EXACT* syntax you use to compile it.  If you're using RHIDE, please
say so.
A complete system report as described in the DJGPP Frequently Asked
Questions list (v2/faq210b.zip) chapter 6.12.  For that matter, reading
all of chapters 6 and 8 of the FAQ would probably help you out quite a
bit.

You may also want to try out my DJVERIFY utility, available at
<ftp://ftp.delorie.com/pub/djgpp/alpha/vrfy033a.zip>.  It allows you to
easily diagnose basic configuration problems, and even creates a system
report similar to the outline in the FAQ.

Good luck!

-- 
John M. Aldrich, aka Fighteer I <fighteer AT cs DOT com>

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS d- s+:- a-->? c++>$ U@>++$ p>+ L>++ E>++ W++ N++ o+>++ K? w(---)
O- M-- V? PS+ PE Y+ PGP- t+(-) 5- X- R+(++) tv+() b+++ DI++ D++ G>++
e(*)>++++ h!() !r !y+()
------END GEEK CODE BLOCK------

- Raw text -


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