> I appreciate all of your help.By the way,I looked
> under /usr/sfw/bin and there is a gcc binary in there
> but I can't run it(under root,doing a "./gcc" in
> /usr/sfw/bin gives me a no input file message) and

"no input files" is correct. Namely, you do need a C program to compile, as in:

gcc /blabla/bla/helloworld.c -o /tmp/helloworld

By the way, I would avoid using GCC unless you specifically need it; instead, 
I'd download and install the gratis Sun Studio 12 compilers. You will still 
need a C/C++/Fortran program to compile though (;-)

> even after adding the directory to my path in
> /etc/default/login and /etc/default/su ,"which gcc"
> still gives me a "no gcc found".This right after
> another install before downloading anything else,in
> other words a fresh install...what gives?

The easiest thing to do after updating those files is to log out and log back 
in. Upon logging in, /etc/default/login will be reread.

Posting the PATH= line from your /etc/default/login would also help with 
diagnostics.
 
 
This message posted from opensolaris.org
_______________________________________________
opensolaris-discuss mailing list
[email protected]

Reply via email to