[haiku] Re: building cross tools

  • From: "Ingo Weinhold" <ingo_weinhold@xxxxxx>
  • To: haiku@xxxxxxxxxxxxx
  • Date: Sat, 04 Aug 2012 14:05:39 +0200

Thomas Stover wrote:
> On Fri, 3 Aug 2012 17:25:12 -0400
> Ryan Leavengood <leavengood@xxxxxxxxx> wrote:
> 
> > You are fairly close except for installing some things in Ubuntu.
> > Please take a look at the link below, and be sure to take note of
> > Ubuntu specific notes AND ESPECIALLY 64-bit notes. Being a Haiku
> > developer I did not notice those 64-bit notes when I set up my Ubuntu
> > machine and it caused me trouble.
> > 
> > http://www.haiku-os.org/guides/building
> > 
> > I think the above guide needs to be made much more obvious, even when
> > I know what I'm looking for it takes a bit to find it.
> 
> That worked! At least for C++ anyway. i586-pc-haiku-gcc was built, but
> there are no include files. Is a C cross compiler possible?

Haiku's include files aren't copied to the compiler directory. Use the ones 
from headers/ (config/, posix/, and os/ at least). Alternatively look at the 
build/scripts/build_cross_tools[_gcc4] and modify them to your needs.

CU, Ingo

Other related posts: