This is the mail archive of the binutils@sourceware.org mailing list for the binutils project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: How can I link several static libraries into single shared library?


Looks like i found the way to do it:

ld -shared -h libmj.so.1.0 -o libmj.so --whole-archive ./libalure.a ./libOgreMainStatic.a

At least it grows in size. Thanks.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]