[openbeos] Re: Problems compiling haiku in ubuntu

  • From: Ingo Weinhold <bonefish@xxxxxxxxxxxxxxx>
  • To: openbeos@xxxxxxxxxxxxx
  • Date: Wed, 21 Feb 2007 16:34:49 +0100

On 2007-02-21 at 16:03:35 [+0100], Pablo Barrera Gonzalez <barrera@xxxxxxx> 
wrote:
[...]
> binutils and gcc for cross compilation have been built successfully!
> [envite@jam]$
> 
> 
> Apparently everything is compiled ok.

According to this, your build should be configured correctly. You can check 
the values in generated/build/BuildConfig. The output of your first mail 
suggests for instance, that HAIKU_CC has the value "gcc". Instead it should 
be an absolute path to the newly-generated cross-compiler. And, as you 
correctly noted, for cross-compilation there shouldn't be used any include 
directories of the host system. The HAIKU_GCC_HEADERS_DIR variable contains 
the GCC header directories the configure script has extracted from the gcc 
it thinks is the cross-compiler (HAIKU_CC).

CU, Ingo

Other related posts: