Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SUN Solaris (SPARC) gcc Compile Options ?

Status
Not open for further replies.

OhNoNotAgain

Programmer
May 21, 2003
6
AU
Hello all,

I have developed some code on a SUN Solaris 9 Sparc box, I want to produce a binary from this code that will also execute on Solaris 7 & 8 boxes and on both 32 and 64 bit machines.

I am using gcc to compile the code, can I have some recommendations on the best compile options to use please.

Thanks all.

--
====================================================

,-_|\
/ \ Dave - Technical Specialist
\_,-\_/ Sydney, Australia.
v

====================================================

"Tie Me Kangaroo Down Sport" - Rolf Harris
 
Why the need to run the same executable on so many different machines. It's sure to be a big compromise between the bottom end and the top end.

Or put another way, why can't you compile different executables (from the same source) with the compiler flags tuned for that particular architecture.

--
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top