Forums
New posts
Articles
Product Reviews
Policies
FAQ
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Menu
Log in
Register
Install the app
Install
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
How to install GCC version 4.xx????
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Philipina" data-source="post: 202967"><p>Hello,</p><p></p><p>I have an iMac and I have to recompile a C application.</p><p>Gcc version installed is 3.3 and I need version 4.0.1 to be able to compile.</p><p>I don't understang how to install a new version.</p><p></p><p>Until now I did the following:</p><p>I have downloaded a tar file, untar it in a directory and execute the command "configure".</p><p>Here below is the result:</p><p>-------------------------------------------------------------</p><p> loading cache ./config.cache</p><p>checking host system type... powerpc-apple-darwin8.2.0</p><p>checking target system type... powerpc-apple-darwin8.2.0</p><p>checking build system type... powerpc-apple-darwin8.2.0</p><p>checking for a BSD compatible install... (cached) /usr/bin/install -c</p><p>checking whether ln works... (cached) yes</p><p>checking whether ln -s works... (cached) yes</p><p>checking for gcc... (cached) gcc</p><p>checking whether the C compiler (gcc ) works... yes</p><p>checking whether the C compiler (gcc ) is a cross-compiler... no</p><p>checking whether we are using GNU C... (cached) yes</p><p>checking whether gcc accepts -g... (cached) yes</p><p>checking for gnatbind... no</p><p>checking whether compiler driver understands Ada... (cached) no</p><p>checking how to compare bootstrapped objects... (cached) cmp --ignore-initial=16 $$f1 $$f2</p><p>checking for correct version of gmp.h... no</p><p>The following languages will be built: c,c++,java,objc</p><p>checking for bison... (cached) bison -y</p><p>checking for bison... (cached) bison</p><p>checking for gm4... (cached) gm4</p><p>checking for flex... (cached) flex</p><p>checking for flex... (cached) flex</p><p>checking for makeinfo... (cached) makeinfo</p><p>checking for expect... (cached) expect</p><p>checking for runtest... no</p><p>checking for powerpc-apple-darwin8.2.0-ar... (cached) ar</p><p>checking for powerpc-apple-darwin8.2.0-as... (cached) as</p><p>checking for powerpc-apple-darwin8.2.0-dlltool... no</p><p>checking for dlltool... no</p><p>checking for powerpc-apple-darwin8.2.0-ld... (cached) ld</p><p>checking for powerpc-apple-darwin8.2.0-lipo... (cached) lipo</p><p>checking for powerpc-apple-darwin8.2.0-nm... (cached) nm</p><p>checking for powerpc-apple-darwin8.2.0-ranlib... (cached) ranlib</p><p>checking for powerpc-apple-darwin8.2.0-strip... (cached) strip</p><p>checking for powerpc-apple-darwin8.2.0-windres... no</p><p>checking for windres... no</p><p>checking for powerpc-apple-darwin8.2.0-objcopy... no</p><p>checking for objcopy... no</p><p>checking for powerpc-apple-darwin8.2.0-objdump... no</p><p>checking for objdump... no</p><p>checking for powerpc-apple-darwin8.2.0-ar... (cached) ar</p><p>checking for powerpc-apple-darwin8.2.0-as... (cached) as</p><p>checking for powerpc-apple-darwin8.2.0-cc... (cached) cc</p><p>checking for powerpc-apple-darwin8.2.0-c++... (cached) c++</p><p>checking for powerpc-apple-darwin8.2.0-dlltool... no</p><p>checking for dlltool... no</p><p>checking for powerpc-apple-darwin8.2.0-gcc... (cached) gcc</p><p>checking for powerpc-apple-darwin8.2.0-gcj... no</p><p>checking for gcj... no</p><p>checking for powerpc-apple-darwin8.2.0-gfortran... no</p><p>checking for gfortran... no</p><p>checking for powerpc-apple-darwin8.2.0-ld... (cached) ld</p><p>checking for powerpc-apple-darwin8.2.0-lipo... (cached) lipo</p><p>checking for powerpc-apple-darwin8.2.0-nm... (cached) nm</p><p>checking for powerpc-apple-darwin8.2.0-objdump... no</p><p>checking for objdump... no</p><p>checking for powerpc-apple-darwin8.2.0-ranlib... (cached) ranlib</p><p>checking for powerpc-apple-darwin8.2.0-strip... (cached) strip</p><p>checking for powerpc-apple-darwin8.2.0-windres... no</p><p>checking for windres... no</p><p>checking where to find the target ar... host tool</p><p>checking where to find the target as... host tool</p><p>checking where to find the target cc... just compiled</p><p>checking where to find the target c++... just compiled</p><p>checking where to find the target c++ for libstdc++... just compiled</p><p>checking where to find the target dlltool... host tool</p><p>checking where to find the target gcc... just compiled</p><p>checking where to find the target gcj... just compiled</p><p>checking where to find the target gfortran... host tool</p><p>checking where to find the target ld... host tool</p><p>checking where to find the target lipo... host tool</p><p>checking where to find the target nm... host tool</p><p>checking where to find the target objdump... host tool</p><p>checking where to find the target ranlib... host tool</p><p>checking where to find the target strip... host tool</p><p>checking where to find the target windres... host tool</p><p>checking whether to enable maintainer-specific portions of Makefiles... no</p><p>checking if symbolic links between directories work... (cached) yes</p><p>creating ./config.status</p><p>creating Makefile</p><p>--------------------------------------------------</p><p></p><p></p><p>What do I have to do after this?</p><p></p><p>I real need help.</p><p></p><p>Thank in advance for your support.</p><p></p><p>----------------------------------------</p><p>Philipina </p><p></p><p><a href="http://www.BiereMaison.be" target="_blank">http://www.BiereMaison.be</a></p><p>---------------------------------------</p></blockquote><p></p>
[QUOTE="Philipina, post: 202967"] 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 [url]http://www.BiereMaison.be[/url] --------------------------------------- [/QUOTE]
Verification
Post reply
Forums
macOS & iOS Developer Playground
macOS - Development and Darwin
How to install GCC version 4.xx????
Top