LINUX.IE, website of the Irish Linux Users' Group
Tux rules!

   
Home
New Users
Articles
Download
Projects
Community
Vendors

  Print Version
Email to...
 
Archives:


planetILUG

Recent News

News Archive


Join the
ILUG
on FaceBook


Join the
ILUG
on LinkedIn


Join the
ILUG SETI
Group



















 
 :: Mailing Lists

[ILUG] Turning an executable into a shared library

[ILUG] Turning an executable into a shared library

Dave Airlie airlied at csn.ul.ie
Wed Mar 27 11:53:59 GMT 2002


turn it into a non-shared library first ... a .a file .. and the link your
frontends against the .a file ... then worry about getting the shared
library done ... do you need it to be a shared lib? shared lib is only
advantage when running copies on the same box .. it saves RAM...

otherwise surely getting the core library into a .a file and the linking
against that is what you need for now ..

Dave.

On Wed, 27 Mar 2002, Greg Farrel wrote:

> Hi,
>    I've written a server for a game, but I would like to have it as a
> library I can link with other programs. Mainly so the same code can be
> linked with a simple text fronted to be run as a server, or linked with a
> graphical engine to be played as a client. (yes both server and client
> must run the same engine as its relying on all clients/server performing
> the same actions in the same order to use determinism instead of network
> traffic).
>    How can I do this? I'm running RH 7.2, and I've tried google, but I
> cant make head or tail of the ldap explanation,
>        thanks,
>            Greg
>
>
>
>

-- 
David Airlie, Software Engineer
http://www.skynet.ie/~airlied / airlied at skynet.ie
pam_smb / Linux DecStation / Linux VAX / ILUG person






More information about the ILUG mailing list
Read this without the formatting.
                                                                                                    

 

Hosted by HEAnet


Maintained by the ILUG website team. The aim of Linux.ie is to support and help commercial and private users of Linux in Ireland. You can display ILUG news in your own webpages, read backend information to find out how. Networking services kindly provided by HEAnet, server kindly donated by Dell. Linux is a trademark of Linus Torvalds, used with permission. No penguins were harmed in the production or maintenance of this highly praised website. Looking for the Indian Linux Users' Group? Try here. If you've read all this and aren't a lawyer: you should be!
RSS Version
Powered by Dell