[haiku-bugs] Re: [Haiku] #8730: Improve the build system for building on Haiku

  • From: "mmadia" <trac@xxxxxxxxxxxx>
  • Date: Tue, 07 Aug 2012 19:45:10 -0000

#8730: Improve the build system for building on Haiku
----------------------------+----------------------------
   Reporter:  mmadia        |      Owner:  mmadia
       Type:  enhancement   |     Status:  in-progress
   Priority:  normal        |  Milestone:  R1
  Component:  Build System  |    Version:  R1/Development
 Resolution:                |   Keywords:
 Blocked By:                |   Blocking:
Has a Patch:  0             |   Platform:  All
----------------------------+----------------------------

Comment (by mmadia):

 Looking at the invocations of UseHeaders in relation to jamming
 libroot_build.so, "build/posix" is not added.

 Here's some output that may be questionable. (rule UseHeaders was edited
 to ouput the subdirectory in which that particular UseHeaders rule was
 called)
  * ... Subdir: [ /mmadia/haiku/src/tools/bfs_shell ]  UseHeaders: [
 /mmadia/haiku/headers/build/os ]  :[true]
  * ... Subdir: [ /mmadia/haiku/src/tools/fs_shell ]  UseHeaders: [
 /mmadia/haiku/headers/build/os ]  :[true]
  * the CC command somehow does have -I /mmadia/haiku/headers/build/posix
 -I /mmadia/haiku/headers/build/os

 But ... all of the headers in /mmadia/haiku/headers/build/posix are empty,
 aside from #include "posix_target/target_*". All of their header guards
 are prefixed with _HAIKU_BUILD[_],
 so I don't see how build/posix being included would negatively affect the
 build.
 Though I'm still not sure how it's being added to the include path to
 begin with, either.

-- 
Ticket URL: <http://dev.haiku-os.org/ticket/8730#comment:19>
Haiku <http://dev.haiku-os.org>
Haiku - the operating system.

Other related posts: