-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 Am Dienstag, 30. Dezember 2008 00:42:42 schrieb Graham Percival: > Lilypond itself builds on native, but the darwin-ppc > cross-platform build is dying:
1) The problem is that -Wno-long-double is only supported by gcc on the darwin platform, not on Linux. This alone would not be a problem (there should be a configure check for this option), but there are two more issues, so that all three combined make the build fail: 2) The error about an unrecognized command-line option is only triggered if the file prints out any other warning. Unfortunately, many configure test cases don't print any warnings, so this error is not detected by configure and it happily inserts -Wno-long-double to the command-line arguments. 3) The message about unrecognized command-line options was accidentally implemented as an error rather than a warning... This was changed/fixed in July (in the GCC codebase), but has probably not yet propagated to all the distro's releases... A solution (it seems this is the recommended solution) is to patch the configure script to create a warning, which then causes -Wno-long-double to fail, similar the the patch posted at http://www.telesphoreo.org/pipermail/iphone-gcc/2008-August/000094.html Other pointers: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35797 http://gcc.gnu.org/bugzilla/show_bug.cgi?id=28322 http://gcc.gnu.org/viewcvs?view=rev&revision=137687 http://www.telesphoreo.org/pipermail/iphone-gcc/2008-August/000090.html Cheers, Reinhold - -- - ------------------------------------------------------------------ Reinhold Kainhofer, reinh...@kainhofer.com, http://reinhold.kainhofer.com/ * Financial & Actuarial Math., Vienna Univ. of Technology, Austria * http://www.fam.tuwien.ac.at/, DVR: 0005886 * LilyPond, Music typesetting, http://www.lilypond.org -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.9 (GNU/Linux) iD8DBQFJWWilTqjEwhXvPN0RAqYGAKCz5X0grxFe8+tb2tx9leMstvX2dgCfaHie 0KvrtdRIIFCWoVrDJyH/q7s= =6xdm -----END PGP SIGNATURE----- _______________________________________________ lilypond-devel mailing list lilypond-devel@gnu.org http://lists.gnu.org/mailman/listinfo/lilypond-devel