Elementary problems with gcc 3.0.2 installation

Andrea 'Fyre Wyzard' Bocci fwyzard@inwind.it
Thu Nov 8 15:51:00 GMT 2001


>
>I am intending to install gcc 3.0.2 onto a Solaris 2.8 operating system. I was
>told to download the files needed from
>
>ftp://aeneas.mit.edu/pub/gnu/gcc/gcc-3.0.2/
>
>Could somebody help me with the following questions relating to the 
>instructions
>on
>
>http://gcc.gnu.org/install/download.html
>
>a) In the instructions it states "The full distribution includes the C, C++,
>Objective-C, Fortran, Java, and CHILL compilers" I only want the C compiler.
>Which files exactly do I need to download to get only the C compiler?

I think ftp://aeneas.mit.edu/pub/gnu/gcc/gcc-3.0.2/gcc-core-3.0.2.tar.gz 
will be just fine.

>b) In the instructions it states "If you choose to download specific 
>components,
>you must download the core GCC distribution". What does this mean?

This means that if you want, ie. Objective C, you need 
ftp://aeneas.mit.edu/pub/gnu/gcc/gcc-3.0.2/gcc-objc-3.0.2.tar.gz IN 
ADDITION TO ftp://aeneas.mit.edu/pub/gnu/gcc/gcc-3.0.2/gcc-core-3.0.2.tar.gz.

>c) Is there a specific location for me to download the files (eg. /var, /etc
>....)

No, you can put where you like.

>d) Does "unpacking" mean uncompressing? If so, where should the uncompressed
>files go?

Same as above. Eg:
wget ftp://aeneas.mit.edu/pub/gnu/gcc/gcc-3.0.2/gcc-objc-3.0.2.tar.gz
tar -xvvzf gcc-objc-3.0.2.tar.gz

Then you should configure it to build in a different location, eg:
(after the above)
mkdir build-3.0.2
cd build-3.0.2
../gcc-3.0.2/configure <options>

See http://gcc.gnu.org/install/configure.html and 
http://gcc.gnu.org/install/build.html for more infos.

fwyzard







More information about the Gcc-help mailing list