cross compiler sourcery

http://www.codesourcery.com/sgpp/lite/arm/portal/package1786/public/arm-none-linux-gnueabi/arm-2007q3-51-arm-none-linux-gnueabi.src.tar.bz2


[issue 1]

phenomenon: cc1: warnings being treated as errors 524: error: ignoring return value of 'asprintf', declared with attribute warn_unused_result make[4]: *** [elf32-arm.lo] Error 1

soution: We need one change then: --- a/packages/binutils/binutils-cross.inc +++ b/packages/binutils/binutils-cross.inc @@ -2,7 +2,9 @@ inherit sdk DEPENDS += "flex-native bison-native" FILESDIR = "${@os.path.dirname(bb.data.getVar('FILE',d,1))}/binutils-${PV}" EXTRA_OECONF = "--with-sysroot=${prefix}/${TARGET_SYS} / - --program-prefix=${TARGET_PREFIX}" + --program-prefix=${TARGET_PREFIX} / + --enable-install-libbfd / + --disable-werror" Thats based on: commit ab563c4562058c20f814da31a70e2a35e6984041 Author: Khem Raj <raj.khem at gmail.com > Date: Sun Sep 14 23:21:43 2008 +0000
Binutils cross SDK does need -Wno-error when compiling with gcc 4.3. Yes, I am using Intrepid already.


[issue 2]
phenomenon: egrep: Invalid range end /usr/bin/texi2dvi: cannot read .//home/ben/tools/toolchain/arm-2007q3-51/obj/binutils-src-2007q3-51-arm-none-linux-gnueabi-i686-linux-gnu/bfd/doc/bfd.texinfo, skipping. make[4]: *** [bfd.pdf] Error 1 solution: http://cvs.savannah.gnu.org/viewvc/texinfo/util/texi2dvi?root=texinfo&r1=1.157&r2=1.158 fix texi2dvi in host /usr/bin/texi2dvi echo "$command_line_filename" | $EGREP '^(/|[A-z]:/)' >&6 /  <==>  echo "$command_line_filename" | $EGREP '^(/|[A-Za-z]:/)' >&6 / The offending line is here: 1686: echo "$command_line_filename" | $EGREP '^(/|[A-z]:/)' >&6 / The problem is locale-dependent. With LC_ALL=C it works, with LANG=de_DE.utf8 it doesn't. I suggest you replace 'A-z' with 'A-Za-z', or pass LC_ALL=C to the egrep invocation.


[issue 3]
phenomenon: /bin/bash: epstopdf: command not found

solution: sudo apt-get install texlive-font-utils


[issue 4] phenomenon:
/home/ben/tools/toolchain/arm-2007q3-51/obj/binutils-src-2007q3-51-arm-none-linux-gnueabi-i686-linux-gnu/etc/configure.texi:1090: ==> Fatal error occurred, no output PDF file produced!
Transcript written on configure.log.
/usr/bin/texi2dvi: pdfetex exited with bad status, quitting.

solution:
hthttp://www-old.cae.wisc.edu/pipermail/octave-maintainers/2008-October/009216.html
You have to increase the save_size in your tex configuration (in /etc/texmf/texmf.d/95NonPath.cnf for debian): since the introduction of texinfo references for the seealso fields, the octave documentation has been too large
for the default tex settings, from 50000 to 100000.

etc/texmf/texmf.cnf, /etc/texmf/texmf.d/95NonPath.cnf, /etc/texmf/texmf.d/95NonPath.cnf.ucf-dist


tips:
1. nchen -> ben 2. i686-pc-linux-gnu-gcc -> i686-linux-gnu-gcc 3. when binutil/gdb configure, --enable-install-libbfd --disable-werror
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值