Subject: tiff and C++
To: None <firstname.lastname@example.org>
From: John R. Shannon <email@example.com>
Date: 01/06/2005 05:11:11
The package graphics/tiff has a C++ mode. While building with gcc 3.4.3, I ran
into a linking problem caused by C applications (e.g., fax2ps) being linked
against libstdc++ with ld instead of g++.
The problem was fixed with some patches directing libtool to link using $(CXX)
as the linker:
fax2ps_LINK = $(LIBTOOL) --tag=CXX --mode=link $(CXX) $(AM_CXXFLAGS)
$(CXXFLAGS) $(AM_LDFLAGS) $(LDFLAGS) -o $@
in the Makefile.am.
It turned out to be necessary to make this change in a number of other package
Is there a more universal solution than modifying every affected package?
John R. Shannon