mirror of
https://github.com/crosstool-ng/crosstool-ng.git
synced 2024-12-20 05:17:54 +00:00
c64500d94b
In canadian builds, the target toolchain running on the build machine is not compiling and installing target Newlib. Thus it cannot by itself link target executables. This results in errors for gnuprumcu package when its configure script attempts to test the compiler: .../ld: cannot find crt0.o: No such file or directory configure:3738: error: C compiler cannot create executables Fix by passing the host toolchains's sysroot in target CFLAGS. While at it, also add a missing passing of target LDFLAGS. Successfully tested the following canadian builds: x86_64-unknown-linux-gnu,pru x86_64-w64-mingw32,pru arm-unknown-linux-gnueabihf,pru Signed-off-by: Dimitar Dimitrov <dimitar@dinux.eu> |
||
---|---|---|
.. | ||
050-zlib.sh | ||
070-zstd.sh | ||
100-gmp.sh | ||
110-mpfr.sh | ||
121-isl.sh | ||
130-cloog.sh | ||
140-mpc.sh | ||
200-libelf.sh | ||
210-expat.sh | ||
220-ncurses.sh | ||
320-libiconv.sh | ||
330-gettext.sh | ||
340-picolibc.sh | ||
350-newlib_nano.sh | ||
400-gnuprumcu.sh |