[haiku-development] Re: Haiku build on 64-bit machine

  • From: Ingo Weinhold <ingo_weinhold@xxxxxx>
  • To: haiku-development@xxxxxxxxxxxxx
  • Date: Thu, 28 Jan 2010 21:08:07 +0100

On 2010-01-28 at 20:27:22 [+0100], Matt Madia <mattmadia@xxxxxxxxx> wrote:
> On Thu, Jan 28, 2010 at 19:22, Urias McCullough <umccullough@xxxxxxxxx> 
> wrote:
> > On Thu, Jan 28, 2010 at 11:18 AM, PHilip RUshik <prushik@xxxxxxxxx> wrote:
> >> Ok, thank you, it worked.
> >> I read somewhere awhile ago that --use-32bit was required for building on
> >> 64-bit hosts, I was unaware that that had changed. I did have to use 
> >> linux32
> >> to configure though.
> >
> > I know Ingo made some changes to various tools to be 64-bit safe
> > recently, and according to him, it is no longer required to build a
> > gcc4-only Haiku on a 64bit host, so that suggests that all is well.
> >
> > http://dev.haiku-os.org/ticket/5191
> >
> > Things change often - trying to keep up on all the build instructions
> > can be a bit challenging ;)
> 
> does that apply to building the gcc2 cross-tools as well?

Here's the deal for 64 bit Linux as far as I have tested it (OpenSuse 11.2): 
The gcc2 tool chain cannot be built in a 64 bit environment, so one has to 
use linux32 when running ./configure --build-cross-tools [...]. Other than 
that there are no restrictions. The gcc4 build can be configured with or 
without linux32 and/or with or without --use-32bit. Both gcc2 and gcc4 build 
can be jammed with or without linux32, regardless of how they have been 
configured.

The problem in #5191 was apparently just that the wrong jam was used.

So, essentially --use-32bit is superfluous under Linux. I don't know if it 
does anything for other platforms.

CU, Ingo

Other related posts: