> From: Michele Bucca <michele.bu...@gmail.com> > Date: Sat, 15 Apr 2017 13:15:01 +0200 > To: CLFS Support <clfs-support@lists.clfs.org> > Subject: Re: [Clfs-support] [Native Compiler] Problem Cross-compiling GMP > MPFR and MPC > > 2017-04-15 11:22 GMT+02:00 Michele Bucca <michele.bu...@gmail.com>: . . > > I've solved the problem with the libraries but the problem while > compiling the host-x-host compiler still persists
OK: what you're aiming for, depends of course on a long chain of details being all exactly correct. So let's assume for now that all has been done correctly thus far: and deal with the gcc error 'at face value'. > > i486-linux-musl-gcc -g -O2 -O2 -g -O2 -DIN_GCC -W -Wall > -Wno-narrowing -Wwrite-strings -Wcast-qual -Wstrict-prototypes > -Wmissing-prototypes -Wold-style-definition -isystem ./include > -fpic -mlong-double-80 -DUSE_ELF_SYMVER -g -DIN_LIBGCC2 > -fbuilding-libgcc -fno-stack-protector -Dinhibit_libc -fpic > -mlong-double-80 -DUSE_ELF_SYMVER -I. -I. -I../.././gcc > -I../../../gcc-src/libgcc -I../../../gcc-src/libgcc/. > -I../../../gcc-src/libgcc/../gcc -I../../../gcc-src/libgcc/../include > -I../../../gcc-src/libgcc/../libdecnumber/no > -I../../../gcc-src/libgcc/../libdecnumber -DHAVE_CC_TLS -DUSE_TLS -o > decLibrary.o -MT decLibrary.o -MD -MP -MF decLibrary.dep -c > ../../../gcc-src/libgcc/../libdecnumber/decLibrary.c > ../../../gcc-src/libgcc/../libdecnumber/decLibrary.c:27:24: fatal > error: decimal128.h: No such file or directory > #include "decimal128.h" > ^ Is this an issue where 'decimal128.h' does exist, but is just not being found. Do you have a 'decimal128.h' file anywhere under your compile/target areas - just do 'find -P / -iname decimal128.h -ls' to get them all. If it does exist, then it may be worth trying - at least, as a debugging step - a symlink to it from where gcc is looking for it. > compilation terminated. > Makefile:612: set di istruzioni per l'obiettivo "decLibrary.o" non riuscito > make[1]: *** [decLibrary.o] Errore 1 > make[1]: uscita dalla directory > "/home/michele/tmp/musl-native-toolchain/2-obj-gcc/i486-linux-musl/libgcc" > Makefile:11384: set di istruzioni per l'obiettivo "all-target-libgcc" > non riuscito > make: *** [all-target-libgcc] Errore 2 > . . > akh -- _______________________________________________ Clfs-support mailing list Clfs-support@lists.clfs.org http://lists.clfs.org/listinfo.cgi/clfs-support-clfs.org