[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Build failure on mixed 32/64 Linux
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] Build failure on mixed 32/64 Linux |
Date: |
Fri, 19 Oct 2007 07:32:57 +0200 |
On 10/18/07, Alex Queiroz <address@hidden> wrote:
> Hallo,
>
> On 10/18/07, John Cowan <address@hidden> wrote:
> > I'm trying to build Chicken on a x86_64 Linux system where i486 is the
> > target (IOW, 64-bit kernel with 32-bit userland). That doesn't work.
> >
> > Here's the failure point:
> >
>
> Your config-arch.sh script is guessing the amd64 arch but your C
> compilers wants 32-bit code. You can simply tweak config-arch.sh to
> return x86 for the time being. In the long run the Makefiles can be
> changed to use an ARCH variable given in the command line.
>
Right. Something like
make -f Makefile.linux ARCH=x86
should work as well.
cheers,
felix