因为芯片跟mcore比较类似,所以要用这个试试,可是这编译器就搞不定了。
GCC安装的依赖包:gmp-5.0.1 mpfr-3.1.3 mpc-1.0.1
configure参数:
$ ../configure --prefix=/home/xxxx/mcore-linux-gcc \
--with-gmp=/usr/local/gmp-5.0.1 \
--with-mpfr=/usr/local/mpfr-3.1.3 \
--with-mpc=/usr/local/mpc-1.0.1 \
--program-suffix=-mcore \
--enable-checking=release \
--enable-languages=c \
--target=mcore-unknown-linux-gnu
然后make all-gcc出错了
checking if mkdir takes one argument... no
Configuration mcore-unknown-linux-gnu not supported
这是为什么?谁做过Mcore的编译器啊?