[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Bison porting fix for PathScale EKO compiler
From: |
Paul Eggert |
Subject: |
Bison porting fix for PathScale EKO compiler |
Date: |
Wed, 01 Feb 2006 00:42:30 -0800 |
User-agent: |
Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) |
I'm currently working through Nelson H. F. Beebe's build feedback for
Bison 2.1, and installed this patch to fix the first problem I found
that hadn't already been fixed.
2006-02-01 Paul Eggert <address@hidden>
* tests/headers.at (AT_TEST_CPP_GUARD_H): Don't assume that "$CC
-E" works; it apparently doesn't work with PathScale EKO Compiler
Suite Version 2.0, according to the Nelson H. F. Beebe tests summarized
in
<http://lists.gnu.org/archive/html/bug-bison/2005-09/msg00021.html>.
Index: tests/headers.at
===================================================================
RCS file: /cvsroot/bison/bison/tests/headers.at,v
retrieving revision 1.11
diff -p -u -r1.11 headers.at
--- tests/headers.at 14 May 2005 06:49:48 -0000 1.11
+++ tests/headers.at 1 Feb 2006 08:40:20 -0000
@@ -1,5 +1,5 @@
# Bison Parser Headers. -*- Autotest -*-
-# Copyright 2001 Free Software Foundation, Inc.
+# Copyright (C) 2001, 2002, 2006 Free Software Foundation, Inc.
# This program is free software; you can redistribute it and/or modify
# it under the terms of the GNU General Public License as published by
@@ -67,8 +67,7 @@ dummy:;
AT_CHECK([bison --defines=$1.h --output=y.tab.c $1.y])
-# CPP should be happy with it.
-AT_CHECK([$CC -E -I. y.tab.c], 0, [ignore])
+AT_COMPILE([y.tab.o], [-c y.tab.c])
AT_CLEANUP
])
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- Bison porting fix for PathScale EKO compiler,
Paul Eggert <=