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

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:05:57 -0800
Organization: Two pounds of chaos and a pinch of salt
Lines: 19
Message-ID: <333CE985.5121@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 set the djgpp and path environment variables (c codes compiles
> and linkes fine).

Sorry - I wasn't paying complete attention to your post.  Assuming
you've set the environment correctly, then make sure that you are in
fact linking the C++ libraries.  Add '-lgpp' to the end of your command
line, or use 'gxx' to link your program instead of 'gcc'.

-- 
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