[build2] how to hook "libtool" Inside the building and linking process ?

Boris Kolpackov boris at codesynthesis.com
Tue Jul 17 11:39:47 UTC 2018


Christian Montanari <cp.montanari at tiscali.co.uk> writes:

> ok what would be the example to follow?

build2/build2/cc/link-rule.cxx


> I saw that in odb, actualy LT_INIT is called in a post formated
> configure.ac. is this the solution: to delegate the job to autoconf?

No, in build2 you implement custom rules in C++.


> utlimatly I wanted an easy way out to compile a dynamic library under
> cygwin. your tool does only procure a way to generate cyg*.dll
> under windoz, is there a nice way to compile -fpic, and bring those
> cyg{butl,pkgconf}.dll to life.

The built-in link rule doesn't support Cygwin because nobody has
implemented this support. It will be a lot easier to add the
missing bits to it than to implement an alternative link rule
that uses GNU libtool.



More information about the users mailing list