diff options
author | Phil Blundell <philb@gnu.org> | 2001-01-12 12:43:10 +0000 |
---|---|---|
committer | Phil Blundell <philb@gnu.org> | 2001-01-12 12:43:10 +0000 |
commit | 350fdb00d38de793f296d93cd14a7bffa733dee8 (patch) | |
tree | 913527283dd7f57893407ffb6bc0045c9711de86 | |
parent | 9549d9c176b98ec8566c8cea02e281ae81efa078 (diff) | |
download | fsf-binutils-gdb-350fdb00d38de793f296d93cd14a7bffa733dee8.zip fsf-binutils-gdb-350fdb00d38de793f296d93cd14a7bffa733dee8.tar.gz fsf-binutils-gdb-350fdb00d38de793f296d93cd14a7bffa733dee8.tar.bz2 |
Add support for cygwin libraries
-rw-r--r-- | ld/ChangeLog | 4 | ||||
-rw-r--r-- | ld/configure.host | 4 |
2 files changed, 8 insertions, 0 deletions
diff --git a/ld/ChangeLog b/ld/ChangeLog index a11b596..a2fc733 100644 --- a/ld/ChangeLog +++ b/ld/ChangeLog @@ -1,3 +1,7 @@ +2001-01-12 Philip Blundell <pb@futuretv.com> + + * configure.host: Set HOSTING_LIBS appropriately for ix86-cygwin. + 2001-01-10 Kazu Hirata <kazu@hxi.com> * scripttempl/h8300.sc: Fix formatting. Fix a comment typo. diff --git a/ld/configure.host b/ld/configure.host index d83e29f..be14e01 100644 --- a/ld/configure.host +++ b/ld/configure.host @@ -125,6 +125,10 @@ i[3456]86-pc-interix*) HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -L $$X/local_bin -L $$INTERIX_ROOT/usr/lib -lc -lcpsx -lc -lcpsx $$INTERIX_ROOT/usr/lib/psxdll.a $$INTERIX_ROOT/usr/lib/psxdll2.a' ;; +i[3456]86-*-cygwin*) + HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -lcygwin -luser32 -lkernel32 -ladvapi32 -lshell32 `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi`' + ;; + ia64-*-linux-gnu*) HOSTING_CRT0='-dynamic-linker `egrep "ld-linux-ia64.so" \`${CC} --print-file-name=specs\` | sed -e "s,.*-dynamic-linker[ ][ ]*\(.*/ld-linux-ia64.so..\).*,\1,"` `${CC} --print-file-name=crt1.o` `${CC} --print-file-name=crti.o` `if [ -f ../gcc/crtbegin.o ]; then echo ../gcc/crtbegin.o; else ${CC} --print-file-name=crtbegin.o; fi`' HOSTING_LIBS='`if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` -L`dirname \`${CC} --print-file-name=libc.so\`` -lc `if [ -f ../gcc/libgcc.a ] ; then echo ../gcc/libgcc.a ; else ${CC} -print-libgcc-file-name; fi` `if [ -f ../gcc/crtend.o ]; then echo ../gcc/crtend.o; else ${CC} --print-file-name=crtend.o; fi` `${CC} --print-file-name=crtn.o`' |