[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: C++ libtool build error?
From: |
Bruno Haible |
Subject: |
Re: C++ libtool build error? |
Date: |
Sat, 13 Mar 2010 13:32:51 +0100 |
User-agent: |
KMail/1.9.9 |
Ralf Wildenhues asks:
> > Fix problem with automake's definition of CXXLINK.
> > * gnulib-tool (func_create_testdir): After LT_INIT, also use LT_LANG.
> > Reported by Simon Josefsson and Ludovic Courtès.
>
> Is anyone aware of a way to reproduce the bug fixed by this patch
> with gnulib-tool alone?
Here's how to:
- Check out the newest gnulib.
$ ./gnulib-tool --create-testdir --dir=/tmp/testdir --libtool --with-tests
string
$ cd /tmp/testdir
- In configure.ac and gltests/configure.ac, change LT_LANG([C++]) to
LT_LANG([Windows Resource]).
$ autoreconf -v
$ ./configure
$ make
Results:
/bin/sh ./libtool --mode=link g++ -o test-string-c++ test-string-c++.o
../gllib/libgnu.la
libtool: link: unable to infer tagged configuration
libtool: link: specify a tag with `--tag'
make[4]: *** [test-string-c++] Error 1
Bruno
- Re: C++ libtool build error?, (continued)
- Re: C++ libtool build error?, Bruno Haible, 2010/03/13
- Re: C++ libtool build error?, Jim Meyering, 2010/03/13
- Re: C++ libtool build error?, Bruno Haible, 2010/03/13
- extra test module categories, Bruno Haible, 2010/03/28
- Re: extra test module categories, Bruno Haible, 2010/03/28
- Re: C++ libtool build error?, Simon Josefsson, 2010/03/17
- Re: C++ libtool build error?, Bruno Haible, 2010/03/28
- Re: C++ libtool build error?, Eric Blake, 2010/03/17
- Re: C++ libtool build error?, Bruno Haible, 2010/03/28
- Re: C++ libtool build error?, Ralf Wildenhues, 2010/03/13
- Re: C++ libtool build error?,
Bruno Haible <=