![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Rules & FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| SUN Solaris The Solaris Operating System, usually known simply as Solaris, is a free Unix-based operating system introduced by Sun Microsystems . |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| A difficult script (for me) | DNAx86 | Shell Programming and Scripting | 2 | 01-07-2008 12:04 PM |
| difficult sed command | Dave724001 | UNIX for Advanced & Expert Users | 17 | 09-29-2006 02:11 AM |
| difficult time differences | Lokesha | SUN Solaris | 1 | 06-20-2006 07:42 AM |
| I need a pro*c complier.. | sarwan | High Level Programming | 4 | 09-02-2005 06:26 AM |
| checking of GNU C Complier version | jennifer | UNIX Desktop for Dummies Questions & Answers | 2 | 05-08-2002 05:30 AM |
|
|
LinkBack | Thread Tools | Display Modes |
|
|||
|
Finding difficult in installing gcc-3.4.6 complier on Solaris 10.
Hi All,
Can anyone help me in installing gcc-3.4.6 complier on Solaris 10. 1. I have downloaded the gcc-3.4.6.tar.gz from one of the free share 2. While downloading its is seen that it is renamed to gcc-3.4.6.tar.tar 3. On solaris machine I renamed it gcc-3.4.6.tar.gz from gcc-3.4.6.tar.tar 4. then I did gunzip gcc-3.4.6.tar.gz 5. then tar -xvf gcc-3.4.6.tar/*It looksit worked fine*/ 6. A directory called gcc-3.4.6 is created 7. Under this directory I created new directory called objdir 8. and ran ../configure from objdir I received the error called "You must set the environment variable CC to a working compiler" 9. hence I added the enviorment variable i.e first I added ; CC=cc;export cc did n't worked CC=/usr/local/cc;export cc; did n't worked CC=gcc;export cc ; no CC=gcc-3.4.6; export cc; no CC=/usr/local/gcc-3.4.6;export cc; did not worked. 10 Even I tried pkgadd -d gcc-3.4.6; I received an error. 11. I download the file on to /export/home/shared/gcc/ directory 12. Do I need to set any path? Please help me in installing gcc-3.4.6? Cheers John |
| Forum Sponsor | ||
|
|
|
||||
|
maybe you can use pkg-get:
How To Get Started with Blastwave.org - for Solaris 10 Users it`s a lot easier greets, DN2 |
|
|||
|
Download it from Sunfreeware
|
|
|||
|
gcc on solaris 8
I am trying to install gcc-3.4.6 and at the time for 'tar xvf gcc-3.4.6.tar' it give directory checksum error . For directory checksum error it's recommneded that I install gnu tar .However when I install gnu tar 1.17 , I get the following error .
=================== # cd tar-1.17 # ./configure checking for a BSD-compatible install... build-aux/install-sh -c checking whether build environment is sane... yes checking for a thread-safe mkdir -p... build-aux/install-sh -c -d checking for gawk... no checking for mawk... no checking for nawk... nawk checking whether make sets $(MAKE)... yes checking how to create a ustar tar archive... plaintar checking for gcc... no checking for cc... no checking for cl.exe... no configure: error: no acceptable C compiler found in $PATHSee `config.log' for more details. =============== How can I proceed ahead , tar requires C compiler and GCC can not be used with existing tar. What's the fastest way out to get this to work. We have C compiler in /usr/ucb and adding that to PATH too does not help . |