www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/12/02/08:41:19

Message-Id: <199812021329.NAA17084@remus.clara.net>
From: "Arthur" <arfa AT clara DOT net>
To: "DJGPP Mailing List" <djgpp AT delorie DOT com>
Subject: RE: gcc and g++ problem
Date: Wed, 2 Dec 1998 13:28:09 -0000
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook 8.5, Build 4.71.2173.0
In-Reply-To: <Pine.SUN.3.91.981202105002.24125J-100000@is>
X-Mimeole: Produced By Microsoft MimeOLE V4.72.3110.3
Importance: Normal
Reply-To: djgpp AT delorie DOT com

> > Then why can I compile a file with the .cc or .cpp extension
> using gxx but
> > not with gcc? It doesn't work on my system, not unless I specify that my
> > file has to link with -lstdcxx.
>
> You are mixing compilation with linking.  Linking C++ programs without
> explicitly mentioning -lstdcxx on the command line is indeed
> impossible with gcc, whereas gxx does that for you.

I stand corrected.

James Arthur - jaa AT arfa DOT clara DOT net
http://www.arfa.clara.net/james/
ICQ#15054819


- Raw text -


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