On Mon, Aug 24, 2009 at 8:05 PM, Fadi Moukayed<[email protected]> 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


_______________________________________________
Chicken-users mailing list
[email protected]
http://lists.nongnu.org/mailman/listinfo/chicken-users

Reply via email to