delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2000/03/11/12:35:51

From: Jason Green <news AT jgreen4 DOT fsnet DOT co DOT uk>
Newsgroups: comp.os.msdos.djgpp
Subject: Re: Where is C++ documentation ?
Date: Sun, 12 Mar 2000 15:54:05 +0000
Organization: Customer of Planet Online
Lines: 86
Message-ID: <54dncs4tu4td9g0944va8vh5pl3qij2idk@4ax.com>
References: <B8ACB0CA1B76FC59 DOT 38509A587E91FDE1 DOT 0CE4676962DB5DF7 AT lp DOT airnews DOT net> <1E179F7B5379E399 DOT B4CDD0E7ABCD937D DOT 22956A8136D6F4A1 AT lp DOT airnews DOT net> <6aglcsgmm415lcgo0ckgposn91ccjf2h82 AT 4ax DOT com> <40E265D39FECA578 DOT D563ACA88931F81A DOT 6E514172E0B45B5E AT lp DOT airnews DOT net>
NNTP-Posting-Host: modem-59.doxycycline.dialup.pol.co.uk
Mime-Version: 1.0
X-Trace: newsg4.svr.pol.co.uk 952790635 26386 62.136.91.59 (11 Mar 2000 16:03:55 GMT)
NNTP-Posting-Date: 11 Mar 2000 16:03:55 GMT
X-Complaints-To: abuse AT theplanet DOT net
X-Newsreader: Forte Agent 1.7/32.534
To: djgpp AT delorie DOT com
DJ-Gateway: from newsgroup comp.os.msdos.djgpp
Reply-To: djgpp AT delorie DOT com

Rodeo Red <rodeored AT netstep DOT net> wrote:

> > > Or maybe its totally different and there's documentation for djgpp's c++
> > > soemwhere else but I just haven't found it yet. I assumed it would be in
> > > the info files, like the documentation for C is.
> > 
> > info iostream
> 
> 
> Very interesting. Do you know how many times I tried to find that from
> the menu ? 
> If I go up from "info iostream" I get the menu. Usually that means I can
> choose one of the items on the menu to get back down to where I came
> from. So I'm really baffled why there's not an item called "The GNU C++
> Iostream Library" on the menu. 

On my system it is listed as:

}From lgpNNNb.zip
}
}* iostream: (iostream).
}        The C++ input/output facility (in libstdcxx.a or libiostream.a).
}
}* libgpp: (libgpp).
}        The g++ class library.
}

If you don't have that then probably your installation is not up to
date.  If you don't have libgpp installed then that link won't work
but the link to the iostream info page should work without libgpp
installed.

> > GCC is the GNU Compiler Collection (it used to be the GNU C Compiler)
> 
> Is that a yes or a no ? What the heck is a compiler collection ? Is the

There are GNU compilers for other languages, such as Fortran and
Pascal, these make up the collection.  But when people talk about gcc
they usually mean the C Compiler.

> thangeramarang for pixle boballobers. I'm not saying its not a good
> page. Maybe someone can recommend a beginner's compiler book or
> something like that to get me up to speed.   

It depends what you need to get up to speed with.  If you really mean
the compiler then the FAQ, the DJGPP homepages and this group are the
best places to read.  If you mean the C/C++ language then that is
something else.

> Is "GXX documentation", "GPP documentation" and "GNU documentation" all
> the exact same thing as "djgpp documentation"? Does GNU documentation
> for C++ apply to GPP ? Yes ? No ? Maybe ? Sometimes ? Almost ?  

All of the above. ;-)

> > In Unix/Linux you would normally use the command gcc to run the C
> > compiler and g++ to run the C++ compiler.
> > 
> > But in DOS, g++ in not a valid filename, so instead the C++ compiler
> > is called gpp (gxx works too, for compatibility with older versions).
> 
> I have read this sort of thing lots of times, and it makes it sound as
> if the two are absolutely interchangable, But there must be some
> difference, because I
> can compile with gpp just fine, but if I change it to gxx I get : 
> c:/djgpp/bin/ld.exe: cannot open -lgpp: No such file or directory
> (ENOENT)
> 
> What's it mean ?  

This is confirmation that you have an older version of DJGPP
installed.  The gxx from djdev202 links with the GNU C++ library
(libgpp), which you do not seem to have installed.  gpp links with the
standard C++ library (libstdcxx), which is part of the gpp package.

I'm not sure what difference (if any) there is between gxx and gpp for
the current versions, but gxx no longer complains if it can't find
libgpp.

You should use the ZIP-Picker to get the latest versions and install
these, then you will have the info files you are looking for and many
bug fixes too.  It would be a good idea to wipe out your DJGPP
directory before you install to prevent problems mixing versions.

BTW, you shouldn't need to download libgpp unless you need to support
some old code which uses features from the g++ class library.

- Raw text -


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