www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/15/10:47:42

From: matt DOT reece AT iname DOT com
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Questions
Date: Wed, 15 Jul 1998 14:29:15 GMT
Organization: Deja News - The Leader in Internet Discussion
Lines: 22
Message-ID: <6oiebr$j9q$1@nnrp1.dejanews.com>
References: <01bdafda$f1f15be0$051f1bc4 AT default>
NNTP-Posting-Host: 136.165.40.214
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp

In article <01bdafda$f1f15be0$051f1bc4 AT default>,
  "Jorge Ivan Meza Martinez" <jimeza AT usa DOT net> wrote:
> gxx verde.cc -o verde.exe -O2 -lgpp
>
> but, doesn't gxx include libgpp ?

I think gxx only includes the standard C++ library, libstdcxx, not libgpp,
which isn't standard C++. The standard includes a string class if you want to
use it. If you're using older code, you'll just have to remember to link with
-lgpp. As for why you have to use -O2, I don't have any idea. That seems
rather odd.

----------------------------------------
Matthew Reece
Reply to one of:
matt DOT reece AT iname DOT com
swarsmatt AT aol DOT com
mattreece AT my-dejanews DOT com
-----------------------------------------

-----== Posted via Deja News, The Leader in Internet Discussion ==-----
http://www.dejanews.com/rg_mkgrp.xp   Create Your Own Free Member Forum

- Raw text -


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