[haiku-bugs] Re: [Haiku] #10605: Building ARM cross-compiler fails on Haiku

  • From: "pulkomandy" <trac@xxxxxxxxxxxx>
  • Date: Wed, 26 Feb 2014 14:58:05 -0000

#10605: Building ARM cross-compiler fails on Haiku
----------------------------------+----------------------------
   Reporter:  idefix              |      Owner:  bonefish
       Type:  bug                 |     Status:  closed
   Priority:  normal              |  Milestone:  R1
  Component:  Build System        |    Version:  R1/Development
 Resolution:  no change required  |   Keywords:  arm binutils
 Blocked By:                      |   Blocking:
Has a Patch:  0                   |   Platform:  All
----------------------------------+----------------------------
Changes (by pulkomandy):

 * status:  new => closed
 * resolution:   => no change required


Comment:

 You can't build gcc4 using gcc2.
 To build the ARM build tools, you must set yourself in a "setarch x86"
 environment.

 However, to build Haiku using the ARM toolchain, you need to use gcc2,
 otherwise the generated tools for haiku_host won't work. Here is a
 procedure that should work: https://gist.github.com/pulkomandy/9162826

 Note that bootstrapping Haiku on Haiku isn't supported, and will crash.
 But building the ARM toolchain works.

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

Other related posts: