Solution (Was "Sun cc")

From: sandrewz (sandrewz@yahoo.com)
Date: Thu Mar 20 2003 - 00:20:51 EST


This solution seems like the best summary for setting
up GCC:

> I removed the '###' so it's set for GCC
> put that in your .profile or whatever shell you use
> and adjust if
> needed.
>
> # Sun C 64-bits
> ### CC=/opt/SUNWspro/bin/cc
> ### CFLAGS="-fast -xarch=v9"
> ### CXX=/opt/SUNWspro/bin/CC
> ### CXXFLAGS="-fast -xarch=v9"
> ### LDFLAGS="-s -xarch=v9"
>
> # Sun C 32-bits
> ### CC=/opt/SUNWspro/bin/cc
> ### CFLAGS="-O"
> ### CXX=/opt/SUNWspro/bin/CC
> ### CXXFLAGS="-O"
> ### LDFLAGS="-s"
>
> # GCC
> CC=/opt/sfw/bin/gcc
> CFLAGS="-O"
> CXX=/opt/sfw/bin/g++
> CXXFLAGS="-O"
> LDFLAGS="-s"
>
> export CC CFLAGS CXX CXXFLAGS LDFLAGS

And here is a good link for what is exactly going on:

> http://www.geocities.com/paedalbu/compile

Thanks for everyone's help.

steve
Yahoo! Platinum - Watch CBS' NCAA March Madness, live on your desktop!
http://platinum.yahoo.com
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:02 EDT