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 |
Isn't gcc installed in /usr/sfw/bin/gcc as it is in Solaris 10? Also make should be installed at /usr/ccs/bin/make.
|
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 hope this helps |
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? |
how to install gcc in solaris express developers edition
but i am not getting in my terminal when i am typing gcc
simply is it saying gcc command not found mena s that gcc is installed into my system or not |
You just have to get your environment variable $PATH set correctly or use the full path to gcc.
Type `/usr/sfw/bin/gcc` or put /usr/sfw/bin in your PATH. |
how to install gcc in solaris express developers edition
thank you...thanks a lot..its working ..working.....once thanks you friend
|
All times are GMT -5. The time now is 08:24 PM. |