[haiku-bugs] Re: [Haiku] #15197: gcc2 cross-tools cannot be moved

  • From: "Haiku" <trac@xxxxxxxxxxxx>
  • To: undisclosed-recipients: ;
  • Date: Mon, 23 Mar 2020 20:03:22 -0000

#15197: gcc2 cross-tools cannot be moved
----------------------------+----------------------------
   Reporter:  kallisti5     |      Owner:  bonefish
       Type:  bug           |     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 kallisti5):

 it's ugly
 {{{
  # Hack for https://dev.haiku-os.org/ticket/15197. Please fix me!
  GCC2PATH=$(strings container-context/toolchains/cross-tools-
 x86_gcc2/bin/i586-pc-haiku-cpp | grep gcc-lib | grep crosstools | cut -d/
 -f1,2,3,4,5)
  echo "RUN mkdir -p $GCC2PATH" >> container-context/Dockerfile
  echo "RUN ln -s /toolchains/cross-tools-x86_gcc2 $GCC2PATH/cross-tools-
 x86_gcc2" >> container-context/Dockerfile
 }}}
-- 
Ticket URL: <https://dev.haiku-os.org/ticket/15197#comment:2>
Haiku <https://dev.haiku-os.org>
The Haiku operating system.

Other related posts: