|
|
|
@ -211,11 +211,14 @@ INSTALL_TARGET_CROSS = installdirs \ |
|
|
|
CC_FOR_TARGET = ` \
|
|
|
|
if [ -f $$r/gcc/xgcc ] ; then \
|
|
|
|
if [ -f $$r/$(TARGET_SUBDIR)/newlib/Makefile ] ; then \
|
|
|
|
if [ -f $$r/$(TARGET_SUBDIR)/winsup/Makefile ] ; then \
|
|
|
|
echo $$r/gcc/xgcc -B$$r/gcc/ -B$$r/$(TARGET_SUBDIR)/newlib/ -L$$r/$(TARGET_SUBDIR)/winsup -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
|
|
|
|
else \
|
|
|
|
echo $$r/gcc/xgcc -B$$r/gcc/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
|
|
|
|
fi; \
|
|
|
|
case "$(target_canonical)" in \
|
|
|
|
i[3456]86-*-cygwin*) \
|
|
|
|
echo $$r/gcc/xgcc -B$$r/gcc/ -B$$r/$(TARGET_SUBDIR)/newlib/ -L$$r/$(TARGET_SUBDIR)/winsup -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/winsup/include -idirafter $$s/newlib/libc/include -nostdinc; \
|
|
|
|
;; \
|
|
|
|
*) \
|
|
|
|
echo $$r/gcc/xgcc -B$$r/gcc/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
|
|
|
|
;; \
|
|
|
|
esac \
|
|
|
|
else \
|
|
|
|
echo $$r/gcc/xgcc -B$$r/gcc/; \
|
|
|
|
fi; \
|
|
|
|
@ -247,11 +250,14 @@ CHILL_FOR_TARGET = ` \ |
|
|
|
CXX_FOR_TARGET = ` \
|
|
|
|
if [ -f $$r/gcc/xgcc ] ; then \
|
|
|
|
if [ -f $$r/$(TARGET_SUBDIR)/newlib/Makefile ] ; then \
|
|
|
|
if [ -f $$r/$(TARGET_SUBDIR)/winsup/Makefile ] ; then \
|
|
|
|
echo $$r/gcc/xgcc -B$$r/gcc/ -B$$r/$(TARGET_SUBDIR)/newlib/ -L$$r/winsup -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
|
|
|
|
else \
|
|
|
|
echo $$r/gcc/xgcc -B$$r/gcc/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
|
|
|
|
fi; \
|
|
|
|
case "$(target_canonical)" in \
|
|
|
|
i[3456]86-*-cygwin*) \
|
|
|
|
echo $$r/gcc/xgcc -B$$r/gcc/ -B$$r/$(TARGET_SUBDIR)/newlib/ -L$$r/winsup -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/winsup/include -idirafter $$s/newlib/libc/include -nostdinc; \
|
|
|
|
;; \
|
|
|
|
*) \
|
|
|
|
echo $$r/gcc/xgcc -B$$r/gcc/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
|
|
|
|
;; \
|
|
|
|
esac \
|
|
|
|
else \
|
|
|
|
echo $$r/gcc/xgcc -B$$r/gcc/; \
|
|
|
|
fi; \
|
|
|
|
|