[Orca-users] which gcc, make on Solaris 10?

Cockcroft, Adrian acockcroft at ebay.com
Sat Sep 17 09:33:20 PDT 2005


On Solaris 10, I used /usr/sfw/bin and /opt/sfw/bin at the front of my path and used gmake CC=gcc
for some of the Sun demo code I was working on.

I think you have a mixture of solaris and gnu components causing your errors.

Adrian



-----Original Message-----
From:	orca-users-bounces+acockcroft=ebay.com at orcaware.com on behalf of Blair Zajac
Sent:	Fri 9/16/2005 9:07 PM
To:	Kraus, Niki
Cc:	orca-users at orcaware.com
Subject:	Re: [Orca-users] which gcc, make on Solaris 10?

Kraus, Niki wrote:
> Hello all,
> 
> can someone please tell me what is the best gcc/make package to build
> the Release "orca-snapshot-r456" on Solaris 10?
> 
> Should I use
> - Sun compiler pkg SUNWgcc 3.4.3
> - GNU C Compiler gcc-3.3.2-sol10-sparc-local from sunfreeware.com
> or 
> - gcc-3.4.3-csl-20050525 from blastwave.org
> 
> 
> The same question with make.
> 
> 
> Because .... I run into problems with make && gcc.
> 
> eg. {with SUNs gcc, SUNs make)
> # cd /var/spool/software/orca/orca-snapshot-r456
> # make
> ...
> /usr/ccs/bin/as: error: unknown option '-'
> /usr/ccs/bin/as: error: unknown option 't'
> /usr/ccs/bin/as: error: unknown option 'aditional-format'
> 
> 
> 
> or {with GNU gcc, GNU make}
> # cd /var/spool/software/orca/orca-snapshot-r456
> # ./install-with-all-its-options {OK!}
> # make
> ...
> gcc: unrecognized option `-KPIC'
> 
> Suns 'make' resides parallel with SUNWsprot, but in the PATH ~behind~
> /usr/local/bin.
> 
> So what is best practice??
> Thanks for your input.
> 
> --Nick

After changing any compiler and make, I would recommend deleting and 
uncompressing the orca tarball and then rerunning configure.  This 
should take care of some problems.

Well, I know that gcc and Gnu's make work on Linux.  The Make version 
shouldn't matter.  Just get your gcc compiler working and you should be 
fine.

Regards,
Blair
_______________________________________________
Orca-users mailing list
Orca-users at orcaware.com
http://www.orcaware.com/mailman/listinfo/orca-users







More information about the Orca-users mailing list