For Programmers: Free Programming Magazines  


Home > Archive > Unix Programming > November 2005 > making shared libs with Jam









You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

 

Author making shared libs with Jam
Henry Townsend

2005-11-23, 7:00 pm

I'm trying to convert a project build from GNU make to Jam (which is no
comment on make vs jam, there are external reasons for doing so). It's
going well except I can find no support in Jam for creating shared
libraries. There's a Library rule for making static libs but no
equivalent SharedLibrary rule. Google turns up a bunch of discussions
and suggested hacks but they're from 1996 and 1997. Does anyone have a
basic working example of this? No need for too many bells and whistles.

Thanks,
HT
Robert Cowham

2005-11-23, 7:00 pm

Henry Townsend <henry.townsend@not.here> wrote in
news:mpednZYpnJzpJBnenZ2dnUVZ_tKdnZ2d@co
mcast.com:

> I'm trying to convert a project build from GNU make to Jam (which is no
> comment on make vs jam, there are external reasons for doing so). It's
> going well except I can find no support in Jam for creating shared
> libraries. There's a Library rule for making static libs but no
> equivalent SharedLibrary rule. Google turns up a bunch of discussions
> and suggested hacks but they're from 1996 and 1997. Does anyone have a
> basic working example of this? No need for too many bells and whistles.
>
> Thanks,
> HT
>


You may want to have a look at Boost Jam. Have a look at the files for
buiding Boost c++ libs as they certainly support building of shared
libraries.

Alternatively, search the Jam mailing list and you will find some examples
more recently I think (e.g. 2000/01).

--
Robert Cowham

Sponsored Links







Also available: Server administration forum archive | Web Design forum archive | Software forum archive | Hardware reviews archive

Copyright 2008 codecomments.com