chicken-hackers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Chicken-hackers] Re: bootstrapping tarball


From: felix winkelmann
Subject: Re: [Chicken-hackers] Re: bootstrapping tarball
Date: Sun, 13 Jan 2008 00:02:08 +0100

On Jan 12, 2008 9:17 PM, Ivan Shmakov <address@hidden> wrote:
>
>  > You caught the problem right away. This is indeed where the
>  > bootstrapping doesn't work. Possibly with some crude makefile hacks
>  > one could force ARCH to be the host-system's when doing the
>  > bootstrap, with using any ARCH passed on the command line for the
>  > second build. Unfortunately my head starts spinning when I look at
>  > makefiles for too long...
>
>         That's the reason why ./configure has both --build= and --host=.
>         (And --target=, for selected packages.)
>
>         Perhaps, this technique should be adopted for Chicken as well.
>

Basically, we have this, but pass make variables for that (TARGET and
HOST). The difficulty arises from the fact that the compiler must be compiled
first (bootstrapped) to have something that can then generate binaries
for a particular platform.


cheers,
felix




reply via email to

[Prev in Thread] Current Thread [Next in Thread]