Solaris 10 - C Compiler ?

  • Follow


Hi,

We have recenltly installed Solaris 10, it doesn't seem to have a C 
compiler.

Is this right ?

Can we install a C compiler from the dist CD's ?

Or do we need to get gcc and install that ?

TIA

Tim


-- 
Tim Burton					
Senior Technical Consultant
Forward Computers Ltd, Nottingham, UK. http://www.forward-comp.co.uk
E-mail : tim<at>forward-comp.co.uk

This message is intended for the use of the person(s) ("The intended 
recipient(s)") to whom it is addressed. It may contain information, 
which is privileged and confidential within the meaning of applicable 
law. If you are not the intended recipient then please contact the 
sender as soon as possible. The views expressed in this communication 
may not necessarily be the views held by Forward Computers Limited.
0
Reply Tim 3/30/2006 9:43:01 AM

Tim Burton <tim.burton@forward-comp.co.uk> writes:

>We have recenltly installed Solaris 10, it doesn't seem to have a C 
>compiler.

>Is this right ?

A full install has /usr/sfw/bin/gcc

>Can we install a C compiler from the dist CD's ?

>Or do we need to get gcc and install that ?

gcc is provided; the free Sun compiler can be downloaded from
www.sun.com.  (Pick downloads, Developer tools, Sun Studio 11)

Casper
0
Reply Casper 3/30/2006 10:13:04 AM


Tim Burton wrote:
> Hi,
> 
> We have recenltly installed Solaris 10, it doesn't seem to have a C 
> compiler.
> 
> Is this right ?
> 
> Can we install a C compiler from the dist CD's ?
> 
> Or do we need to get gcc and install that ?

is it so hard to browse sun web?

http://developers.sun.com/prodtech/cc/index.jsp

toomas
-- 
Research is to see what everybody else has seen, and think what nobody
else has thought.
0
Reply Toomas 3/30/2006 11:09:45 AM

On Thu, 30 Mar 2006, Tim Burton wrote:

> We have recenltly installed Solaris 10, it doesn't seem to have a C compiler.
> 
> Is this right ?

No.  Gcc is installed in /usr/sfw.

But I would recommend you download and install SUn's Studio 11.  It produces
better code than gcc, has more powerful tools, and is free.

> This message is intended for the use of the person(s) ("The intended
> recipient(s)") to whom it is addressed. It may contain information, which is
> privileged and confidential within the meaning of applicable law. If you are
> not the intended recipient then please contact the sender as soon as possible.
> The views expressed in this communication may not necessarily be the views
> held by Forward Computers Limited.

These sorts of wordy disclaimers are a meaningless waste of bandwidth.

-- 
Rich Teer, SCNA, SCSA, OpenSolaris CAB member

President,
Rite Online Inc.

Voice: +1 (250) 979-1638
URL: http://www.rite-group.com/rich
0
Reply Rich 3/30/2006 7:13:07 PM

Casper H.S. Dik wrote:

> Tim Burton <tim.burton@forward-comp.co.uk> writes:
> 
> 
>>We have recenltly installed Solaris 10, it doesn't seem to have a C 
>>compiler.
> 
> 
>>Is this right ?
> 
> 
> A full install has /usr/sfw/bin/gcc
> 
> 
>>Can we install a C compiler from the dist CD's ?
> 
> 
>>Or do we need to get gcc and install that ?
> 
> 
> gcc is provided; the free Sun compiler can be downloaded from
> www.sun.com.  (Pick downloads, Developer tools, Sun Studio 11)
> 
> Casper

Thanks.

Tim
0
Reply Tim 3/31/2006 12:53:53 PM

Rich Teer wrote:
> On Thu, 30 Mar 2006, Tim Burton wrote:
> 
>> We have recenltly installed Solaris 10, it doesn't seem to have a C compiler.
>>
>> Is this right ?
> 
> No.  Gcc is installed in /usr/sfw.
> 
> But I would recommend you download and install SUn's Studio 11.  It produces
> better code than gcc, has more powerful tools, and is free.
> 
>> This message is intended for the use of the person(s) ("The intended
>> recipient(s)") to whom it is addressed. It may contain information, which is
>> privileged and confidential within the meaning of applicable law. If you are
>> not the intended recipient then please contact the sender as soon as possible.
>> The views expressed in this communication may not necessarily be the views
>> held by Forward Computers Limited.
> 
> These sorts of wordy disclaimers are a meaningless waste of bandwidth.
> 
.... and is also a hell of a lot bloody quicker !
I only found out last week that Sun are giving this as a free download 
and since using it have noticed a distinct lack of compilation errors !
After a nightmare free week I realise I would gladly pay for it !

Jim
0
Reply Jim 4/2/2006 12:40:59 AM

Jim <me@here.com> wrote:
> Rich Teer wrote:
....
>> But I would recommend you download and install SUn's Studio 11.  It produces
>> better code than gcc, has more powerful tools, and is free.

Rich Teer, of course, is noted for his technical work on compilers...

>> These sorts of wordy disclaimers are a meaningless waste of bandwidth.

;-)

> I only found out last week that Sun are giving this as a free download 
> and since using it have noticed a distinct lack of compilation errors !

hmm - sounds like you've noticed Sun's compilers noted lack of error checking.
(you'll fit in well with the opensolaris groupies).

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
0
Reply Thomas 4/4/2006 8:11:09 PM

Thomas Dickey wrote:
> 
>>I only found out last week that Sun are giving this as a free download 
>>and since using it have noticed a distinct lack of compilation errors !
> 
> 
> hmm - sounds like you've noticed Sun's compilers noted lack of error checking.
> (you'll fit in well with the opensolaris groupies).
> 
Care to elaborate?  If anything, Sun CC is too pedantic.

-- 
Ian Collins.
0
Reply Ian 4/4/2006 8:58:29 PM

Ian Collins <ian-news@hotmail.com> wrote:
> Thomas Dickey wrote:
>> 
>>>I only found out last week that Sun are giving this as a free download 
>>>and since using it have noticed a distinct lack of compilation errors !
....
>> hmm - sounds like you've noticed Sun's compilers noted lack of error checking.
>> (you'll fit in well with the opensolaris groupies).
>> 
> Care to elaborate?  If anything, Sun CC is too pedantic.

The thread's about cc, not CC.

Sun CC diagnostics are (comparing with other C++ compilers) in the middle of
the pack.

-- 
Thomas E. Dickey
http://invisible-island.net
ftp://invisible-island.net
0
Reply Thomas 4/5/2006 12:34:43 AM

8 Replies
920 Views

(page loaded in 0.093 seconds)

Similiar Articles:













7/22/2012 1:22:17 AM


Reply: