gas, solaris and shared libraries
mark.a.robson@jpmorgan.com
mark.a.robson@jpmorgan.com
Thu May 30 10:11:00 GMT 2002
Hopefully a simple question:
Is it possible to use "as" to compile shared libraries on solaris? Some
documentation suggests not and I'm getting a segmentation fault in a very
simple test case.
Details:
SunOS 5.5.1 Generic_103640-37 sun4u sparc SUNW,Ultra-80
GNU C++ version 2.95.2 19991024 (release) (sparc-sun-solaris2.5.1) compiled
by GNU C version 2.95.2 19991024 (release).
GNU assembler version 2.11.2 (sparc-sun-solaris2.5.1) using BFD version
2.11.2
ld: Software Generation Utilities - Solaris/ELF (3.0)
Compilation flags: -v -I. -fPIC -ansi -Wall -Wno-return-type
-fwritable-strings
Flags when linking shared library: -shared -symbolic -Xlinker -z -Xlinker
defs -fPIC
Thanks,
Mark.
This communication is for informational purposes only. It is not intended as
an offer or solicitation for the purchase or sale of any financial instrument
or as an official confirmation of any transaction. All market prices, data
and other information are not warranted as to completeness or accuracy and
are subject to change without notice. Any comments or statements made herein
do not necessarily reflect those of J.P. Morgan Chase & Co., its
subsidiaries and affiliates.
More information about the Binutils
mailing list