Visit Our UNIX and Linux User Community


GCC install


 
Thread Tools Search this Thread
Operating Systems Solaris GCC install
# 1  
Old 08-11-2009
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...
# 2  
Old 08-11-2009
Try /usr/ccs/bin/make
Or possibly /usr/xpg4/bin/make

If it still doesn't work, post the exact error and we can have another try Smilie
# 3  
Old 08-11-2009
May be am I missing something but this looks pointless. How would you compile gcc without a compiler already installed ?
# 4  
Old 08-11-2009
GCC comes with a simplistic bootstrap compiler, no problem there, but it's way easier if you have a local copy of 'make' (which thankfully Solaris does even without a real compiler) to build the commandline correctly.
# 5  
Old 08-12-2009
Can you give more information/pointers to documentation about that simplistic bootstrap compiler that is included in your tar file ? Where did you get that tar file ?
# 6  
Old 08-12-2009
I do download GCC-3.0.4.tar.gz
open console:
i give command su,after i use the command cd /export/home/hyago/Desktop
how to unpack of the correct way? and install?
I can unpack but when i write make
i need step by step.first experience with UNIX, i use Ubuntu and Debian and Windows(hehe!).

sorry my english
I have 15 years old, and in high school they do not teach English of truth 8(.
# 7  
Old 08-12-2009
There is no bootstrap compiler included in that tar.gz file. I'm afraid you misunderstand how bootstrapping gcc works.

Previous Thread | Next Thread

10 More Discussions You Might Find Interesting

1. AIX

Problems to install gcc 7.2 on AIX 7.2

We need gcc 7.2 on AIX 7.2 and so I tried to install the rpm package from IBM (<https://www-03.ibm.com/systems/power/software/aix/linux/toolbox/alpha.html>) The steps were as follows (I downloaded all packages from the given IBM toolbox page): # :-)rpm -ihv gcc-7.2.0-1.aix7.2.ppc.rpm error:... (2 Replies)
Discussion started by: BuSchu
2 Replies

2. AIX

Unable to install gcc in AIX 5.3

Hello... I have downloaded RPM for gcc in a directly where I tried installing using rpm but it says the following /oracle/dB>rpm -iv gcc-4.2.0-3.aix5.3.ppc.rpm failed to open /var/opt/freeware/lib/rpm/packages.rpm: Permission denied error: cannot open... (4 Replies)
Discussion started by: shahnazurs
4 Replies

3. 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

4. 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

5. 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

6. UNIX for Advanced & Expert Users

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... (2 Replies)
Discussion started by: beeloo
2 Replies

7. 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

8. 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

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

Featured Tech Videos