logo       

AVR32 Cross compile PKGCONFIG Failed cc1plus not found ?: msg#00004

t2.devel

Subject: AVR32 Cross compile PKGCONFIG Failed cc1plus not found ?



Hi,

Here is a problem for Pkgconfig cross compilation.
I figured out cc1plus was not found by ./configure.

How should this be solved 'properly' ?

Thx,
Olivier




***
build/myavr-7.0-trunk-mediavr-avr32-ap7000-cross/var/adm/logs/0-pkgconfig.err


checking dlfcn.h presence... yes
checking for dlfcn.h... yes
checking for i686-nocross-linux-gnu-g++... CXX_not_available_in_stage_0
checking whether we are using the GNU C++ compiler... no
checking whether CXX_not_available_in_stage_0 accepts -g... no
checking dependency style of CXX_not_available_in_stage_0... none
checking how to run the C++ preprocessor... /lib/cpp
configure: error: C++ preprocessor "/lib/cpp" fails sanity check
See `config.log' for more details.
Due to previous errors, no 0-pkgconfig.log file!
(Try enabling xtrace in the config to track an error inside the build
system.)
--- BUILD ERROR ---
Creating file list and doing final adaptions ...
Processing static lib corrections ...



**
src.pkgconfig.myavr.20070607.070217.21988.t2builder/pkg-config-0.21/config


| #else
| # include <assert.h>
| #endif
| Syntax error
configure:4940: /lib/cpp conftest.cc
cpp: error trying to exec 'cc1plus': execvp: No such file or directory
configure:4946: $? = 1
configure: failed program was:
| /* confdefs.h. */
|
| #define PACKAGE_NAME ""




t2builder:~/dev/t2-trunk/build# find
myavr-7.0-trunk-mediavr-avr32-ap7000-cross -name "cc1plus"

..../TOOLCHAIN/tools.cross/libexec/gcc/avr32-t2-linux-uclibc/4.0.2-atmel.0.99.2/cc1plus

--> Seems to be out of PATH ????





<Prev in Thread] Current Thread [Next in Thread>
Google Custom Search

News | FAQ | advertise