This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC 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: Converting Dynamic Libraries


Matthias David Siebler <matthias@datapower.com> writes:

> Hello:
> 
> I have a debate about whether it is possible to convert a dynamic
> library (e.g. libm.so) into a static library (i.e. libm.a)
> 
> I would argue that this is impossible since the act of creating a
> shared library strips out the necessary information required to create
> a static library.
> 
> Am I correct?

Maybe. You could investigate objcopy.



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