[csw-maintainers] can I use gcc instead of /opt/SUNWspro/bin/cc ?

Dagobert Michelsen dam at opencsw.org
Sat May 21 14:16:32 CEST 2011


Hi John,

Am 20.05.2011 um 18:31 schrieb John Ellson:
> I'm having a hard time getting graphviz-2.28 to build on current9s.
> 
> The latest problem is with installed perl headers, outside of my ability
> to fix:
> 
>    CXX    libgv_perl_la-gv_perl.lo
>    CC: Warning: Option -xnorunpath passed to ld, if ld is invoked,
> ignored otherwise
>    ...
> 
> My guess is that I won't get this problem if I build with gcc, instead
> of /opt/SUNWspro/bin/cc
> 
> Is that permitted for OpenCSW builds?

It is permitted, but discouraged.

> If so, where can I find a recent gcc installed?

You can just set
  GARCOMPILER = GCC  (whatever is newest)
or
  GARCOMPILER = GCC3 / GCC4 (if you need a specific version)

The install locations on the farm are documented on "login" in /etc/SETUP.


Best regards

  -- Dago


More information about the maintainers mailing list