[openbeos] Re: static libs for drivers

  • From: "Waldemar Kornewald" <Waldemar.Kornewald@xxxxxx>
  • To: <openbeos@xxxxxxxxxxxxx>
  • Date: Sat, 17 May 2003 16:18:58 +0200

> "Waldemar Kornewald" <Waldemar.Kornewald@xxxxxx> wrote:
> > Hi,
> > how can I produce a static lib in order to link my kernel drivers/
> > modules
> > against it?
> > Is there some Jamfile function for this in the OBOS tree?
>
> Yep, the astonishingly accurately named rule StaticLibrary. ;-)
>
> Usage: StaticLibrary <name_without_lib_and_extension> : <sources> ;

Really? :))
I thought there must be some settings like disabling templates and
exceptions for drivers. How does the linker remove this code?
Can I really link my drivers against any static library?

Waldemar


Other related posts: