You probably need to add /usr/local/bin to your PATH environment variable.

Why not use the gcc that comes with Solaris?

On Sun, Dec 19, 2010 at 21:42, Eric Chang <fly...@gmail.com> wrote:
> I just installed gcc.3.4.6 for Solaris 10.  It says that it was installed 
> successfully.  I have found that in the following directory.
>
> usr/local/bin/gcc
>
> However, when I try to compile my program using the following
> #gcc helloworld.c -o helloworld
>
> It gives me the following message
> gcc:not found
>
> Even I copy my helloworld.c under /usr/local/bin, it still gives me that 
> error message.  Could you please help me?  Thank you.
> --
> This message posted from opensolaris.org
> _______________________________________________
> opensolaris-discuss mailing list
> opensolaris-discuss@opensolaris.org
>



-- 
" ' With the first link, the chain is forged. The first speech
censured, the first thought forbidden, the first freedom denied,
chains us all irrevocably.' Those words were uttered by Judge Aaron
Satie as wisdom and warning... The first time any man's freedom is
trodden on we’re all damaged." - Jean-Luc Picard, quoting Judge Aaron
Satie, Star Trek: TNG episode "The Drumhead"
- Alex Smith (K4RNT)
- Murfreesboro, Tennessee USA
_______________________________________________
opensolaris-discuss mailing list
opensolaris-discuss@opensolaris.org

Reply via email to