[haiku-bugs] [Haiku] #8705: [PATCH] Fix Mac OS X 10.7 build platform

  • From: "xyzzy" <trac@xxxxxxxxxxxx>
  • Date: Sun, 08 Jul 2012 22:21:37 -0000

#8705: [PATCH] Fix Mac OS X 10.7 build platform
--------------------------+------------------------------
 Reporter:  xyzzy         |        Owner:  bonefish
     Type:  enhancement   |       Status:  new
 Priority:  normal        |    Milestone:  R1
Component:  Build System  |      Version:  R1/Development
 Keywords:                |   Blocked By:
 Blocking:                |  Has a Patch:  0
 Platform:  All           |
--------------------------+------------------------------
 Mac OS X 10.7 is currently broken as a build platform. The attached patch
 fixes all issues I have encountered with it and allows a GCC4 image to be
 built (I have not yet tested GCC2). The changes are as follows:
  * Use gcc and g++ rather than cc and c++, as the latter now point to
 clang with recent Xcode versions and compilation of the host tools fail
 for various reasons with it.
  * Conditionally disable an alias that is not supported on OS X.
  * Replace the case-sensitive filesystem check with a more basic one, as
 diskutil no longer supports the behaviour of getting info for the volume
 that any path is on.

 Additionally, the prerequisite installation guide on haiku-os.org needs to
 be changed. The following command should install all the prerequisites
 from MacPorts:
 {{{
 sudo port install cdrtools gawk gnuregex wget yasm lesskey mpfr gmp libmpc
 libiconv
 }}}

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8705>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: