emacs-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: build from source fails on fedora-12 (with gcc 4.4.2)


From: Jim Meyering
Subject: Re: build from source fails on fedora-12 (with gcc 4.4.2)
Date: Fri, 23 Oct 2009 17:21:29 +0200

Chong Yidong wrote:

> Jim Meyering <address@hidden> writes:
>
>> Here's the patch:
>>
>> FYI, at first I thought it was a bug in gcc and reported it,
>> but Jakub Jelinek explained that it is a feature, and
>> suggested the work-around of using -P.
>>
>> * configure.in: Use $CPP's -P option when creating Makefile and
>> src/Makefile.  This is required with at least by gcc 4.4.2, which
>> is part of fedora 12.  Otherwise, each backslash-newline pair in
>> the input would be mistakenly converted to a bare newline, yielding
>> invalid Makefiles.
>
> Is this backward compatible with older gcc/cpp's?

I verified that /usr/lib/cpp on Solaris 10 and FreeBSD 6.1 both support -P.
I think it's been in every cpp since the beginning.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]