2011-08-11 17:04:45     gcc: error trying to exec 'cc1': execvp: No such file or directory

Document created by Aaronwu Employee on Oct 16, 2013
Version 1Show Document
  • View in full screen mode

2011-08-11 17:04:45     gcc: error trying to exec 'cc1': execvp: No such file or directory

Mark Bishop (UNITED STATES)

Message: 102893   

 

Getting this error message:

 

 

 

linux-hez9:/home/uclinux/image/uclinux-dist> make xconfig

find vendors -mindepth 2 '(' -name .svn -prune ')' -o -type f -name Kconfig -print | sed 's:^:source ../:' > vendors/Kconfig

config/mkconfig > Kconfig

KCONFIG_NOTIMESTAMP=1 /home/uclinux/image/uclinux-dist/config/kconfig/gconf Kconfig

make[1]: Entering directory `/home/uclinux/image/uclinux-dist'

make[1]: Warning: File `.config' has modification time 2.5 s in the future

KCONFIG_NOTIMESTAMP=1 make ARCH=blackfin   CROSS_COMPILE=bfin-uclinux- -C linux-2.6.x xconfig

make[2]: Entering directory `/home/uclinux/image/uclinux-dist/linux-2.6.x'

  HOSTCC  scripts/basic/fixdep

gcc: error trying to exec 'cc1': execvp: No such file or directory

make[3]: *** [scripts/basic/fixdep] Error 1

make[2]: *** [scripts_basic] Error 2

make[2]: Leaving directory `/home/uclinux/image/uclinux-dist/linux-2.6.x'

make[1]: *** [linux_xconfig] Error 2

make[1]: Leaving directory `/home/uclinux/image/uclinux-dist'

make: *** [xconfig] Error 2

 

 

 

Did a bunch of searching, and this seems to indicate that the $PATH for the toolchain isn't set.

 

linux-hez9:/home/uclinux/image/uclinux-dist> gcc -v

Using built-in specs.

Target: bfin-uclinux

Configured with: /usr/src/packages/BUILD/blackfin-toolchain-2010R1/gcc-4.3/configure --build=i686-pc-linux-gnu --host=i686-pc-linux-gnu --target=bfin-uclinux --prefix=/opt/uClinux/bfin-uclinux --enable-threads=posix --with-sysroot=/opt/uClinux/bfin-uclinux/bfin-uclinux/runtime --disable-libstdcxx-pch --disable-symvers --disable-libssp --disable-libffi --enable-clocale=generic --enable-version-specific-runtime-libs --enable-__cxa_atexit --with-bugurl=URL:http://blackfin.uclinux.org/gf/project/toolchain/tracker --with-pkgversion=ADI-2010R1-RC4

Thread model: posix

gcc version 4.3.5 (ADI-2010R1-RC4)

 

 

 

This is with 2010R1-RC5.

 

What am I missing?

QuoteReplyEditDelete

 

 

2011-08-11 17:12:52     Re: gcc: error trying to exec 'cc1': execvp: No such file or directory

Jie Zhang (UNITED STATES)

Message: 102894   

 

gcc should be a host compiler, but it's interesting that your gcc is a cross compiler targeting to bfin-uclinux. What magics did you do?

QuoteReplyEditDelete

 

 

2011-08-11 17:16:02     Re: gcc: error trying to exec 'cc1': execvp: No such file or directory

Mark Bishop (UNITED STATES)

Message: 102895   

 

blah, I rearranged my $PATH and things are good.

QuoteReplyEditDelete

Attachments

    Outcomes