How to install GCC version 4.xx????

P

Philipina

Guest
Hello,

I have an iMac and I have to recompile a C application.
Gcc version installed is 3.3 and I need version 4.0.1 to be able to compile.
I don't understang how to install a new version.

Until now I did the following:
I have downloaded a tar file, untar it in a directory and execute the command "configure".
Here below is the result:
-------------------------------------------------------------
loading cache ./config.cache
checking host system type... powerpc-apple-darwin8.2.0
checking target system type... powerpc-apple-darwin8.2.0
checking build system type... powerpc-apple-darwin8.2.0
checking for a BSD compatible install... (cached) /usr/bin/install -c
checking whether ln works... (cached) yes
checking whether ln -s works... (cached) yes
checking for gcc... (cached) gcc
checking whether the C compiler (gcc ) works... yes
checking whether the C compiler (gcc ) is a cross-compiler... no
checking whether we are using GNU C... (cached) yes
checking whether gcc accepts -g... (cached) yes
checking for gnatbind... no
checking whether compiler driver understands Ada... (cached) no
checking how to compare bootstrapped objects... (cached) cmp --ignore-initial=16 $$f1 $$f2
checking for correct version of gmp.h... no
The following languages will be built: c,c++,java,objc
checking for bison... (cached) bison -y
checking for bison... (cached) bison
checking for gm4... (cached) gm4
checking for flex... (cached) flex
checking for flex... (cached) flex
checking for makeinfo... (cached) makeinfo
checking for expect... (cached) expect
checking for runtest... no
checking for powerpc-apple-darwin8.2.0-ar... (cached) ar
checking for powerpc-apple-darwin8.2.0-as... (cached) as
checking for powerpc-apple-darwin8.2.0-dlltool... no
checking for dlltool... no
checking for powerpc-apple-darwin8.2.0-ld... (cached) ld
checking for powerpc-apple-darwin8.2.0-lipo... (cached) lipo
checking for powerpc-apple-darwin8.2.0-nm... (cached) nm
checking for powerpc-apple-darwin8.2.0-ranlib... (cached) ranlib
checking for powerpc-apple-darwin8.2.0-strip... (cached) strip
checking for powerpc-apple-darwin8.2.0-windres... no
checking for windres... no
checking for powerpc-apple-darwin8.2.0-objcopy... no
checking for objcopy... no
checking for powerpc-apple-darwin8.2.0-objdump... no
checking for objdump... no
checking for powerpc-apple-darwin8.2.0-ar... (cached) ar
checking for powerpc-apple-darwin8.2.0-as... (cached) as
checking for powerpc-apple-darwin8.2.0-cc... (cached) cc
checking for powerpc-apple-darwin8.2.0-c++... (cached) c++
checking for powerpc-apple-darwin8.2.0-dlltool... no
checking for dlltool... no
checking for powerpc-apple-darwin8.2.0-gcc... (cached) gcc
checking for powerpc-apple-darwin8.2.0-gcj... no
checking for gcj... no
checking for powerpc-apple-darwin8.2.0-gfortran... no
checking for gfortran... no
checking for powerpc-apple-darwin8.2.0-ld... (cached) ld
checking for powerpc-apple-darwin8.2.0-lipo... (cached) lipo
checking for powerpc-apple-darwin8.2.0-nm... (cached) nm
checking for powerpc-apple-darwin8.2.0-objdump... no
checking for objdump... no
checking for powerpc-apple-darwin8.2.0-ranlib... (cached) ranlib
checking for powerpc-apple-darwin8.2.0-strip... (cached) strip
checking for powerpc-apple-darwin8.2.0-windres... no
checking for windres... no
checking where to find the target ar... host tool
checking where to find the target as... host tool
checking where to find the target cc... just compiled
checking where to find the target c++... just compiled
checking where to find the target c++ for libstdc++... just compiled
checking where to find the target dlltool... host tool
checking where to find the target gcc... just compiled
checking where to find the target gcj... just compiled
checking where to find the target gfortran... host tool
checking where to find the target ld... host tool
checking where to find the target lipo... host tool
checking where to find the target nm... host tool
checking where to find the target objdump... host tool
checking where to find the target ranlib... host tool
checking where to find the target strip... host tool
checking where to find the target windres... host tool
checking whether to enable maintainer-specific portions of Makefiles... no
checking if symbolic links between directories work... (cached) yes
creating ./config.status
creating Makefile
--------------------------------------------------


What do I have to do after this?

I real need help.

Thank in advance for your support.

----------------------------------------
Philipina

http://www.BiereMaison.be
---------------------------------------
 
Joined
Feb 14, 2004
Messages
4,781
Reaction score
166
Points
63
Location
Groves, Texas
It's:
./configure
make
sudo make install (sudo unless you're installing it in your home folder)

Far as I know, the only way to get gcc4 is to install the latest Xcode.
Or maybe Fink?
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top