diff options
author | Nick Clifton <nickc@redhat.com> | 2007-01-08 16:53:33 +0000 |
---|---|---|
committer | Nick Clifton <nickc@redhat.com> | 2007-01-08 16:53:33 +0000 |
commit | f9967789c6c7c657c099ff6526640d1cc2c36032 (patch) | |
tree | 7b1a79ce19c5220fed8f51f03f060e4e795f3901 /ld | |
parent | a95c9d068ccc775cc6a84fcfd82770e100ad4545 (diff) | |
download | gdb-f9967789c6c7c657c099ff6526640d1cc2c36032.zip gdb-f9967789c6c7c657c099ff6526640d1cc2c36032.tar.gz gdb-f9967789c6c7c657c099ff6526640d1cc2c36032.tar.bz2 |
* configure.host: Add i[3-7]86-*-mingw* case.
Diffstat (limited to 'ld')
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/configure.host | 6 |
2 files changed, 10 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index ed2e1d3..d3e3eaf 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -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. diff --git a/ld/configure.host b/ld/configure.host index f9f080f..be343eb 100644 --- a/ld/configure.host +++ b/ld/configure.host @@ -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"` ;; |