Re: [RFC 01/19] kbuild: Fixes to rules for host-cshlib and host-cxxshlib

2019-08-20 Thread Knut Omang
On Wed, 2019-08-21 at 10:47 +0900, Masahiro Yamada wrote: > On Wed, Aug 14, 2019 at 9:53 PM Knut Omang wrote: > > > > On Wed, 2019-08-14 at 07:52 +0200, Knut Omang wrote: > > > On Wed, 2019-08-14 at 11:02 +0900, Masahiro Yamada wrote: > > > > Hi Knut, > > > > > > > > On Wed, Aug 14, 2019 at 1:19 A

Re: [RFC 01/19] kbuild: Fixes to rules for host-cshlib and host-cxxshlib

2019-08-20 Thread Masahiro Yamada
On Wed, Aug 14, 2019 at 9:53 PM Knut Omang wrote: > > On Wed, 2019-08-14 at 07:52 +0200, Knut Omang wrote: > > On Wed, 2019-08-14 at 11:02 +0900, Masahiro Yamada wrote: > > > Hi Knut, > > > > > > On Wed, Aug 14, 2019 at 1:19 AM Knut Omang wrote: > > > > On Tue, 2019-08-13 at 23:01 +0900, Masahiro

Re: [RFC 01/19] kbuild: Fixes to rules for host-cshlib and host-cxxshlib

2019-08-14 Thread Knut Omang
On Wed, 2019-08-14 at 07:52 +0200, Knut Omang wrote: > On Wed, 2019-08-14 at 11:02 +0900, Masahiro Yamada wrote: > > Hi Knut, > > > > On Wed, Aug 14, 2019 at 1:19 AM Knut Omang wrote: > > > On Tue, 2019-08-13 at 23:01 +0900, Masahiro Yamada wrote: > > > > On Tue, Aug 13, 2019 at 3:13 PM Knut Oman

Re: [RFC 01/19] kbuild: Fixes to rules for host-cshlib and host-cxxshlib

2019-08-13 Thread Knut Omang
On Wed, 2019-08-14 at 11:02 +0900, Masahiro Yamada wrote: > Hi Knut, > > On Wed, Aug 14, 2019 at 1:19 AM Knut Omang wrote: > > On Tue, 2019-08-13 at 23:01 +0900, Masahiro Yamada wrote: > > > On Tue, Aug 13, 2019 at 3:13 PM Knut Omang wrote: > > > > C++ libraries interfacing to C APIs might somet

Re: [RFC 01/19] kbuild: Fixes to rules for host-cshlib and host-cxxshlib

2019-08-13 Thread Knut Omang
On Wed, 2019-08-14 at 11:02 +0900, Masahiro Yamada wrote: > Hi Knut, > > On Wed, Aug 14, 2019 at 1:19 AM Knut Omang wrote: > > On Tue, 2019-08-13 at 23:01 +0900, Masahiro Yamada wrote: > > > On Tue, Aug 13, 2019 at 3:13 PM Knut Omang wrote: > > > > C++ libraries interfacing to C APIs might somet

Re: [RFC 01/19] kbuild: Fixes to rules for host-cshlib and host-cxxshlib

2019-08-13 Thread Masahiro Yamada
Hi Knut, On Wed, Aug 14, 2019 at 1:19 AM Knut Omang wrote: > > On Tue, 2019-08-13 at 23:01 +0900, Masahiro Yamada wrote: > > On Tue, Aug 13, 2019 at 3:13 PM Knut Omang wrote: > > > > > > C++ libraries interfacing to C APIs might sometimes need some glue > > > logic more easily written in C. > >

Re: [RFC 01/19] kbuild: Fixes to rules for host-cshlib and host-cxxshlib

2019-08-13 Thread Knut Omang
On Tue, 2019-08-13 at 23:01 +0900, Masahiro Yamada wrote: > On Tue, Aug 13, 2019 at 3:13 PM Knut Omang wrote: > > > > C++ libraries interfacing to C APIs might sometimes need some glue > > logic more easily written in C. > > Allow a C++ library to also contain 0 or more C objects. > > > > Also fix

Re: [RFC 01/19] kbuild: Fixes to rules for host-cshlib and host-cxxshlib

2019-08-13 Thread Masahiro Yamada
On Tue, Aug 13, 2019 at 3:13 PM Knut Omang wrote: > > C++ libraries interfacing to C APIs might sometimes need some glue > logic more easily written in C. > Allow a C++ library to also contain 0 or more C objects. > > Also fix rules for both C and C++ shared libraries: > - C++ shared libraries dep

[RFC 01/19] kbuild: Fixes to rules for host-cshlib and host-cxxshlib

2019-08-12 Thread Knut Omang
C++ libraries interfacing to C APIs might sometimes need some glue logic more easily written in C. Allow a C++ library to also contain 0 or more C objects. Also fix rules for both C and C++ shared libraries: - C++ shared libraries depended on .c instead of .cc files - Rules were referenced as -obj