Bootstraping gcc-4.6.1 with Sun Studio on Solaris 9

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello,

I'm working on a bootstrap of gcc-4.6.1 using Sun Studio on Solaris 9.
I'm currently stuck at a liblto_plugin.so linking issue[1], but I'd
first like to verify whether my general approach is correct.

There is a mutual incompatibility between flags accepted by Sun Studio
and GCC.  Therefore, 2 sets of CFLAGS are needed: one for the host
compiler (here: Sun Studio), and one gcc for the subsequent stages.
The first one is set via CFLAGS, and the second one is set via
CFLAGS_FOR_TARGET.  Is this approach correct? (I also saw references
to the TARGET_CFLAGS variable, so I'm not sure which one to use.)

Maciej

[1] http://lists.opencsw.org/pipermail/maintainers/2011-August/015173.html


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux