how to install gcc in solaris express developers edition
Solaris / OpenSolarisThis forum is for the discussion of Solaris, OpenSolaris, OpenIndiana, and illumos.
General Sun, SunOS and Sparc related questions also go here. Any Solaris fork or distribution is welcome.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
how to install gcc in solaris express developers edition
hi
i was unable to install gcc in sxde
i have got error which says
Make:fatal error command failed for target `all-gcc`
i searched a lot in internet but no helo..at lost i got headache
so please help guys..its urgent
Distribution: gentoo, xubuntu, opensuse, solaris 10, opensolaris, centos
Posts: 12
Rep:
yeah
gcc is in /usr/sfw/bin/gcc
what exactly are you trying to build? does it require gmake?
gmake is located in /usr/sfw/bin/gmake
also, depending on what youre trying to build and how, you may need to specify the location of GCC, try setting CC=/usr/sfw/bin/gcc
and MAKE=/usr/sfw/bin/gmake
Distribution: Solaris 9 & 10, Mac OS X, Ubuntu Server
Posts: 1,197
Rep:
What I typically do is just set CC=gcc, make sure my PATH includes the directories where gcc and gmake are, make sure the directories in the path are in the order I want so that, for example, /usr/sfw/bin gets checked before, say, /usr/ccs/bin, and then make sure I always say `gmake` rather than `make`.
On the other hand, I haven't typically built gcc itself. I've gotten gcc from sunfreeware in the past, and, now, on my T5220's with Solaris 10, I'm using the cooltools version which is a gcc front end to the Sun compilers.
Why are you building gcc when you already have it?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.