[oe] install gcc at target machine?

Sledz, Steffen sledz at DResearch.DE
Wed Nov 5 15:37:51 UTC 2008


I want to install some development tools (e.g. gcc) on the target machine. When i just add gcc to IMAGE_INSTALL a few binaries are added to the target rootfs, e.g. /usr/bin/arm-angstrom-linux-uclibcgnueabi-gcc. But there is nothing like /usr/bin/gcc (no link or binary). And when i try to compile something with this compiler it does not find other needed binaries.  :(

# /usr/bin/arm-angstrom-linux-uclibcgnueabi-gcc -v -o hello hello.c
Using built-in specs.
Target: arm-angstrom-linux-uclibcgnueabi
Configured with: /home/sledz/oe/tmp/work/armv5te-angstrom-linux-uclibcgnueabi/gcc-4.2.4-r3/gcc-4.2.4/configure --build=i686-linux --host=arm-angstrom-linux-uclibcgnueabi --target=arm-angstrom-linux-uclibcgnueabi --prefix=/usr --exec_prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/libexec --datadir=/usr/share --sysconfdir=/etc --sharedstatedir=/usr/com --localstatedir=/var --libdir=/usr/lib --includedir=/usr/include --oldincludedir=/usr/include --infodir=/usr/share/info --mandir=/usr/share/man --enable-clocale=generic --with-gnu-ld --enable-shared --enable-target-optspace --enable-languages=c,c++ --enable-threads=posix --enable-multilib --enable-c99 --enable-long-long --enable-symvers=gnu --enable-libstdcxx-pch --program-prefix=arm-angstrom-linux-uclibcgnueabi- --enable-libssp --disable-bootstrap --enable-libgomp --disable-libmudflap --with-float=soft --with-local-prefix=/usr/local --with-gxx-include-dir=/usr/include/c++/4.2.4 --disable-__cxa_atexit --disable-nls
Thread model: posix
gcc version 4.2.4
 cc1 -quiet -v hello.c -quiet -dumpbase hello.c -mfloat-abi=soft -auxbase hello -version -o /tmp/ccHH8Yat.s
arm-angstrom-linux-uclibcgnueabi-gcc: error trying to exec 'cc1': execvp: No such file or directory

Is this a bug or a misconfiguration of mine?

Steffen


More information about the Openembedded-devel mailing list