Hi Angelyn,
Do you use Solaris 10 as root user ?
It is "~/.profile" if you use Solaris as non-root user.
But as root user, it is "/.profile".
When there are no ".profile", create it or copy from
"/etc/skel/local.profile".
Regards,
hajime
Angelyn V. Dilim wrote:
> /.profile is available on Solaris 9 but on Solaris 10 there are no .profile
> files
>
> -----Original Message-----
> From: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Behalf Of hajime suzuci
> Sent: Wednesday, August 31, 2005 12:27 PM
> To: Solaris-Users mailing list
> Subject: Re: [Solaris-Users] Solaris 10 X86
>
>
> Hi Angelyn,
>
> The command line is volatile syntax, so you cannot use gcc after logging
> in again.
> Permanent syntax is adding the volatile syntax into "~/.profile" file.
> And you logged out -> log in, you can use gcc using just "gcc" on your
> command line.
> Check it out !
>
> When I saw same problem, I googled it to find the answer.
> First, google it ! (i.e. ksh command not found)
> Second, ask to your friends !
> Third, post to ML !
> OK ?
>
> For Debugger, it is not bundled.
> But you can download it from "http://www.gnu.org/software/gdb/gdb.html".
> And compile it !
> Then you can use the debugger "gdb" !
>
> Thanks,
> hajime
>
>
> Angelyn V. Dilim wrote:
>
>>Hi Hajime and all Solaris Users,
>>
>>I have use the following below to use the compiler included in the Solaris
>>10 and it works but when I tried to log out and log in again I cannot use
>>again the gcc. I would type again the things below so it will work. My
>>question is how to permanent this settings.
>>
>> for Bourne Shell or Korn Shell
>> ------------------------------
>> $ PATH=$PATH:/usr/sfw/bin
>> $ export PATH
>>
>>On the other hand, since the Solaris 10 has its bundled compiler does it
>>also includes the debugger? If it has then where is its directory located?
>>
>>Thank you very much for your support.
>>
>>Thanks,
>>Angelyn
>>
>>
>>-----Original Message-----
>>From: [EMAIL PROTECTED]
>>[mailto:[EMAIL PROTECTED] Behalf Of hajime suzuci
>>Sent: Tuesday, August 30, 2005 5:13 PM
>>To: Solaris-Users mailing list
>>Subject: Re: [Solaris-Users] Solaris 10 X86
>>
>>
>>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
>>
>>_______________________________________________
>>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