GDC Build Errors

Mike none at none.com
Sat Feb 22 22:06:34 PST 2014


On Saturday, 1 February 2014 at 02:30:30 UTC, Mike wrote:
> I'm trying to build a GDC cross-compiler for arm-none-eabi.  I
> get usable binaries, but my procedure always ends in the
> following:
>
> /usr/bin/install -c -m 644 unwind.h
> /home/mike/gdc-arm-none-eabi-test/lib/gcc/arm-none-eabi/4.8.2/include
> make[2]: Leaving directory
> '/home/mike/gdc/gcc-build/arm-none-eabi/libgcc'
> make[2]: Entering directory
> '/home/mike/gdc/gcc-build/arm-none-eabi/libstdc++-v3'
> make[2]: *** No rule to make target 'install'.  Stop.
> make[2]: Leaving directory
> '/home/mike/gdc/gcc-build/arm-none-eabi/libstdc++-v3'
> Makefile:9608: recipe for target 'install-target-libstdc++-v3'
> failed
> make[1]: *** [install-target-libstdc++-v3] Error 2
> make[1]: Leaving directory '/home/mike/gdc/gcc-build'
> Makefile:2180: recipe for target 'install' failed
> make: *** [install] Error 2
>
>
>
> Please let me know what I'm doing wrong.  Here's my build 
> script:
>
> [Snip - See previous post]

I resolved this by doing ...

make -j4 all-gcc
make -j4 all-target-libgcc

make install-gcc
make install-target-libgcc

...instead of...

make -j4
make install

...at the end of my build script.

Source: http://wiki.osdev.org/GCC_Cross-Compiler

Mike



More information about the D.gnu mailing list