共2条
1/1 1 跳转至页
EP9302 谁建立过EP9302的协处理器的编译环境?
问
我在建立GCC33.4.3后,试图建立CRUNCH的编译环境,进入crunch/buildroot目录,make menuconfig后make出错。下面是log文件。
if [ -f "target/generic/skel.tar.gz" ] ; then \
zcat target/generic/skel.tar.gz | tar -C /home/tools/buildroot/build_ARM_nofpu -xf -; \
fi;
if [ -d "target/generic/target_skeleton" ] ; then \
cp -a target/generic/target_skeleton/* /home/tools/buildroot/build_ARM_nofpu/root/; \
fi;
find /home/tools/buildroot/build_ARM_nofpu/root -type d -name CVS | xargs rm -rf
find /home/tools/buildroot/build_ARM_nofpu/root -type d -name .svn | xargs rm -rf
mkdir -p /home/tools/buildroot/dl
wget --passive-ftp -P /home/tools/buildroot/dl http://www.uclibc.org/downloads/toolchain/linux-libc-headers-2.4.31.tar.bz2
rm -rf /home/tools/buildroot/toolchain_build_ARM_nofpu/linux
mkdir -p /home/tools/buildroot/toolchain_build_ARM_nofpu
bzcat /home/tools/buildroot/dl/linux-libc-headers-2.4.31.tar.bz2 | tar -C /home/tools/buildroot/toolchain_build_ARM_nofpu -xf -
mv /home/tools/buildroot/toolchain_build_ARM_nofpu/linux-libc-headers-2.4.31 /home/tools/buildroot/toolchain_build_ARM_nofpu/linux
touch /home/tools/buildroot/toolchain_build_ARM_nofpu/linux/.unpacked
toolchain/patch-kernel.sh /home/tools/buildroot/toolchain_build_ARM_nofpu/linux toolchain/kernel-headers linux-libc-headers-2.4.31\*.patch
Applying toolchain/kernel-headers/linux-libc-headers-2.4.31*.patch using plaintext:
touch /home/tools/buildroot/toolchain_build_ARM_nofpu/linux/.patched
rm -f /home/tools/buildroot/toolchain_build_ARM_nofpu/linux/include/asm
touch /home/tools/buildroot/toolchain_build_ARM_nofpu/linux/include/linux/autoconf.h;
touch /home/tools/buildroot/toolchain_build_ARM_nofpu/linux/.configured
mkdir -p /home/tools/buildroot/dl
wget --passive-ftp -P /home/tools/buildroot/dl http://www.uclibc.org/downloads/snapshots/uClibc-snapshot.tar.bz2
mkdir -p /home/tools/buildroot/toolchain_build_ARM_nofpu
bzcat /home/tools/buildroot/dl/uClibc-snapshot.tar.bz2 | tar -C /home/tools/buildroot/toolchain_build_ARM_nofpu -xf -
toolchain/patch-kernel.sh /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc toolchain/uClibc/ \*.patch
Applying toolchain/uClibc//*.patch using plaintext:
touch /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.unpacked
cp toolchain/uClibc/uClibc.config /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.config
/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/sed -i -e 's,^CROSS=.*,CROSS=/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/ARM-linux-uclibc-,g' /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/Rules.mak
/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/sed -i -e 's,^.*TARGET_ARM.*,TARGET_ARM=y,g' \
/home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.config
/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/sed -i -e 's,^TARGET_ARCH.*,TARGET_ARCH=\"ARM\",g' /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.config
/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/sed -i -e 's,^KERNEL_SOURCE=.*,KERNEL_SOURCE=\"/home/tools/buildroot/toolchain_build_ARM_nofpu/linux\",g' \
/home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.config
/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/sed -i -e 's,^RUNTIME_PREFIX=.*,RUNTIME_PREFIX=\"/\",g' \
/home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.config
/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/sed -i -e 's,^DEVEL_PREFIX=.*,DEVEL_PREFIX=\"/usr/\",g' \
/home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.config
/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/sed -i -e 's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \
/home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.config
/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/sed -i -e 's,^.*UCLIBC_HAS_LFS.*,UCLIBC_HAS_LFS=y,g' /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.config
/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/sed -i -e 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g' /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.config
/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/sed -i -e 's,.*HAS_FPU.*,HAS_FPU=n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,g' /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.config
mkdir -p /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc_dev/usr/include
mkdir -p /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc_dev/usr/lib
mkdir -p /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc_dev/lib
make -C /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc \
PREFIX=/home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc_dev/ \
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=/home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc_dev/ \
HOSTCC="gcc" \
pregen install_dev;
make -C extra/config conf
make[1]: Leaving directory `/home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc'
问题出在什么地方? 答 1: :)你是要软浮点?还是硬浮点?不一样的。
if [ -f "target/generic/skel.tar.gz" ] ; then \
zcat target/generic/skel.tar.gz | tar -C /home/tools/buildroot/build_ARM_nofpu -xf -; \
fi;
if [ -d "target/generic/target_skeleton" ] ; then \
cp -a target/generic/target_skeleton/* /home/tools/buildroot/build_ARM_nofpu/root/; \
fi;
find /home/tools/buildroot/build_ARM_nofpu/root -type d -name CVS | xargs rm -rf
find /home/tools/buildroot/build_ARM_nofpu/root -type d -name .svn | xargs rm -rf
mkdir -p /home/tools/buildroot/dl
wget --passive-ftp -P /home/tools/buildroot/dl http://www.uclibc.org/downloads/toolchain/linux-libc-headers-2.4.31.tar.bz2
rm -rf /home/tools/buildroot/toolchain_build_ARM_nofpu/linux
mkdir -p /home/tools/buildroot/toolchain_build_ARM_nofpu
bzcat /home/tools/buildroot/dl/linux-libc-headers-2.4.31.tar.bz2 | tar -C /home/tools/buildroot/toolchain_build_ARM_nofpu -xf -
mv /home/tools/buildroot/toolchain_build_ARM_nofpu/linux-libc-headers-2.4.31 /home/tools/buildroot/toolchain_build_ARM_nofpu/linux
touch /home/tools/buildroot/toolchain_build_ARM_nofpu/linux/.unpacked
toolchain/patch-kernel.sh /home/tools/buildroot/toolchain_build_ARM_nofpu/linux toolchain/kernel-headers linux-libc-headers-2.4.31\*.patch
Applying toolchain/kernel-headers/linux-libc-headers-2.4.31*.patch using plaintext:
touch /home/tools/buildroot/toolchain_build_ARM_nofpu/linux/.patched
rm -f /home/tools/buildroot/toolchain_build_ARM_nofpu/linux/include/asm
touch /home/tools/buildroot/toolchain_build_ARM_nofpu/linux/include/linux/autoconf.h;
touch /home/tools/buildroot/toolchain_build_ARM_nofpu/linux/.configured
mkdir -p /home/tools/buildroot/dl
wget --passive-ftp -P /home/tools/buildroot/dl http://www.uclibc.org/downloads/snapshots/uClibc-snapshot.tar.bz2
mkdir -p /home/tools/buildroot/toolchain_build_ARM_nofpu
bzcat /home/tools/buildroot/dl/uClibc-snapshot.tar.bz2 | tar -C /home/tools/buildroot/toolchain_build_ARM_nofpu -xf -
toolchain/patch-kernel.sh /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc toolchain/uClibc/ \*.patch
Applying toolchain/uClibc//*.patch using plaintext:
touch /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.unpacked
cp toolchain/uClibc/uClibc.config /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.config
/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/sed -i -e 's,^CROSS=.*,CROSS=/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/ARM-linux-uclibc-,g' /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/Rules.mak
/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/sed -i -e 's,^.*TARGET_ARM.*,TARGET_ARM=y,g' \
/home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.config
/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/sed -i -e 's,^TARGET_ARCH.*,TARGET_ARCH=\"ARM\",g' /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.config
/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/sed -i -e 's,^KERNEL_SOURCE=.*,KERNEL_SOURCE=\"/home/tools/buildroot/toolchain_build_ARM_nofpu/linux\",g' \
/home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.config
/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/sed -i -e 's,^RUNTIME_PREFIX=.*,RUNTIME_PREFIX=\"/\",g' \
/home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.config
/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/sed -i -e 's,^DEVEL_PREFIX=.*,DEVEL_PREFIX=\"/usr/\",g' \
/home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.config
/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/sed -i -e 's,^SHARED_LIB_LOADER_PREFIX=.*,SHARED_LIB_LOADER_PREFIX=\"/lib\",g' \
/home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.config
/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/sed -i -e 's,^.*UCLIBC_HAS_LFS.*,UCLIBC_HAS_LFS=y,g' /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.config
/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/sed -i -e 's,.*UCLIBC_HAS_WCHAR.*,UCLIBC_HAS_WCHAR=y,g' /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.config
/home/tools/buildroot/build_ARM_nofpu/staging_dir/bin/sed -i -e 's,.*HAS_FPU.*,HAS_FPU=n\nUCLIBC_HAS_FLOATS=y\nUCLIBC_HAS_SOFT_FLOAT=y,g' /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc/.config
mkdir -p /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc_dev/usr/include
mkdir -p /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc_dev/usr/lib
mkdir -p /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc_dev/lib
make -C /home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc \
PREFIX=/home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc_dev/ \
DEVEL_PREFIX=/usr/ \
RUNTIME_PREFIX=/home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc_dev/ \
HOSTCC="gcc" \
pregen install_dev;
make -C extra/config conf
make[1]: Leaving directory `/home/tools/buildroot/toolchain_build_ARM_nofpu/uClibc'
问题出在什么地方? 答 1: :)你是要软浮点?还是硬浮点?不一样的。
共2条
1/1 1 跳转至页
回复
有奖活动 | |
---|---|
【有奖活动】分享技术经验,兑换京东卡 | |
话不多说,快进群! | |
请大声喊出:我要开发板! | |
【有奖活动】EEPW网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
与电子爱好者谈读图二被打赏50分 | |
【FRDM-MCXN947评测】Core1适配运行FreeRtos被打赏50分 | |
【FRDM-MCXN947评测】双核调试被打赏50分 | |
【CPKCORRA8D1B评测】---移植CoreMark被打赏50分 | |
【CPKCORRA8D1B评测】---打开硬件定时器被打赏50分 | |
【FRDM-MCXA156评测】4、CAN loopback模式测试被打赏50分 | |
【CPKcorRA8D1评测】--搭建初始环境被打赏50分 | |
【FRDM-MCXA156评测】3、使用FlexIO模拟UART被打赏50分 | |
【FRDM-MCXA156评测】2、rt-thread MCXA156 BSP制作被打赏50分 | |
【FRDM-MCXN947评测】核间通信MUTEX被打赏50分 |