Re: How to make a C++ -module?

2016-06-23 Thread Patrick Welche
I just made a sandbox with autoconf-2.69, automake-1.15 and git libtool. Running the tests on NetBSD-current/amd64, gcc 5.4.0, binutils 2.26, I see several failures, including: 61: flags.at:24passing CXX flags through libtool libtool cxx which appears to be the same problem, as

Re: How to make a C++ -module?

2016-06-21 Thread Bob Friesenhahn
On Tue, 21 Jun 2016, Robert Boehne wrote: Patrick, Did you build the compiler yourself? Basically Libtool is saying you only have a static version of your runtime library, so if you built the compiler yourself, add --enable-shared when you configure. If not, I'll see if I can get a NetBSD VM

Re: How to make a C++ -module?

2016-06-21 Thread Robert Boehne
Patrick, Did you build the compiler yourself? Basically Libtool is saying you only have a static version of your runtime library, so if you built the compiler yourself, add --enable-shared when you configure. If not, I'll see if I can get a NetBSD VM up and running so I can reproduce your

Re: How to make a C++ -module?

2016-06-21 Thread Bob Friesenhahn
On Tue, 21 Jun 2016, Patrick Welche wrote: I'm trying to create a C++ loadable module. I thought it would be as easy as: [ stuff removed ] This fails with: /bin/sh ./libtool --tag=CXX --mode=link g++ -g -O2 -module -avoid-version -o hellow.la -rpath /usr/local/lib hellow.lo ***

How to make a C++ -module?

2016-06-21 Thread Patrick Welche
I'm trying to create a C++ loadable module. I thought it would be as easy as: === configure.ac === AC_INIT(hellow, 0.0.1) AC_CONFIG_MACRO_DIR(m4) AC_PROG_CXX AM_INIT_AUTOMAKE([foreign]) LT_INIT AC_CONFIG_FILES(Makefile) AC_OUTPUT