This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Build/Makefile question
- From: Ian Lance Taylor <iant at google dot com>
- To: Caroline Tice <cmtice at google dot com>
- Cc: Jonathan Wakely <jwakely dot gcc at gmail dot com>, gcc at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org, Benjamin Kosnik <bkoz at redhat dot com>
- Date: Sat, 27 Oct 2012 20:49:24 -0700
- Subject: Re: Build/Makefile question
- References: <CABtf2+RvHFwv7zUP0FgLAs_rX7Of0squvDO6ejjT8zuKnE_TOg@mail.gmail.com> <CAKOQZ8wqiQgf3AWrjGRzqLu3t342xcsnwPFhVF3w41fWB95hqw@mail.gmail.com> <CABtf2+S4i8T8i2nES+kKMdSduwvzCY5szBvf7U_9u__R9F9Agg@mail.gmail.com> <CAKOQZ8xQdbCyGD4PacE2pByaZnD+J1Ejrbnf0Ft07Vc4TRxBUg@mail.gmail.com> <CAH6eHdQofLmGUcr4kBHp6Ho=FqDGDfsxAS_9xFcwnnFmE-D3ZA@mail.gmail.com> <CABtf2+QrSGUeO07dD2=+SV_NK--GHGGDXwWJx+mz+R_K2jRjDA@mail.gmail.com>
On Sat, Oct 27, 2012 at 1:45 PM, Caroline Tice <cmtice@google.com> wrote:
> Ian Tayler (in private communication) asked that I get the part of the
> build log that shows the .so and .a files being built and send it to
> the list. Here it is.
I see the problem. libstdc++/libsupc++/Makefile.am overrides the
default CXXLINK to invoke libtool with --tag disable-shared. Your new
shared libraries have only C input files, so they are being linked
with CXXLINK, they are being linked with LINK. You need to override
the default value of LINK.
Ian