* configure.in: Reorder SUBDIRS to have mingw before cygwin.
* configure: Regenerate from configure.in.
* cygwin/Makefile.in: Add MINGW_LDFLAGS when linking cygrun.exe.
+2002-12-12 Corinna Vinschen <corinna@vinschen.de>
+
+ * Makefile.common: Define MINGW_LDFLAGS.
+ * configure.in: Reorder SUBDIRS to have mingw before cygwin.
+ * configure: Regenerate from configure.in.
+
2002-09-27 Christopher Faylor <cgf@redhat.com>
* Makefile.in (check): Be more defensive when creating testsuite
MINGW_INCLUDES:=-I$(updir)/mingw/include $(w32api_include)
MINGW_CFLAGS:=-mno-cygwin $(MINGW_INCLUDES)
MINGW_CXXFLAGS:=${filter-out $(newlib_source)/%,$(CXXFLAGS)} -mno-cygwin $(MINGW_INCLUDES)
+MINGW_LDFLAGS:=-B${mingw_build}
GCC_DEFAULT_OPTIONS:=$(CFLAGS_COMMON) $(CFLAGS_CONFIG) $(INCLUDES)
SUBDIRS='cygwin'
+test -d $srcdir/mingw && SUBDIRS="mingw $SUBDIRS"
if test -d $srcdir/w32api; then
SUBDIRS="w32api $SUBDIRS"
else
echo "*** missing w32api directory" 1>&2
exit 1
fi
-test -d $srcdir/mingw && SUBDIRS="$SUBDIRS mingw"
case "$with_cross_host" in
""|*cygwin*)
LIB_AC_PROG_CXX
SUBDIRS='cygwin'
+test -d $srcdir/mingw && SUBDIRS="mingw $SUBDIRS"
if test -d $srcdir/w32api; then
SUBDIRS="w32api $SUBDIRS"
else
echo "*** missing w32api directory" 1>&2
exit 1
fi
-test -d $srcdir/mingw && SUBDIRS="$SUBDIRS mingw"
case "$with_cross_host" in
""|*cygwin*)
+2002-12-12 Corinna Vinschen <corinna@vinschen.de>
+
+ * Makefile.in: Add MINGW_LDFLAGS when linking cygrun.exe.
+
2002-12-10 Christopher Faylor <cgf@redhat.com>
* cygthread.h (cygthread::stack_ptr): New element.
cygrun.exe : cygrun.o -lgcc $(w32api_lib)/libuser32.a \
$(w32api_lib)/libshell32.a $(w32api_lib)/libkernel32.a
- $(CC) -mno-cygwin -o $@ $^
+ $(CC) ${MINGW_LDFLAGS} -mno-cygwin -o $@ $^
cygserver_transport_outside.o: cygserver_transport.cc
$(COMPILE_CXX) -D__OUTSIDE_CYGWIN__ -o $@ $<