#12 Patches for Solaris with Sun Studio compilation

closed-fixed
Sean Morrison
None
4
2010-09-28
2010-09-28
No

There are a number of gcc-specific issues that need to be changed when compiling on Solaris with Sun Studio. The attached patches are basically hardcoded workarounds that would need proper detection during configure-time. I have added them anyway for reference. They are also available from
http://sourceforge.net/apps/trac/gar/browser/csw/mgar/pkg/ftgl/trunk/files

Discussion

  • Sean Morrison
    Sean Morrison
    2010-09-28

    Thanks for the patches. As you note, the fixes really need proper configure-time detection to be applied. I have a fix for 0001 that is being tested now. Are you working on the rest?

     
  • Sean Morrison
    Sean Morrison
    2010-09-28

    • assigned_to: nobody --> brlcad
    • status: open --> pending
     
  • Sean Morrison
    Sean Morrison
    2010-09-28

    svn trunk r1258 should take care of the problem described in patch 0001.

     
  • Sean Morrison
    Sean Morrison
    2010-09-28

    svn trunk r1259 now has a proper fix in place for the __func__ vs __FUNCTION__ problem.

     
  • Sean Morrison
    Sean Morrison
    2010-09-28

    Patch 0003 looks like it might already be obsolete. There's already a SED being checked in configure.ac that is used as a variable in docs/Makefile.am

     
  • Sean Morrison
    Sean Morrison
    2010-09-28

    The last 0004 patch is on a libtool-generated file so you'll have to try a different approach for solving that problem. There are other ways to coerce different libtool linkage with LDFLAGS (particularly flags to the libtool wrapper script) and configure testing.

    You're welcome to post an update if you develop one.

     
  • Sean Morrison
    Sean Morrison
    2010-09-28

    • priority: 5 --> 4
    • status: pending --> closed-fixed