Kevin Cowtan
Mon, 01 Feb 2010 08:25:55 -0800
If there is anyway of doing it by messing with the setup of the F12 virtual machine, that would make life a lot easier.
Ah - looking at the patch again, I might get away with setting $CPP to cpp -P in the .bashrc for the F12 machine. Will try that next.
Ezra Peisach wrote:
On 2/1/2010 10:30 AM, Kevin Cowtan wrote:I'm trying to set up a Fedora 12 build machine, and running into problems.I keep running into the c preprocessor problem when building guile listed here:http://www.mail-archive.com/guile-de...@gnu.org/msg04783.htmlIt seems to be specific to Fedora's gcc 4.2.2, not to the upstream version. I tried using mcpp ( with ln -s /usr/bin/mccp /usr/local/bin/cpp ), but got the same result.Is there any way to downgrade to a pre-F12 gcc? KevinThe patch in the thread did the trick: diff -Nur guile-1.8.7.orig/libguile/guile-snarf-docs.in guile-1.8.7/libguile/guile-snarf-docs.in --- guile-1.8.7.orig/libguile/guile-snarf-docs.in 2009-07-03 18:19:00.000000000 -0400+++ guile-1.8.7/libguile/guile-snarf-docs.in 2009-11-19 12:55:32.487266268-0500 @@ -23,4 +23,4 @@ ## Let the user override the preprocessor autoconf found. test -n "${CPP+set}" || CPP="@CPP@" -${CPP} -DSCM_MAGIC_SNARF_DOCS "$@" +${CPP} -P -DSCM_MAGIC_SNARF_DOCS "$@"