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]

Re: fenv.h not found?


Hi,

On Tue, Oct 19, 2010 at 1:43 AM, Anthony Foiani
<anthony.foiani@gmail.com> wrote:
> [...]
> ./xtools/powerpc-e500v2-linux-gnuspe/sys-root/usr/include/bits/fenv.h
> ./xtools/powerpc-e500v2-linux-gnuspe/sys-root/usr/include/tr1/fenv.h
> ./xtools/powerpc-e500v2-linux-gnuspe/sys-root/usr/include/fenv.h
>
this looks odd. These last two `fenv.h' from GCC generally ends up in
%SYSROOT%/include/c++/%GCC_VERSION%/, but not in your case. EGlibc
header gets installed:

[ALL  ]    /opt/cross/platforms/foo/xtools-build/tools/bin/install -c
-m 644 ../sysdeps/powerpc/bits/fenv.h
/opt/cross/platforms/foo/xtools/powerpc-e500v2-linux-gnuspe//sys-root/usr/include/bits/fenv.h

then is overwritten by gcc:

c_compatibility_headers_install='/opt/cross/platforms/foo/xtools-build/src/gcc-4.5.1/libstdc++-v3/include/c_compatibility/complex.h
/opt/cross/platforms/foo/xtools-build/src/gcc-4.5.1/libstdc++-v3/include/c_compatibility/fenv.h
/opt/cross/platforms/foo/xtools-build/src/gcc-4.5.1/libstdc++-v3/include/c_compatibility/tgmath.h
/opt/cross/platforms/foo/xtools-build/src/gcc-4.5.1/libstdc++-v3/include/c_compatibility/stdatomic.h';
      for file in $c_compatibility_headers_install; do
/opt/cross/platforms/foo/xtools-build/tools/bin/install -c -m 644
$file /opt/cross/platforms/foo/xtools/powerpc-e500v2-linux-gnuspe//sys-root/usr/include;
done

 - Arnaud

--
For unsubscribe information see http://sourceware.org/lists.html#faq


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