共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网站征稿正在进行时,欢迎踊跃投稿啦 | |
奖!发布技术笔记,技术评测贴换取您心仪的礼品 | |
打赏了!打赏了!打赏了! |
打赏帖 | |
---|---|
vscode+cmake搭建雅特力AT32L021开发环境被打赏30分 | |
【换取逻辑分析仪】自制底板并驱动ArduinoNanoRP2040ConnectLCD扩展板被打赏47分 | |
【分享评测,赢取加热台】RISC-V GCC 内嵌汇编使用被打赏38分 | |
【换取逻辑分析仪】-基于ADI单片机MAX78000的简易MP3音乐播放器被打赏48分 | |
我想要一部加热台+树莓派PICO驱动AHT10被打赏38分 | |
【换取逻辑分析仪】-硬件SPI驱动OLED屏幕被打赏36分 | |
换逻辑分析仪+上下拉与多路选择器被打赏29分 | |
Let'sdo第3期任务合集被打赏50分 | |
换逻辑分析仪+Verilog三态门被打赏27分 | |
换逻辑分析仪+Verilog多输出门被打赏24分 |