[rescue] compiling GNUish software with Sun Studio 11
Jonathan C. Patschke
jp at celestrion.net
Mon Oct 23 20:17:48 CDT 2006
On Mon, 23 Oct 2006, Patrick Giagnocavo wrote:
> I have some programs that I usually use GCC for ... is there an easy
> way to have autoconf's ./configure automatically pick up on and
> generate the right options for SS11?
I do things like this:
CC='/opt/SUNWspro/bin/cc -xarch=v8plusa -xtarget=ultra2 -xc99=all'
CXX='/opt/SUNWspro/bin/CC -xarch=v8plusa -xtarget=ultra2'
export CC CFLAGS CXX CXXFLAGS LDFLAGS
You will occasionally need to remove an errant -Wall or similar thing,
but it's not that difficult to get most of the way there.
Jonathan Patschke "The ruler demands gifts, the judge accepts bribes,
Elgin, TX the powerful dictate what they desire--they all con-
USA spire together. The best of them is like a brier, the
most upright worse than a thorn hedge." --Micah 7:3-4
More information about the rescue