Build and install GCC-3.2.3


 
Thread Tools Search this Thread
Top Forums UNIX for Advanced & Expert Users Build and install GCC-3.2.3
# 1  
Old 05-23-2008
Build and install GCC-3.2.3

Hi,

I have problem to build the gcc-3.2.3. I downloaded the source code. Here is what I did.

1) cd /usr/local/src
2) tar zxf gcc-3.2.3.tar.gz
3) cd ..
4) mkdir gcc-3.2.3
5) cd gcc-3.2.3
6) ../src/gcc-3.2.3/configure --prefix=/usr/local/gcc-3.2.3/
7) make

And I received the below errors at the end:
Code:
make[1]: *** [read-rtl.o] Error 1
make[1]: Leaving directory `/usr/local/gcc-3.2.3/gcc'
make: *** [all-gcc] Error 2

Could someone please let me know what this error mean? I think there is some more errors at the beginning, but I can't copied that error. Also, are those errors log in somewhere? I tried to look at /var/log/messages, but didn't find much.. Please help.

Thanks in advance.

Last edited by Yogesh Sawant; 05-27-2008 at 03:23 AM.. Reason: added code tags
# 2  
Old 05-25-2008
Hey beeloo.. I didn't understood why you created a gcc-3.2.3 directory
and also from this dir why you running the installation...

Untar the tarball in /tmp or in your home directory... execute the configure script with prefix option..
Code:
./configure --prefix=/usr/local/gcc-3.2.3/

do everything till 'make install' in the source dir itself

I guess the make is finding object files under newly created gcc-3.2.3 directory that why you are getting this error

Last edited by Yogesh Sawant; 05-27-2008 at 03:26 AM.. Reason: added code tags
# 3  
Old 05-26-2008
What is your SO ?
Login or Register to Ask a Question

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. SuSE

Can't compile or install GCC

Hi all! I have posted in the Shell Programming Scripting Forum for a problem with the use of shc and so on... You can read it complete here: shell-programming-scripting/148510-problems-using-shc.html I think the problem is: that there aren't compiler installed on the SuSe 10.2 server,... (4 Replies)
Discussion started by: Magius
4 Replies

2. UNIX for Advanced & Expert Users

Install gcc with 750 permission

Hi All, I need gcc with permission 750, while installation itself. or how can i change the permission without using chmod command. My requirement is User and Group only use the gcc. since i am having ldap users. Thanks in advance. (1 Reply)
Discussion started by: rajamohan
1 Replies

3. Solaris

GCC install

well, i know wich GCC can be download by Manager package, easy! but I want install gcc "whith myself hands" I have gcc .tar and i cant install by console. after comand $make: erro ok! i dont have compiler, but i want install gcc! sorry my english... (6 Replies)
Discussion started by: Hyagosallet
6 Replies

4. AIX

How to install gcc compiler on AIX?

I want to install gcc compiler on aix box. $uname -a AIX GTMIT 3 5 000000000000 Can any one help me installing gcc compiler(step by step)either by smit or rpm commands ? What is boot straping ? Its urgent .. Thanks in advance (2 Replies)
Discussion started by: kittu1979
2 Replies

5. UNIX for Dummies Questions & Answers

gcc-3.4.4 build on solaris 10 failing please help

I am building gcc-3.4.4 on sol-10 and getting the following error. my configure is going well but failing in the build stage *** checking for windres... windres checking whether to enable maintainer-specific portions of Makefiles... no updating cache ./config.cache creating... (0 Replies)
Discussion started by: mobydick
0 Replies

6. AIX

The problem after install gcc on AIX 5.3

The problem after install gcc on AIX 5.3 I download 5 rpm packages from IBM AIX Toolbox Download Page - Alphabetical Listing and install them. rpm -ivh gcc-4.0.0-1.aix5.3.ppc.rpm rpm -ivh libgcc-4.0.0-1.aix5.3.ppc.rpm rpm -ivh libstdcplusplus-4.0.0-1.aix5.3.ppc.rpm rpm -ivh... (1 Reply)
Discussion started by: zither
1 Replies

7. Solaris

Install GCC on Solaris 8

Hi, I tried to install apache web server on solaris 8 and was prompted that i do not have any valid compiler. I tried to install GCC on solaris 8 using the command #pkgadd -d gcc-2.95.2-sol17-sparc-local (hit enter). May I know how I should set the environment variables to make it work... (1 Reply)
Discussion started by: sagolo
1 Replies

8. SuSE

How can I build gcc (gettng 'cc' error)?

Hi I have installed Suse Linux 9.3 desktop on my computer. I found out I need to install 'gcc', and I was able to download the source code. I then tried to follow some instructions from WEB search to compile and build gcc, and I am getting the following error: --- linux:/gcc/gcc-2.95.3 #... (1 Reply)
Discussion started by: pat_and_cami
1 Replies

9. Solaris

Can`t install gcc compiler

Hi, Installed the gcc compiler off the Solaris 9 Companion CD a while back , but needed to delete it due to disk space issues. Now that I have sorted out our root disk space I can`t reinstall the compiler. If I select all the packages off the Development/Languages menu , the install list... (3 Replies)
Discussion started by: markdr011
3 Replies

10. Linux

gcc install error

I download a gcc3.0.tar.gz file ,then tar it. Continue,I change current path to gcc3.0 and press ./configure The error appeared ,it is CC command not found . Please tell me What can I do to pass on. (1 Reply)
Discussion started by: fansings
1 Replies
Login or Register to Ask a Question