gcc-g++-4.3.2.tar.gz

Kai Ruottu kai.ruottu@wippies.com
Thu Jan 15 16:11:00 GMT 2009


Franklyn Simon wrote:
> Hi,
> 
> I am trying to get the latest version of gcc-g++ compiler.  I downloaded 
> gcc-g++-4.3.2.tar.gz.  I want to use this compiler as a user to compile 
> C and C++ programs.

The "core package", 'gcc-core-4.3.2.tar.gz' of course should be
installed first, the 'g++' one only adds the C++ support...

> I uncompressed it in directory /opt/gcc-4.3.2.

Probably in '/opt' ?  The 'gcc-4.3.2/*' stuff should appear there.

BTW, the '/opt/gcc' is one suggested $prefix so using
'--prefix=/opt/gcc' in configure would mean installing
things into '/opt/gcc/bin', '/opt/gcc/$target', 
'/opt/gcc/lib/gcc/$target/4.3.2' and
'/opt/gcc/libexec/gcc/$target/4.3.2'...

The build itself could happen in '/opt/build' and configuring
there like :

   ../gcc-4.3.2/configure --prefix=/opt/gcc (and so on, use whatever
   options you would see being necessary for your specific target...)



More information about the Gcc-help mailing list