[Top][All Lists]
[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: |
Chong Yidong |
Subject: |
Re: build from source fails on fedora-12 (with gcc 4.4.2) |
Date: |
Fri, 23 Oct 2009 12:19:45 -0400 |
User-agent: |
Gnus/5.13 (Gnus v5.13) Emacs/23.1.50 (gnu/linux) |
Jim Meyering <address@hidden> writes:
> 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.
OK, I've checked in your patch. Thanks.