delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1997/03/20/13:32:43

From: nitehawk91 AT aol DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: DJGPP C++ Compile problems...
Date: 19 Mar 1997 20:21:37 GMT
Organization: AOL Bertelsmann Online GmbH & Co. KG http://www.germany.aol.com
Lines: 17
Message-ID: <19970319202100.PAA11261@ladder01.news.aol.com>
NNTP-Posting-Host: ladder01.news.aol.com
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

Hello all !

This maybe a little bit off-topic, but I just have to ask this :

> In particular, when linking C++ programs, it recommends using
> gxx instead of gcc, because gxx searches all the relevant C++
> libraries (-lgpp is only one of them) and will prevent you from
> getting error messages from the linker saying that it didn't find some
> functions.

I thought gcc automatically links a program with gxx if the file name suffix is
.cc or .cpp ?
Shouldn't that include the neccesarry C++ librarys ? Please tell me if I'm wrong !
(I haven't done a lot of C++ yet, as I want to learn C first)


Matthias

- Raw text -


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