Roberto C. Sánchez wrote:
On Sat, Apr 12, 2008 at 02:15:06PM -0400, Roberto C. Sánchez wrote:
I have attached a trivial one line patch that fixes the problem.  Please
apply it so that future versions of Alien::wxWidgets work with g++ 4.3
and newer.

So it turns out to have been slightly more complex than that.  In
practice, Debian (and I am sure other distros) create a symlink at
/usr/bin/cc (or something similar) that points to their "favorite" C or
C++ compiler.  Debian does this so that in practice, automated builds
fail because with gcc/g++ 4.3, the program only outputs $0 as the
program string.  So, there is no guarantee that the "gcc" or "g++" will
appear in the output unless that is explicitely how you call it.

I have attached a slightly more complete patch that changes occurrences
of $Config{cc} to $Config{ccname}.  From the Config.pm documentation:

<snip>

  Thanks for the analysis and for the patch!  Applied and released
Alien::wxWidgets 0.34.

Regards,
Mattia

Reply via email to