This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Poor error handling in `cat nonexistentfile` (was: Re: crosstool0.38)


Greg Chandler wrote:
While trying to build:
eval `cat arm-xscale.dat gcc-3.4.2-glibc-20040827.dat` sh all.sh --notest

I get:
+ TARBALLS_DIR=/home/chandleg/downloads
+ RESULT_TOP=/usr/crosstool
+ export TARBALLS_DIR RESULT_TOP
+ GCC_LANGUAGES=c,c++
+ export GCC_LANGUAGES
+ mkdir -p /usr/crosstool
++ cat arm-xscale.dat gcc-3.4.2-glibc-20040827.dat
cat: gcc-3.4.2-glibc-20040827.dat: No such file or directory
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+ eval 'KERNELCONFIG=`pwd`/arm.config' TARGET=arm-xscale-linux-gnu
'TARGET_CFLAGS="-O"' 'GCC_EXTRA_CONFIG="--with-cpu=xscale'
'--enable-cxx-flags=-mcpu=xscale"' sh all.sh --notest
+++ pwd
++ KERNELCONFIG=/usr/src/crosstool-0.38/arm.config
++ TARGET=arm-xscale-linux-gnu
++ TARGET_CFLAGS=-O
++ GCC_EXTRA_CONFIG=--with-cpu=xscale --enable-cxx-flags=-mcpu=xscale
++ sh all.sh --notest
Please set BINUTILS_DIR to the bare filename of the binutils tarball or
directory

Yep. You referenced a file that doesn't exist.


--
Trying to get a job as a c++ developer?  See http://kegel.com/academy/getting-hired.html

------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]