This is the mail archive of the
gcc-help@gcc.gnu.org
mailing list for the GCC project.
Re: Converting Dynamic Libraries
- From: LLeweLLyn Reese <llewelly at lifesupport dot shutdown dot com>
- To: Matthias David Siebler <matthias at datapower dot com>
- Cc: gcc-help at gcc dot gnu dot org
- Date: 30 Jul 2003 07:58:20 -0700
- Subject: Re: Converting Dynamic Libraries
- References: <3F26B3FA.2090808@datapower.com>
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.