这些小活动你都参加了吗?快来围观一下吧!>>
电子产品世界 » 论坛首页 » 综合技术 » 基础知识 » EP9302 谁建立过EP9302的协处理器的编译环境?

共2条 1/1 1 跳转至

EP9302 谁建立过EP9302的协处理器的编译环境?

院士
2006-09-17 18:14:16     打赏
EP9302 谁建立过EP9302的协处理器的编译环境?



关键词: EP9302     建立     处理器     编译     环境    

院士
2006-12-22 22:43:00     打赏
2楼
问 我在建立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: :)你是要软浮点?还是硬浮点?不一样的。

共2条 1/1 1 跳转至

回复

匿名不能发帖!请先 [ 登陆 注册 ]