www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/1998/07/15/09:02:03

Date: Wed, 15 Jul 1998 16:01:50 +0300 (IDT)
From: Eli Zaretskii <eliz AT is DOT elta DOT co DOT il>
To: Jorge Ivan Meza Martinez <jimeza AT usa DOT net>
cc: djgpp AT delorie DOT com
Subject: Re: Questions
In-Reply-To: <01bdafda$f1f15be0$051f1bc4@default>
Message-ID: <Pine.SUN.3.91.980715155206.12215B-100000@is>
MIME-Version: 1.0


On Wed, 15 Jul 1998, Jorge Ivan Meza Martinez wrote:

> gxx verde.cc -o verde.exe -O2 -lgpp
> 
> but, doesn't gxx include libgpp ?

It depends where did your gxx.exe come from.  If it's from gpp281b.zip, 
then I think it doesn't.  gxx.exe from djdev201.zip (which is an entirely 
different program) *does* link in libgpp.

Personally, I think it's *very* unfortunate that gpp281b.zip called 
another program by the same name gxx.exe.  It confuses people, since the 
FAQ and README.1ST mention gxx.exe as well, but they mean gxx.exe from 
djdev201.  I think gpp281b.zip should rename it to gpp.exe instead.

> and why I need to use -O2, I understand that this is an optimization
> parameter, but if I take it off, the linker cannot find String
> constructors/destructors; something similar with -lgpp.

This is explained in the FAQ (section 8.10): some functions are declared 
inline on the headers which define them, and don't have compiled versions 
inside the library.  But inlining is disabled unless you use -O, so your 
program winds up without these functions, and the linker complains.

> *  can anyone explain me what is the proposit of emacs editor ?

Emacs isn't just an editor, it's a programming environment and a way of 
life ;-).

> is it good ?

Extremely good, and full of features.

> easy to learn and to use ?

You need to invest some time in reading the tutorial and learn how to use 
the help system.  After that, you shouldn't have problems.

- Raw text -


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