This is the latest version of our favorite compiler,
and is now available for download from ftp.gnu.org/pub/gnu/gcc.
I decided to try my hand at building it from source. I failed
on my first attempt: my system choked when trying to
"make libstdc++". This is the first time, in my many years
of building gcc from source, that I a gcc version failed to
build on my machine.
To save you the heartache and tears, if you do not want
to suffer through the agony that I went through, here is a
summary of what you need to do:
1. Install the latest versions of the build tools, specially
autoconf and automake.
2. Go through the usual three steps:
(1) mkdir gcc ; cd gcc
../gcc-3.4.0/configure <options>
(2) make <options> bootstrap
(3) make install
but make sure you include the configure option
--enable-maintainer-mode
When you finish, after an hour or so on a fast machine,
do not forget to make /usr/bin/cc a link to /usr/bin/gcc,
for otherwise, you have a spanking new gcc-3.4.0, but cc
is not linked to it.
Good luck!
PMana
--
Philippine Linux Users' Group (PLUG) Mailing List
[EMAIL PROTECTED] (#PLUG @ irc.free.net.ph)
Official Website: http://plug.linux.org.ph
Searchable Archives: http://marc.free.net.ph
.
To leave, go to http://lists.q-linux.com/mailman/listinfo/plug
.
Are you a Linux newbie? To join the newbie list, go to
http://lists.q-linux.com/mailman/listinfo/ph-linux-newbie