Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Please give short overview... gcc, g++, cc, gpp...

542 views
Skip to first unread message

Matthias Pigulla

unread,
Sep 17, 1998, 3:00:00 AM9/17/98
to
Hi folks,

I was just trying to compile a mysql c++ library as I found out that you
have to use g++ 2.8 for it.

This was two days ago, and by now I think I have to give up. I hoped I
would be able just to install the new version just as I did with the old
one - a binary file in my linux distribution :-).

It seems to me as if I am incapable of getting the point, but please try
to explain:
What is gcc? cc? g++? gpp? Are they part of the same package, or
different things?

What role do std libraries play? They are not part of the compiler
package, right? What is stdlibc++? libc?

So, to put all questions together: What packages do I have to fetch and
install to have an up-to-date c and c++ compiler? Can I somewhere get
linux binaries or a linux package update?
(Currently, I think I am running GNU CC 2.7.1 or so, having obsolete (?)
c++ stdlibs, e.g. there are no forwarding header files for iostream
etc.)

Thanks for your help,
Matthias


Henning Saggau

unread,
Sep 18, 1998, 3:00:00 AM9/18/98
to
On Thu, 17 Sep 1998, Matthias Pigulla wrote:

> Hi folks,
>
> I was just trying to compile a mysql c++ library as I found out that you
> have to use g++ 2.8 for it.
>
> This was two days ago, and by now I think I have to give up. I hoped I
> would be able just to install the new version just as I did with the old
> one - a binary file in my linux distribution :-).

Wich one do you use? I suppose its SuSE, hu? Tey are using rpm but i dont
know if there is a package for gcc-2.8.1. If there is one, its very easy
just with rpm -U

>
> It seems to me as if I am incapable of getting the point, but please try
> to explain:
> What is gcc? cc? g++? gpp? Are they part of the same package, or
> different things?

gcc is your c compiler. cc is a link to gcc. g++ is a "wrapper" for gcc to
compile c++ programms. gpp is your *pre*processor.


>
> What role do std libraries play? They are not part of the compiler
> package, right? What is stdlibc++? libc?

Without them nothing will work.
The name shows you everything. You know know every c++ program needs some
libs (stdlib++). And every program (also those written in c++) need the
libc.


>
> So, to put all questions together: What packages do I have to fetch and
> install to have an up-to-date c and c++ compiler? Can I somewhere get
> linux binaries or a linux package update?
> (Currently, I think I am running GNU CC 2.7.1 or so, having obsolete (?)
> c++ stdlibs, e.g. there are no forwarding header files for iostream
> etc.)

You can find out with gcc -v. Here it looks this way:
# gcc -v
Reading specs from /usr/lib/gcc-lib/i486-linux/2.7.2.1/specs
gcc version 2.7.2.1

>
> Thanks for your help,
> Matthias
>
>
>

^-- $
Henning Saggau Hans-Meerwein-Str.
Institut fuer Physikalische-, 35032 Marburg
Kern und Makromolekulare Chemie Germany
Tel.: (49)6421-28 2369 Fax: (49)6421-28 8916


Message has been deleted
0 new messages