This is the mail archive of the
libc-alpha@sourceware.org
mailing list for the glibc project.
Re: c++ source files in the build...
- From: Andreas Schwab <schwab at linux-m68k dot org>
- To: DJ Delorie <dj at redhat dot com>
- Cc: libc-alpha at sourceware dot org
- Date: Mon, 11 Jul 2016 23:12:41 +0200
- Subject: Re: c++ source files in the build...
- Authentication-results: sourceware.org; auth=none
- References: <xnzipoj5dj.fsf@greed.delorie.com>
DJ Delorie <dj@redhat.com> writes:
> I see that configure has tests for c++/g++, but my naive addition of a
> C++ source file (utility, not for libc.so itself) doesn't build, as
> neither GXX nor CXX are defined, nor ${compile_command.cc}.
$ git grep CXX
...
Makerules:compile.cc = $(CXX) $< -c $(CXXFLAGS) $(CPPFLAGS)
...
config.make.in:CXX = @CXX@
...
Andreas.
--
Andreas Schwab, schwab@linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5
"And now for something completely different."