* configure.host: Add i[3-7]86-*-mingw* case.
authorNick Clifton <nickc@redhat.com>
Mon, 8 Jan 2007 16:53:33 +0000 (16:53 +0000)
committerNick Clifton <nickc@redhat.com>
Mon, 8 Jan 2007 16:53:33 +0000 (16:53 +0000)
ld/ChangeLog
ld/configure.host

index ed2e1d326eea87fb380bf36eb0d45e1c169ceb3e..d3e3eaf4cea0ea9bce2bcabba34f0f3c592bf37e 100644 (file)
@@ -1,3 +1,7 @@
+2007-01-08  Pedro Alves  <pedro_alves@portugalmail.pt>
+
+       * configure.host: Add i[3-7]86-*-mingw* case.
+
 2007-01-08  Nick Clifton  <nickc@redhat.com>
 
        * pep-dll.h (pep_bfd_is_dll): Add prototype.
index f9f080f60243c023bd43e71492fda0e04180774e..be343eb7e48ce39a7890d7047b165548bcdfda40 100644 (file)
@@ -147,6 +147,12 @@ i[3-7]86-*-cygwin*)
   HOSTING_LIBS="$HOSTING_LIBS"' -lcygwin -L/usr/lib/w32api -luser32 -lkernel32 -ladvapi32 -lshell32 `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi`'
   ;;
 
+i[3-7]86-*-mingw*)
+  #We only support msvcrt.dll, crtid == 2.
+  HOSTING_CRT0='/mingw/lib/crt2.o'
+  HOSTING_LIBS='-L/mingw/lib -lmingw32 -lmoldname -lmingwex -lmsvcrt -luser32 -lkernel32 -ladvapi32 -lshell32 -lmingw32 -lmoldname -lmingwex -lmsvcrt `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi`'
+  ;; 
+
 ia64-*-linux-*)
   HOSTING_CRT0=`echo "$HOSTING_CRT0" | sed -e "s,ld\[^ \]*\*,ld-linux-ia64,g"`
   ;;