Subject: Re: crosscompiling for DEC alpha on i386
To: Tomasz Chmielewski <tch@metalab.unc.edu>
From: Manuel Bouyer <bouyer@antioche.lip6.fr>
List: netbsd-help
Date: 01/11/2002 18:05:15
On Fri, Jan 11, 2002 at 03:56:24AM +0100, Tomasz Chmielewski wrote:
> Hello,
>
> I need to compile a program to make it use on DEC alpha, but I have
> access to compilers only on i386 box.
>
> I feel a bit lost and I don't really know where to start with, so I'd
> appreciate any help and straight info on how to do that.
You need a cross-toolchain for this. It isn't especially hard to set up,
the harder part is to get the rigth otpions in the application's Makefiles,
which aren't necesserely designed for that.
The new NetBSD toolchain may help you a lot for this.
Unfortinably there a still bugs in the toolchain itself, which prevents
compiling for a 64bit target on a 32bit host.
--
Manuel Bouyer, LIP6, Universite Paris VI. Manuel.Bouyer@lip6.fr
--