[bug-gettext] Host g++ used when cross-compiling (fix included)
From:
Marko Lindqvist
Subject:
[bug-gettext] Host g++ used when cross-compiling (fix included)
Date:
Sun, 31 Jul 2011 11:25:35 +0300
I've been trying to cross-compile gettext 0.18.1.1 (or any 0.18
version) to MinGW from Linux. With same setup 0.17 compiles fine.
First I have to admit that at first configure passed, and problems
were encountered only when compiling. After I added some hacks of my
own to get this working, configure started to fail. Reason for that
failure turned out to be that it tried to use host g++ for
cross-compiling. Even though configure somehow passed without my other
changes, using host c++ compiler is probably a bug.
Trivial patch attached.
- ML