Re: Static to dynamic lib

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

 



Paul wrote:
Hi,

I've been looking at getting the portable .NET stuff into fedora.
However, the treecc package only builds a .a lib. Is there a way to
convert that a dynamic lib?


There are a couple, if it uses libtool + automake, the .am Makefiles can be patched. If it uses a plain makefile, that can be patched.

If it uses something nasty (like autoxxx without libtool) you can add -fPIC to the CFLAGS, and then just use the .o files build for a final manual linking into a .so file, you can get a list of the .o files to put in the .so from the .a file using ar (works just like tar).

Do you have any idea how stable the ABI of the treecc .a lib is?

Regards,

Hans

--
fedora-devel-list mailing list
fedora-devel-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/fedora-devel-list

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Fedora Announce]     [Fedora Kernel]     [Fedora Testing]     [Fedora Formulas]     [Fedora PHP Devel]     [Kernel Development]     [Fedora Legacy]     [Fedora Maintainers]     [Fedora Desktop]     [PAM]     [Red Hat Development]     [Gimp]     [Yosemite News]
  Powered by Linux