[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: ld
From: |
Nick Clifton |
Subject: |
Re: ld |
Date: |
06 Sep 2001 18:41:19 +0100 |
User-agent: |
Gnus/5.0808 (Gnus v5.8.8) Emacs/20.7 |
Hi Nir,
> when compiling ld on mips-sgi-irix6 no matter what I do
> when trying to create a shared library using -shared ld says
>
> ld: -shared not supported
>
> but when running ld -help the -shared option does appear
> and also should work because I see no other way to create shared
> libraries.
Hmm, it may be that some bug in the binutils code is preventing ld
from being able to generate shared libs for the mips-sgi-irix6. On
the other hand it may have simply been an omission when the port was
made.
If you want you could try applying the following patch and then
rebuilding ld. This should enable -shared for the mips-sgi-irix6
target. Of course you will then have to check to see if it actually
can produce working shared libraries...
Cheers
Nick
Index: ld/emulparams/elf32bmipn32.sh
===================================================================
RCS file: /cvs/src/src/ld/emulparams/elf32bmipn32.sh,v
retrieving revision 1.3
diff -p -r1.3 elf32bmipn32.sh
*** elf32bmipn32.sh 2001/08/09 14:25:59 1.3
--- elf32bmipn32.sh 2001/09/06 17:39:00
*************** TEMPLATE_NAME=elf32
*** 12,17 ****
--- 12,18 ----
TEXT_START_ADDR=0x10000000
MAXPAGESIZE=0x100000
ENTRY=__start
+ GENERATE_SHLIB_SCRIPT=yes
# GOT-related settings.
OTHER_GOT_SYMBOLS='
[Prev in Thread] |
Current Thread |
[Next in Thread] |