[osol-discuss] Some confusion/comments
Sergio Enrique Schvezov
sergiusens at ieee.org
Mon Jun 2 04:09:58 PDT 2008
Haluk Durmus wrote:
> now i downloaded all 3.4 Gigs of blastwave pkgs.
> I put all on a usbstick and installed gcc3 using pkg-get.
> But when i try to use make it still wants to use /usr/sfw/bin/gcc and not
> the /opt/sfw/bin/gcc.
>
I have no idea what you're trying to do... but this will get gcc in
front of the one in /usr/...
$ export PATH=/opt/sfw/bin:$PATH
If you already added /opt/sfw/bin to your PATH make sure it precedes
/usr/sfw/bin
> I symlinked from /opt/sfw/bin/gcc to /usr/sfw/bin/gcc, but then the standart header files wasn't found ..
>
Don't do that!
> I installed the gmake of blastwave with the same result.
>
After the PATH is set, rerun configure, you can export CC to
/opt/csw/bin/gcc or use the configure switch to do that.
More information about the opensolaris-discuss
mailing list