New To Mac-Forums?

Welcome to our community! Join the discussion today by registering your FREE account. If you have any problems with the registration process, please contact us!

Get your questions answered by community gurus Advice and insight from world-class Apple enthusiasts Exclusive access to members-only contests, giveaways and deals

Join today!

 
Start a Discussion
 

Mac-Forums Brief

Subscribe to Mac-Forums Brief to receive special offers from Mac-Forums partners and sponsors

Join the conversation RSS
OS X - Development and Darwin Discussion and questions about development for Mac OS X.

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


Post Reply New Thread Subscribe

 
Thread Tools
Philipina
Guest
 
Posts: n/a

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
---------------------------------------
QUOTE Thanks
cradom

 
cradom's Avatar
 
Member Since: Feb 14, 2004
Location: Nederland, Texas
Posts: 2,885
cradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud ofcradom has much to be proud of
Mac Specs: 21in iMac core2 Duo- 13in macbook - 10.9 on both

cradom is offline
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?

Craig Domingue - resident redneck.
QUOTE Thanks

Post Reply New Thread Subscribe


« retrieving and changing the ip address | Missing Manifest »
Thread Tools

Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off
Forum Jump

Similar Threads
Thread
Thread Starter
Forum
Replies
Last Post
Powerbook 520 - OS Install Help S1lver Running Windows (or anything else) on your Mac 6 06-25-2006 01:18 PM
gcc and g++ fedesuarez OS X - Operating System 4 02-01-2006 02:50 PM
OS9 Install Problem in Panther - HELP! Big Beard OS X - Operating System 2 01-07-2004 11:00 PM
GCC Version Selection anthonyqkiernan OS X - Development and Darwin 0 01-04-2004 03:03 PM

All times are GMT -4. The time now is 07:50 AM.

Powered by vBulletin
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
X

Welcome to Mac-Forums.com

Create your username to jump into the discussion!

New members like you have made this community the ultimate source for your Mac since 2003!


(4 digit year)

Already a member?