Having trouble building on a 64 bit machine

Chris Nicholls chris.nicholls at some.ox.ac.uk
Thu May 13 07:48:21 EDT 2010


Thanks, That works ok now.

However, the stuff I'd been playing with was mainly inside the code
generator and doesn't seem to work well with the 64 version.

Is there a way I can build the 32 bit version on my machine?
I've tried playing with variations on
./configure   --host=x86_64-unknown-linux --target=i386-unknown-linux
--build=i386-unknown-linux
But I get told  "cannot run test program while cross compiling".

Sorry, I feel like this is a bit of a stupid question...
Chris

On Sat, May 1, 2010 at 4:01 PM, Ian Lynagh <igloo at earth.li> wrote:

>
> Hi Chris,
>
> On Sat, May 01, 2010 at 02:56:46AM +0100, Chris Nicholls wrote:
> >
> > I'm running a 64 bit linux box [...]
> >
> > Any ideas? GHC used to build fine, but I upgraded my os from 32 bit last
> > week and it hasn't been happy since. I could downgrade again, but if
> there's
> > a better solution then I'd be grateful.
>
> It sounds like you need to install an x86_64 build of GHC, either from
> your OS's package, or from a bindist from the GHC webpage:
>    http://www.haskell.org/ghc/download_ghc_6_12_2.html
>
>
> Thanks
> Ian
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.haskell.org/pipermail/cvs-ghc/attachments/20100513/6a34fe59/attachment.html


More information about the Cvs-ghc mailing list