Re: Converting Dynamic Libraries

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



----- Original Message -----
From: "Matthias David Siebler" <matthias@xxxxxxxxxxxxx>
To: <gcc-help@xxxxxxxxxxx>
Sent: Wednesday, July 30, 2003 3:50 AM
Subject: Converting Dynamic Libraries


>
> 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?
>

With the msvc compiler on win32, it's simple to create a static lib from a
shared lib, if we have the '.def' file.

I believe it's also possible to create a def file from the shared lib if we
don't have it.

I would imagine the same to be possible with gcc on windows, and with gcc on
other platforms, too ..... but I don't really know.

Cheers,
Rob


[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux