[tex-live] pdftex on linux-alpha, libstdc++ problems

Norbert Preining preining@logic.at
Wed, 6 Feb 2002 16:03:29 +0100


On Mit, 06 Feb 2002, Thomas Esser wrote:
> Hey, one of my most favorite problems... :-)

Indeed!

> But, I think that I have a solution. In texk/web2c/Makefile, there are
> three binaries that are linked by the C++ compiler: pdftosrc, pdftex
> and pdfetex. At least for linux / gcc systems, I think that adding
>   -nodefaultlibs -Wl,-Bstatic -lstdc++ -Wl,-Bdynamic -lgcc
> fixes the problems that we have with different libstdc++ versions by
> linking just this library statically.

Good idea, did you check the size differences after stripping of the
statically and dynamically build binaries? If the diff is big, we could
provide both static and dynamic versions, if the diff is small, forget
it and only take the static.

Best wishes

Norbert

-----------------------------------------------------------------------
Norbert Preining <preining@logic.at> 
University of Technology Vienna, Austria            gpg DSA: 0x09C5B094
-----------------------------------------------------------------------
SCRABBY (n.) A curious-shaped duster given to you by your mother which
on closer inspection turns out to be half an underpant.

			--- Douglas Adams, The Meaning of Liff