LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Solaris / OpenSolaris (https://www.linuxquestions.org/questions/solaris-opensolaris-20/)
-   -   Not buying Sun Studio. gcc? cc? (https://www.linuxquestions.org/questions/solaris-opensolaris-20/not-buying-sun-studio-gcc-cc-293475/)

bleah 02-22-2005 12:49 PM

Not buying Sun Studio. gcc? cc?
 
I just installed Solaris 10 for SPARC. There's no compiler. Am I missing something?

I'm definitely not buying Sun Studio. So I figure I'll get gcc. But how do I build it without an existing compiler/linker/assembler?

I just want to build an Apache module. Suggestions? Thanks.

technopark02 02-22-2005 01:04 PM

>> I just installed Solaris 10 for SPARC. There's no compiler. Am I missing something?

There's an optional companion CD with GNU C/C++ compilers and some other tools we need. Download the following CD image as well from Sun's web site and install the tools you need:
Solaris 10 Companion CD, Multi-language (sol-10-ccd-GA-sparc-iso.zip, 428.60 MB)

Simply mount the CD image on Solaris file system with "lofiadm" utility of Solaris and then run installer. Detailed instructions are here: http://technopark02.blogspot.com/200...-image-on.html

bleah 02-22-2005 01:37 PM

Thanks. I knew I was missing something.

bathory 02-22-2005 04:28 PM

You can also download what you need from sunfreeware and then use pkgadd to install it.


All times are GMT -5. The time now is 01:12 AM.