| To: | "Steven J. Hill" <sjhill@realitydiluted.com> |
|---|---|
| Subject: | Re: Problems generating shared library for MIPS using binutils-2.13... |
| From: | "H. J. Lu" <hjl@lucon.org> |
| Date: | Fri, 25 Oct 2002 10:50:34 -0700 |
| Cc: | linux-mips@linux-mips.org, binutils@sources.redhat.com |
| In-reply-to: | <3DB97381.8070501@realitydiluted.com>; from sjhill@realitydiluted.com on Fri, Oct 25, 2002 at 11:38:25AM -0500 |
| Original-recipient: | rfc822;linux-mips@linux-mips.org |
| References: | <3DB97381.8070501@realitydiluted.com> |
| Sender: | linux-mips-bounce@linux-mips.org |
| User-agent: | Mutt/1.2.5.1i |
On Fri, Oct 25, 2002 at 11:38:25AM -0500, Steven J. Hill wrote: > Greetings. > > I'm doing something stupid here, so please help me out. I am trying > to create a shared library with gcc passing parameters to the linker > and it is not working. > > I compiled all the object files with '-mips2' and then I attempt to > create the shared library with: > > mipsel-linux-gcc -shared -Wl,-Amips2,-soname,libz.so.1 \ > -o libz.so.1.1.4 adler32.o compress.o crc32.o gzio.o \ > uncompr.o deflate.o trees.o zutil.o inflate.o infblock.o \ > inftrees.o infcodes.o infutil.o inffast.o > > The object files are all mips2, but the generated '.so' object > is mips1?! What am I not understanding? I am using binutils-2.13, > gcc-3.2 and uClibc-0.9.15. The use of uClibc is not the problem. > That is a bug in the FSF binutils. I believe I fixed it in my Linux binutils: http://sources.redhat.com/ml/binutils/2001-10/msg00526.html Please try my Linux binutils. H.J. |
| <Prev in Thread] | Current Thread | [Next in Thread> |
|---|---|---|
| ||
| Previous by Date: | Re: Problems generating shared library for MIPS using binutils-2.13..., Maciej W. Rozycki |
|---|---|
| Next by Date: | Re: cross gcj for mipsel, H. J. Lu |
| Previous by Thread: | Re: Problems generating shared library for MIPS using binutils-2.13..., Maciej W. Rozycki |
| Next by Thread: | GCC generating wrong assembly code?, Dennis Newbold |
| Indexes: | [Date] [Thread] [Top] [All Lists] |