[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Chicken-users] Re: Chicken fails to build on Windows (mingw)
From: |
felix winkelmann |
Subject: |
Re: [Chicken-users] Re: Chicken fails to build on Windows (mingw) |
Date: |
Tue, 25 Aug 2009 10:41:34 +0200 |
On Mon, Aug 24, 2009 at 8:05 PM, Fadi Moukayed<address@hidden> wrote:
>> 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"
>
That looks good.
> 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?
>
Absolutely. I have removed this and will update the bootstrap tarball in
the next hour. Thanks for reporting this.
cheers,
felix