* gcc/egcs/X 3.3.2 libs
@ 1998-05-09 1:35 Wes Nakamura
1998-05-09 16:00 ` Dave Gilbert
1998-05-09 16:22 ` Maciej W. Rozycki
0 siblings, 2 replies; 3+ messages in thread
From: Wes Nakamura @ 1998-05-09 1:35 UTC (permalink / raw)
To: axp-list
Hi, I have some questions regarding libraries.
I'm planning to upgrade to gcc 2.8.1 or egcs 1.0.2 (will probably try
both of them). Either should work with glibc-2.0.7 and libstdc++ 2.8.1,
right? (I'd have to compile libstdc++, as there doesn't seem to be any
rpms...) Would c++ work (as I understand it, the Redhat 5.0 c++ problem
was a lib problem, not a compiler problem)? I can't say I'm 100% clear
on the exact relationship between the compiler and lib projects. Any
problems compiling kernels (I need to compile a 2.1.x kernel)?
Also, I'm upgrading X to 3.3.2. I've found rpm's for everything but the
libs. I looked everywhere, but in the end I just used the 3.3.1 libs
since they had the same version numbers and I didn't feel like compiling
them. It seems to work fine, and I'm wondering if there really is such
a thing as "3.3.2" libs. What exactly does the version number 3.3.2
refer to anyway?
thanks,
-Wes.
## Wes Nakamura
## wknaka@pobox.com / wknaka@nakanet.net
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gcc/egcs/X 3.3.2 libs
1998-05-09 1:35 gcc/egcs/X 3.3.2 libs Wes Nakamura
@ 1998-05-09 16:00 ` Dave Gilbert
1998-05-09 16:22 ` Maciej W. Rozycki
1 sibling, 0 replies; 3+ messages in thread
From: Dave Gilbert @ 1998-05-09 16:00 UTC (permalink / raw)
To: Wes Nakamura; +Cc: axp-list
On Fri, 8 May 1998, Wes Nakamura wrote:
>
> Hi, I have some questions regarding libraries.
>
> I'm planning to upgrade to gcc 2.8.1 or egcs 1.0.2 (will probably try
> both of them). Either should work with glibc-2.0.7 and libstdc++ 2.8.1,
> right? (I'd have to compile libstdc++, as there doesn't seem to be any
> rpms...) Would c++ work (as I understand it, the Redhat 5.0 c++ problem
> was a lib problem, not a compiler problem)? I can't say I'm 100% clear
> on the exact relationship between the compiler and lib projects. Any
> problems compiling kernels (I need to compile a 2.1.x kernel)?
OK, where should I start.....
GCC 2.8.1 is a newer version of GCC; from the same guys, and thats all you
get - the compiler. Then you'll need to find a libstdc++ to go with it.
EGCS takes the development snapshots of GCC and works on them, releasing
snapshots every week or so and releases every couple of months. EGCS is a
lot more experimental than GCC; they have things like wacky optimisers and
stuff. EGCS optimisations eventually get merged into GCC.
EGCS is normally distributed with its own version of libstdc++ which
matches the compiler.
Which to use? Well if you want stability then use GCC; if you want the
leading edge then use EGCS. The leading edge can mean more performance,
bug fixes before they get into GCC - and potentially new and more unusual
bugs and problems. So its a trade off; sometimes you may find that EGCS
works where GCC 2.8.1 won;t because a bug fix has got in; sometimes hte
opposite because a new EGCS feature hasn't been tested fully yet. Having
said that, the EGCS guys are nice guys and tend to fix bugs fairly fast
when you give them a good bug report.
Dave
--------------------------------------------------------------------
/ Dr. David Alan Gilbert | Running Linux on Alpha & ARM \
\ gro.gilbert @ treblig.org | ------- Happy in hex ------- /
\____________________________|___ http://www.treblig.demon.co.uk __/
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: gcc/egcs/X 3.3.2 libs
1998-05-09 1:35 gcc/egcs/X 3.3.2 libs Wes Nakamura
1998-05-09 16:00 ` Dave Gilbert
@ 1998-05-09 16:22 ` Maciej W. Rozycki
1 sibling, 0 replies; 3+ messages in thread
From: Maciej W. Rozycki @ 1998-05-09 16:22 UTC (permalink / raw)
To: Wes Nakamura; +Cc: axp-list
On Fri, 8 May 1998, Wes Nakamura wrote:
> I'm planning to upgrade to gcc 2.8.1 or egcs 1.0.2 (will probably try
> both of them). Either should work with glibc-2.0.7 and libstdc++ 2.8.1,
> right? (I'd have to compile libstdc++, as there doesn't seem to be any
> rpms...) Would c++ work (as I understand it, the Redhat 5.0 c++ problem
> was a lib problem, not a compiler problem)? I can't say I'm 100% clear
> on the exact relationship between the compiler and lib projects. Any
> problems compiling kernels (I need to compile a 2.1.x kernel)?
Just a summary:
1. gcc 2.8.1. Compiles kernels (2.1.[89]x series) but does not compile
glibc (2.0.[567]).
2. egcs 1.0.2. Compiles glibc (2.0.7) but does not compile kernels
(2.1.9x series). Includes libstdc++ 2.8.0.
3. egcs 19980502 (snapshot). Compiles glibc (2.0.7) and kernels (2.1.99
and 2.1.100). Includes libstdc++ 2.8.0.
Currently I stick with the last option.
"Normal" programs, including shared libraries seem to compile well with
any of these three. I haven't compiled any C++ program since some time so
I cannot make comments on C++ behaviour.
If you like to experiment with binary RPMs, you may get the ones I use --
they are at 'ftp://ftp.amg.gda.pl/pub/OS/Linux/people/macro/'. There are
source RPMs, too, but beware their recompilation is quite
resource-consuming.
Maciej
--
+ Maciej W. Rozycki, Technical University of Gdansk, Poland +
+--------------------------------------------------------------+
+ e-mail: macro@ds2.pg.gda.pl, PGP key available +
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~1998-05-09 16:36 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1998-05-09 1:35 gcc/egcs/X 3.3.2 libs Wes Nakamura
1998-05-09 16:00 ` Dave Gilbert
1998-05-09 16:22 ` Maciej W. Rozycki
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox