[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: MIT Scheme 11.1 fails to build because of Werror
From: |
Taylor R Campbell |
Subject: |
Re: MIT Scheme 11.1 fails to build because of Werror |
Date: |
Thu, 4 Feb 2021 17:04:25 +0000 |
> Date: Thu, 4 Feb 2021 16:20:30 +0800
> From: Lingyu Zhu <lynuszhu@gmail.com>
>
> I have the same issue:
> Bad compiled-code version in FASL File: make.com
> File has: compiled-code interface 3; architecture 14.
> Expected: compiled-code interface 4; architecture 14.
>
> My platform is Freebsd 12.2 (clang 10.0.1, mit-scheme 10.1.11), The
> fallthrough warning was suppressed by manually edit CFLAGS defined in
> Makefile.
> Here is the microcode/config.log
> https://pastebin.com/Pd6yp4aA
You seem to have written `--enable-corss-compile' instead of
`--enable-cross-compiling'?
The full sequence is:
cd mit-scheme/src
./Setup.sh
./configure --enable-cross-compiling --enable-native-code=x86-64
make
make install
(FYI: Pull master for change to confshared.h to use the fallthrough
attribute on clang 10 so you don't need to manually edit CFLAGS.)