Package: gnat-4.9 The libgnatprj build uses an ugly combination of the just built g++ together with system c++ header files. This may work for a native build where the dependency is fulfilled by the g++-4.9 build dependency, but it complicates cross builds and builds from the same source. Please use the header files from the just built libstdc++.
It looks like this can be done by respecting CC, CXX, CFLAGS and CXXFLAGS set by the toplevel Makefile. The toplevel Makefile.def also seems to missing a dependency on libstdc++-v3 for libgnatproj. ../gcc/xgcc -B../gcc/ -c -fPIC -g -O2 -gnatn -nostdinc -I../gcc/ada/rts-shared-zcx -I../libgnatvsn sdefault.adb -o obj-shared/sdefault.o ../gcc/xg++ -B../gcc/ -c -fPIC -g -O2 -DHAVE_CONFIG_H -pedantic \ -I../../src/libgnatprj/../gcc -I../../src/libgnatprj/../include -I../../src/libgnatprj/../libcpp/include -I../gcc \ ../../src/libgnatprj/../gcc/common/common-targhooks.c -o obj-shared/common-targhooks.o In file included from ../../src/libgnatprj/../gcc/common/common-targhooks.c:21:0: ../../src/libgnatprj/../gcc/system.h:205:20: fatal error: cstring: No such file or directory # include <cstring> ^ compilation terminated. make[4]: *** [obj-shared/common-targhooks.o] Error 1 -- To UNSUBSCRIBE, email to debian-gcc-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org Archive: https://lists.debian.org/5363b2b0.2040...@debian.org