Hi Angelyn,

   It indicates that /usr/sfw/bin directory is not included in your
   environment "PATH".

   Check following:

     for Bourne Shell or Korn Shell
     ------------------------------
       $ echo $PATH

     for C Shell
     -----------
       % printenv PATH


   If /usr/sfw/bin is not in the results, include it into your path:

     for Bourne Shell or Korn Shell
     ------------------------------
       $ PATH=$PATH:/usr/sfw/bin
       $ export PATH

     for C Shell
     -----------
       % set path = ($path /usr/sfw/bin)


   Then you can use gcc and g++ ... maybe.
   Google it if you are interested in Shell !

Thanks,
hajime


Angelyn V. Dilim wrote:
> Hi Hajime,
> 
> Thank you for the information. I tried to look at this directory and its
> there. When I tried to run gcc or g++ I am getting an error gcc:not found
> and g++ not found may I ask what is the right command.
> 
> I'll probably use the compiler installed on Solaris 10 but I just dont know
> the syntax
> 
> THanks,
> Angelyn
> 
> 
> 
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of hajime suzuci
> Sent: Tuesday, August 30, 2005 4:12 PM
> To: Solaris-Users mailing list
> Subject: Re: [Solaris-Users] Solaris 10 X86
> 
> 
> Hi Angelyn,
> 
>     I am not a expert...
> 
>     GCC is in /usr/sfw/bin/gcc on Solaris 10. G++ is also in the same
>     directory. You can use GCC as C Compiler, G++ as C++ Compiler.
>     They are bundled in Solaris 10.
>     Do you want to use other compiler ? ... or more greater than 3.4 ?
> 
> Regards,
> hajime,
> 
> Angelyn V. Dilim wrote:
> 
>>Hi Solaris Experts,
>>
>>I would like to ask some help. I am just a beginner to Solaris, I have
>>installed Solaris 10 on one of our X86 machines. 4 discs from the Sun
>>websites. The installation is complete no problems on the installation.
> 
> Now
> 
>>we're doing some programming and I need to use a compiler say GCC using
> 
> this
> 
>>Solaris machine. I would like to ask for some advise if what software will
> 
> I
> 
>>download from Sun so I can be able to use a compiler for C or C++.
>>
>>Thanks,
>>Angelyn
>>_______________________________________________
>>Solaris-Users mailing list
>>[email protected]
>>http://www.filibeto.org/mailman/listinfo/solaris-users
> 
> _______________________________________________
> Solaris-Users mailing list
> [email protected]
> http://www.filibeto.org/mailman/listinfo/solaris-users
> 
> _______________________________________________
> Solaris-Users mailing list
> [email protected]
> http://www.filibeto.org/mailman/listinfo/solaris-users
_______________________________________________
Solaris-Users mailing list
[email protected]
http://www.filibeto.org/mailman/listinfo/solaris-users

Reply via email to