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.
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
`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
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
>>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).
Best regards,
Alexander <bok...@minsk.lug.net>