Commit 1ebe758f by Christopher Faylor Committed by Jeff Law

Makefile.in (CC_FOR_TARGET): Add new winsup directory structure stuff to -L library search.


	* Makefile.in (CC_FOR_TARGET): Add new winsup directory
	structure stuff to -L library search.
	(CXX_FOR_TARGET): Ditto.
	(CROSS_CHECK_MODULES): Fix spelling mistake.

From-SVN: r32184
parent 42235f85
2000-01-27 Christopher Faylor <cgf@redhat.com>
* Makefile.in (CC_FOR_TARGET): Add new winsup directory
structure stuff to -L library search.
(CXX_FOR_TARGET): Ditto.
(CROSS_CHECK_MODULES): Fix spelling mistake.
2000-02-24 Nick Clifton <nickc@cygnus.com> 2000-02-24 Nick Clifton <nickc@cygnus.com>
* config.sub: Support an OS of "wince". * config.sub: Support an OS of "wince".
......
...@@ -213,11 +213,18 @@ INSTALL_TARGET_CROSS = installdirs \ ...@@ -213,11 +213,18 @@ INSTALL_TARGET_CROSS = installdirs \
CC_FOR_TARGET = ` \ CC_FOR_TARGET = ` \
if [ -f $$r/gcc/xgcc ] ; then \ if [ -f $$r/gcc/xgcc ] ; then \
if [ -f $$r/$(TARGET_SUBDIR)/newlib/Makefile ] ; then \ if [ -f $$r/$(TARGET_SUBDIR)/newlib/Makefile ] ; then \
if [ -f $$r/$(TARGET_SUBDIR)/winsup/Makefile ] ; then \ case "$(target_canonical)" in \
echo $$r/gcc/xgcc -B$$r/gcc/ -B$$r/$(TARGET_SUBDIR)/newlib/ -B$(build_tooldir)/bin/ -L$$r/$(TARGET_SUBDIR)/winsup -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \ i[3456]86-*-cygwin*) \
else \ echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/ -B$$r/$(TARGET_SUBDIR)/newlib/ -L$$r/$(TARGET_SUBDIR)/winsup -L$$r/$(TARGET_SUBDIR)/winsup/cygwin -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/winsup/include -idirafter $$s/winsup/cygwin/include -idirafter $$s/winsup/w32api/include -idirafter $$s/newlib/libc/include -idirafter $$s/newlib/libc/sys/cygwin -idirafter $$s/newlib/libc/sys/cygwin32 -nostdinc; \
echo $$r/gcc/xgcc -B$$r/gcc/ -B$$r/$(TARGET_SUBDIR)/newlib/ -B$(build_tooldir)/bin/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \ ;; \
fi; \ *) \
if [ -f $$r/$(TARGET_SUBDIR)/winsup/Makefile ] ; then \
echo $$r/gcc/xgcc -B$$r/gcc/ -B$$r/$(TARGET_SUBDIR)/newlib/ -B$(build_tooldir)/bin/ -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/ -B$$r/$(TARGET_SUBDIR)/newlib/ -B$(build_tooldir)/bin/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
fi; \
;; \
esac \
else \ else \
echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/; \ echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/; \
fi; \ fi; \
...@@ -249,11 +256,18 @@ CHILL_FOR_TARGET = ` \ ...@@ -249,11 +256,18 @@ CHILL_FOR_TARGET = ` \
CXX_FOR_TARGET = ` \ CXX_FOR_TARGET = ` \
if [ -f $$r/gcc/g++ ] ; then \ if [ -f $$r/gcc/g++ ] ; then \
if [ -f $$r/$(TARGET_SUBDIR)/newlib/Makefile ] ; then \ if [ -f $$r/$(TARGET_SUBDIR)/newlib/Makefile ] ; then \
if [ -f $$r/$(TARGET_SUBDIR)/winsup/Makefile ] ; then \ case "$(target_canonical)" in \
echo $$r/gcc/g++ -B$$r/gcc/ -B$$r/$(TARGET_SUBDIR)/newlib/ -B$(build_tooldir)/bin/ -L$$r/winsup -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \ i[3456]86-*-cygwin*) \
else \ echo $$r/gcc/xgcc -B$$r/gcc/ -B$(build_tooldir)/bin/ -B$$r/$(TARGET_SUBDIR)/newlib/ -L$$r/$(TARGET_SUBDIR)/winsup -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/winsup/cygwin/include -idirafter $$s/winsup/w32api/include -idirafter $$s/newlib/libc/include -idirafter $$s/newlib/libc/sys/cygwin -idirafter $$s/newlib/libc/sys/cygwin32 -nostdinc; \
echo $$r/gcc/g++ -B$$r/gcc/ -B$(build_tooldir)/bin/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \ ;; \
fi; \ *) \
if [ -f $$r/$(TARGET_SUBDIR)/winsup/Makefile ] ; then \
echo $$r/gcc/g++ -B$$r/gcc/ -B$$r/$(TARGET_SUBDIR)/newlib/ -B$(build_tooldir)/bin/ -L$$r/winsup -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
else \
echo $$r/gcc/g++ -B$$r/gcc/ -B$(build_tooldir)/bin/ -idirafter $$r/$(TARGET_SUBDIR)/newlib/targ-include -idirafter $$s/newlib/libc/include -nostdinc; \
fi; \
;; \
esac \
else \ else \
echo $$r/gcc/g++ -B$$r/gcc/ -B$(build_tooldir)/bin/; \ echo $$r/gcc/g++ -B$$r/gcc/ -B$(build_tooldir)/bin/; \
fi; \ fi; \
...@@ -629,7 +643,7 @@ CROSS_CHECK_MODULES = \ ...@@ -629,7 +643,7 @@ CROSS_CHECK_MODULES = \
check-sed \ check-sed \
check-send-pr \ check-send-pr \
check-shellutils \ check-shellutils \
check-snaviagor \ check-snavigator \
check-sim \ check-sim \
check-tar \ check-tar \
check-tcl \ check-tcl \
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment