configure.in: Never build newlib for a Mingw host.
2006-08-30 Corinna Vinschen <corinna@vinschen.de> * configure.in: Never build newlib for a Mingw host. Never build newlib as Mingw target library. Test the existence of winsup/cygwin for building a Cygwin newlib, rather than just winsup. Add winsup/mingw and winsup/w32api paths to FLAGS_FOR_TARGET if building a Mingw target. * configure: Regenerate. From-SVN: r116587
This commit is contained in:
parent
70aec81b22
commit
b91f0a4123
10
ChangeLog
10
ChangeLog
@ -1,3 +1,13 @@
|
|||||||
|
2006-08-30 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
|
* configure.in: Never build newlib for a Mingw host.
|
||||||
|
Never build newlib as Mingw target library.
|
||||||
|
Test the existence of winsup/cygwin for building a Cygwin newlib,
|
||||||
|
rather than just winsup.
|
||||||
|
Add winsup/mingw and winsup/w32api paths to FLAGS_FOR_TARGET if
|
||||||
|
building a Mingw target.
|
||||||
|
* configure: Regenerate.
|
||||||
|
|
||||||
2006-08-08 Eric Botcazou <ebotcazou@libertysurf.fr>
|
2006-08-08 Eric Botcazou <ebotcazou@libertysurf.fr>
|
||||||
|
|
||||||
* MAINTAINERS (Various Maintainers): Add self as RTL opt. maintainer.
|
* MAINTAINERS (Various Maintainers): Add self as RTL opt. maintainer.
|
||||||
|
15
configure
vendored
15
configure
vendored
@ -1095,7 +1095,7 @@ case "${host}" in
|
|||||||
;;
|
;;
|
||||||
i[3456789]86-*-mingw32*)
|
i[3456789]86-*-mingw32*)
|
||||||
# noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
|
# noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
|
||||||
noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool"
|
noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
|
||||||
;;
|
;;
|
||||||
i[3456789]86-*-beos*)
|
i[3456789]86-*-beos*)
|
||||||
noconfigdirs="$noconfigdirs tk itcl libgui gdb"
|
noconfigdirs="$noconfigdirs tk itcl libgui gdb"
|
||||||
@ -1439,17 +1439,17 @@ case "${target}" in
|
|||||||
# 'target-newlib' will appear in skipdirs.
|
# 'target-newlib' will appear in skipdirs.
|
||||||
;;
|
;;
|
||||||
i[3456789]86-*-mingw32*)
|
i[3456789]86-*-mingw32*)
|
||||||
target_configdirs="$target_configdirs target-mingw"
|
target_configdirs="$target_configdirs target-winsup"
|
||||||
noconfigdirs="$noconfigdirs expect target-libgloss ${libgcj}"
|
noconfigdirs="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
|
||||||
;;
|
;;
|
||||||
*-*-cygwin*)
|
*-*-cygwin*)
|
||||||
target_configdirs="$target_configdirs target-libtermcap target-winsup"
|
target_configdirs="$target_configdirs target-libtermcap target-winsup"
|
||||||
noconfigdirs="$noconfigdirs target-gperf target-libgloss ${libgcj}"
|
noconfigdirs="$noconfigdirs target-gperf target-libgloss ${libgcj}"
|
||||||
# always build newlib if winsup directory is present.
|
# always build newlib if winsup directory is present.
|
||||||
if test -d "$srcdir/winsup"; then
|
if test -d "$srcdir/winsup/cygwin"; then
|
||||||
skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
|
skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
|
||||||
elif test -d "$srcdir/newlib"; then
|
elif test -d "$srcdir/newlib"; then
|
||||||
echo "Warning: winsup is missing so newlib can't be built."
|
echo "Warning: winsup/cygwin is missing so newlib can't be built."
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
i[3456789]86-moss-msdos | i[3456789]86-*-moss* | \
|
i[3456789]86-moss-msdos | i[3456789]86-*-moss* | \
|
||||||
@ -3366,6 +3366,11 @@ case " $target_configdirs " in
|
|||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
case "$target" in
|
||||||
|
*-mingw*)
|
||||||
|
# Can't be handled as Cygwin above since Mingw does not use newlib.
|
||||||
|
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/mingw -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/mingw/include -isystem $$s/winsup/w32api/include' ;;
|
||||||
|
esac
|
||||||
|
|
||||||
# Allow the user to override the flags for
|
# Allow the user to override the flags for
|
||||||
# our build compiler if desired.
|
# our build compiler if desired.
|
||||||
|
15
configure.in
15
configure.in
@ -279,7 +279,7 @@ case "${host}" in
|
|||||||
;;
|
;;
|
||||||
i[[3456789]]86-*-mingw32*)
|
i[[3456789]]86-*-mingw32*)
|
||||||
# noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
|
# noconfigdirs="tcl tk expect dejagnu make texinfo bison patch flex byacc send-pr uudecode dejagnu diff guile perl itcl gnuserv"
|
||||||
noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool"
|
noconfigdirs="$noconfigdirs expect dejagnu autoconf automake send-pr rcs guile perl texinfo libtool newlib"
|
||||||
;;
|
;;
|
||||||
i[[3456789]]86-*-beos*)
|
i[[3456789]]86-*-beos*)
|
||||||
noconfigdirs="$noconfigdirs tk itcl libgui gdb"
|
noconfigdirs="$noconfigdirs tk itcl libgui gdb"
|
||||||
@ -615,17 +615,17 @@ case "${target}" in
|
|||||||
# 'target-newlib' will appear in skipdirs.
|
# 'target-newlib' will appear in skipdirs.
|
||||||
;;
|
;;
|
||||||
i[[3456789]]86-*-mingw32*)
|
i[[3456789]]86-*-mingw32*)
|
||||||
target_configdirs="$target_configdirs target-mingw"
|
target_configdirs="$target_configdirs target-winsup"
|
||||||
noconfigdirs="$noconfigdirs expect target-libgloss ${libgcj}"
|
noconfigdirs="$noconfigdirs expect target-libgloss target-newlib ${libgcj}"
|
||||||
;;
|
;;
|
||||||
*-*-cygwin*)
|
*-*-cygwin*)
|
||||||
target_configdirs="$target_configdirs target-libtermcap target-winsup"
|
target_configdirs="$target_configdirs target-libtermcap target-winsup"
|
||||||
noconfigdirs="$noconfigdirs target-gperf target-libgloss ${libgcj}"
|
noconfigdirs="$noconfigdirs target-gperf target-libgloss ${libgcj}"
|
||||||
# always build newlib if winsup directory is present.
|
# always build newlib if winsup directory is present.
|
||||||
if test -d "$srcdir/winsup"; then
|
if test -d "$srcdir/winsup/cygwin"; then
|
||||||
skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
|
skipdirs=`echo " ${skipdirs} " | sed -e 's/ target-newlib / /'`
|
||||||
elif test -d "$srcdir/newlib"; then
|
elif test -d "$srcdir/newlib"; then
|
||||||
echo "Warning: winsup is missing so newlib can't be built."
|
echo "Warning: winsup/cygwin is missing so newlib can't be built."
|
||||||
fi
|
fi
|
||||||
;;
|
;;
|
||||||
i[[3456789]]86-moss-msdos | i[[3456789]]86-*-moss* | \
|
i[[3456789]]86-moss-msdos | i[[3456789]]86-*-moss* | \
|
||||||
@ -2121,6 +2121,11 @@ case " $target_configdirs " in
|
|||||||
esac
|
esac
|
||||||
;;
|
;;
|
||||||
esac
|
esac
|
||||||
|
case "$target" in
|
||||||
|
*-mingw*)
|
||||||
|
# Can't be handled as Cygwin above since Mingw does not use newlib.
|
||||||
|
FLAGS_FOR_TARGET=$FLAGS_FOR_TARGET' -L$$r/$(TARGET_SUBDIR)/winsup/mingw -L$$r/$(TARGET_SUBDIR)/winsup/w32api/lib -isystem $$s/winsup/mingw/include -isystem $$s/winsup/w32api/include' ;;
|
||||||
|
esac
|
||||||
|
|
||||||
# Allow the user to override the flags for
|
# Allow the user to override the flags for
|
||||||
# our build compiler if desired.
|
# our build compiler if desired.
|
||||||
|
Loading…
Reference in New Issue
Block a user