|
From: | Fadi Moukayed |
Subject: | Re: [Chicken-users] Re: Chicken fails to build on Windows (mingw) |
Date: | Wed, 26 Aug 2009 00:34:54 +0200 |
On Mon, Aug 24, 2009 at 8:05 PM, Fadi Moukayed<address@hidden> wrote:That looks good.
>> Hm... how did you invoke make? Did you pass "PLATFORM=mingw"?
>
> Yes, I used the following build command, nothing special really:
>
> mingw32-make PREFIX=c:/chicken PLATFORM=mingw
> C_COMPILER_OPTIMIZATION_OPTIONS="-O2 -pipe"
>
Absolutely. I have removed this and will update the bootstrap tarball in
> Anyway, I think I found where the problem lies: Line 86 in extras.scm
> contains this:
>
>> ;;; Random numbers:
>>
>> (cond-expand
>> (unix
>> ...
>> (else
>> ...
>
> Apparently, the C files used for bootstrapping were generated on a unix
> machine - which means that the C files will always contain the unix-specific
> code branch, unless they were regenerated on the target platform. Shouldn't
> this kind of check be done using C preprocessor instead?
>
the next hour. Thanks for reporting this.
cheers,
felix
[Prev in Thread] | Current Thread | [Next in Thread] |