On Aug 6, 2007, at 2:48 PM, Ralf Wildenhues wrote:

This fixes the problem for us (we stole it from a libtool mailing
list post from a long time ago).  If this could be applied to the
Libtool development trunk, that would be great...  :-)

The patch has two issues.  First a simple one, it should be
  sed -n '$p'
instead of `tail -n 1', for portability. Second, and more importantly, I remember to have tested the patch on some but not all compilers that I know do pretend to be g++ at times (icpc, pathCC?, pgCC?). I hope none of them (nor g++ either) get the idea of splitting long output lines of
`$CXX -v' with backslash-newline.

FWIW, I've been regression testing OMPI with this patch against GNU, Intel 9.0, 9.1, pathscale, and the PGI compilers and it's been fine... (of course, that doesn't imply anything about future behavior ;-) ).

Anyway, I'll put on my list throwing out another test round for the
patch.

Thanks!

--
Jeff Squyres
Cisco Systems

Reply via email to