[haiku-development] Build x86_64 on Ubuntu 18.04

  • From: Andrew Lindesay <apl@xxxxxxxxxxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Wed, 06 Jun 2018 20:53:18 +0200

Hello;

I want to test some pending changes compiling on an x86_64 build host, but am 
having some problems on a new Ubuntu 18.04 host.  It has GCC7 by default so I 
installed packages "gcc-5" / "g++-5" and tried again.  After setting...

```
export CC=gcc-5
export HAIKU_CC_x86_64=gcc-5
```

...the configure phase works out well, but then it seems to have some problems 
in "HaikuConfig.h:60".   I guess "__x86_64__" is not being set.  I dug around 
and saw a few places where "__x86_64__" might be set, but thought I'd check 
here first in case anybody else has any advice.

Regards;

-- 
Andrew Lindesay
www.lindesay.co.nz

Other related posts: