Linux MIPS Architecture development
 help / color / mirror / Atom feed
* Problems generating shared library for MIPS using binutils-2.13...
@ 2002-10-25 16:38 Steven J. Hill
  2002-10-25 16:44 ` Daniel Jacobowitz
  2002-10-25 17:50 ` H. J. Lu
  0 siblings, 2 replies; 18+ messages in thread
From: Steven J. Hill @ 2002-10-25 16:38 UTC (permalink / raw)
  To: linux-mips; +Cc: binutils

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.

-Steve

^ permalink raw reply	[flat|nested] 18+ messages in thread

end of thread, other threads:[~2002-11-05 19:21 UTC | newest]

Thread overview: 18+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2002-10-25 16:38 Problems generating shared library for MIPS using binutils-2.13 Steven J. Hill
2002-10-25 16:44 ` Daniel Jacobowitz
2002-10-25 16:54   ` Steven J. Hill
2002-10-25 17:06     ` Maciej W. Rozycki
2002-11-04 14:49       ` Steven J. Hill
2002-11-04 15:02         ` H. J. Lu
2002-11-04 16:57           ` Steven J. Hill
2002-11-04 17:11             ` H. J. Lu
2002-11-04 17:16               ` Steven J. Hill
2002-11-04 17:24                 ` H. J. Lu
2002-11-05 15:19         ` Richard Sandiford
2002-11-05 17:15           ` H. J. Lu
2002-11-05 17:26           ` Daniel Jacobowitz
2002-11-05 17:33             ` H. J. Lu
2002-11-05 18:17             ` Richard Sandiford
2002-11-05 18:32               ` Daniel Jacobowitz
2002-11-05 19:21                 ` Eric Christopher
2002-10-25 17:50 ` H. J. Lu

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox