[haiku-bugs] Re: [Haiku] #12532: Incorporation of GCC 5

  • From: "korli" <trac@xxxxxxxxxxxx>
  • Date: Mon, 11 Apr 2016 17:08:09 -0000

#12532: Incorporation of GCC 5
----------------------------+----------------------------
   Reporter:  korli         |      Owner:  korli
       Type:  enhancement   |     Status:  new
   Priority:  normal        |  Milestone:  Unscheduled
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by korli):

 The relevant lines of the GCC recipe: {{{
         # Build a shared libsupc++ from libsupc++.a (hacking the gcc build
 system
         # to build a shared libsupc++ yields pretty much the same result,
 so we
         # use this simpler approach).
         cd
 $objectsDir/$effectiveTargetMachineTriple/libstdc++-v3/libsupc++
         gcc -nodefaultlibs -shared -o .libs/libsupc++.so -Xlinker --whole-
 archive .libs/libsupc++.a
 }}}

--
Ticket URL: <https://dev.haiku-os.org/ticket/12532#comment:4>
Haiku <https://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: