FAQ Search Today's Posts Mark Forums Read
» Video Reviews

» Linux Archive

Linux-archive is a website aiming to archive linux email lists and to make them easily accessible for linux users/developers.


» Sponsor

» Partners

» Sponsor

Go Back   Linux Archive > Redhat > Fedora Development

 
 
LinkBack Thread Tools
 
Old 06-25-2008, 07:20 PM
Paul
 
Default Static to dynamic lib

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?

TTFN

Paul
--
Sie können mich aufreizen und wirklich heiß machen!
--
fedora-devel-list mailing list
fedora-devel-list@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 
Old 06-25-2008, 09:20 PM
Hans de Goede
 
Default Static to dynamic lib

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@redhat.com
https://www.redhat.com/mailman/listinfo/fedora-devel-list
 

Thread Tools




All times are GMT. The time now is 02:02 AM.

VBulletin, Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Content Relevant URLs by vBSEO ©2007, Crawlability, Inc.
Copyright 2007 - 2008, www.linux-archive.org