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

What is gxx?

666 views
Skip to first unread message

Bas Hamstra

unread,
Jul 8, 1999, 3:00:00 AM7/8/99
to
What is the difference between gcc and gxx?

What are for a dos/win user the advantages and disadvantages between:

- gcc
- gxx
- egcs
- pgcc

Hope I do not overdo this questioning.

Last one: can I do threads in gcc?

Regards,
Bas Hamstra.


Martin Str|mberg

unread,
Jul 8, 1999, 3:00:00 AM7/8/99
to
Bas Hamstra (bas.h...@wxs.nl) wrote:
: What is the difference between gcc and gxx?

gcc is the C compiler and gxx is the C++ compiler. One significant
difference is that gxx will automagically link in the C++ runtime
library (libstdcxx.a)

This is actually described in FAQ 8.7.
.
: What are for a dos/win user the advantages and disadvantages between:
[Klippa, klapp, kluppit diffent gcc versions.]
Don't know.

: Hope I do not overdo this questioning.


:
: Last one: can I do threads in gcc?

Yes, I think so. Look in the v2tk directory.


Black Sabbath, Mob Rules,

MartinS

Nate Eldredge

unread,
Jul 8, 1999, 3:00:00 AM7/8/99
to dj...@delorie.com
Bas Hamstra wrote:
>
> What is the difference between gcc and gxx?

`gxx' is the same as `gcc ... -lstdcxx'. It links the C++ library for
you.

Otherwise they are identical. (In fact gxx is just a small program that
really calls gcc.)



> What are for a dos/win user the advantages and disadvantages between:
>

> - gcc
> - gxx
> - egcs
> - pgcc

GCC is the standard compiler for DJGPP, so you'll have a larger pool of
people with whom to share experiences. EGCS is supposedly
"experimental", but it is the anointed successor to GCC, and in my
experience EGCS releases are less buggy than GCC 2.8.1. C++ support is
also (reputedly-- I don't use C++ much) better.

I haven't heard much about PGCC in a while, and I don't know how alive
the project is these days. It sounds like EGCS is absorbing a lot of
their ideas.

I would probably do something like: Use gcc, if you have
compiler-related problems try egcs.

--

Nate Eldredge
na...@cartsys.com

Johan Venter

unread,
Jul 9, 1999, 3:00:00 AM7/9/99
to
>What are for a dos/win user the advantages and disadvantages between:
>
>- gcc

GCC is the GNU C Compiler. DJGPP uses a DOS port of this compiler and it's related
utilities.

>- gxx

GXX is just a wrapper around GCC that comes with DJGPP. All it does is add the C++
includes to the searchable directories and appends the options to link the C++ libraries
to the GCC command line. Then it calls GCC.

>- egcs

EGCS is the Experimental GNU Compiler System. It is a version of GCC to which new and
unstable features are continually being added. When GCC 3 is released, however, this
project will become merged with the main GCC development, and EGCS will cease to exist.

>- pgcc

PGCC is a pentium compiled version of GCC and includes many optimizations for pentium
processors. That's my understanding anyhow (though I've never used it).

>Last one: can I do threads in gcc?

In Linux, yes of course. With the DOS port of GCC, no.

--
Johan Venter
ICQ 3643877
Visit The TPU DJGPP Interest Group:
http://surf.to/djgppig


Richard Slobod

unread,
Jul 9, 1999, 3:00:00 AM7/9/99
to
"Johan Venter" <jve...@writeme.com> wrote:

>>Last one: can I do threads in gcc?
>
>In Linux, yes of course. With the DOS port of GCC, no.

Actually, there are a couple of multithreading implementations for DJGPP
(although there are thread-safeness issues with the libraries).

Alexander Bokovoy

unread,
Jul 10, 1999, 3:00:00 AM7/10/99
to Johan Venter
On 09.07.1999, Johan wrote:
>>Last one: can I do threads in gcc?
> In Linux, yes of course. With the DOS port of GCC, no.
You can use threads in DJGPP, though there are some limitations (but
main idea remains). Look, for example, in LWP or in PThreads
libraries. The latter one is the real Posix-compliant thread's library
and it is works with DJGPP. I wrote several fractal-related programs
that intensively use PThreads as a scheduling engine and found it very
comfortable.
PThreads site: ftp://ftp.cs.fsu.edu//pub/PART/PTHREADS
LWP is available at the usual DJGPP sites.

Best regards,
Alexander <bok...@minsk.lug.net>

0 new messages