[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Chicken-hackers] Re: bootstrapping tarball
From: |
Ivan Shmakov |
Subject: |
[Chicken-hackers] Re: bootstrapping tarball |
Date: |
Sun, 13 Jan 2008 02:17:47 +0600 |
User-agent: |
Gnus/5.110006 (No Gnus v0.6) Emacs/21.4 (gnu/linux) |
>>>>> felix winkelmann <address@hidden> writes:
>> Is cross-compiling supported by the bootstrap thing? I mean, when
>> using PLATFORM=cross-linux-mingw the target platform for the
>> bootstrap compiler should be Linux, and the binaries generated by
>> the bootstrap compiler should be for Windows, right?
> 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.
- [Chicken-hackers] Re: bootstrapping tarball,
Ivan Shmakov <=