delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp-workers/2005/01/12/19:18:10

X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f
To: DJ Delorie <dj AT delorie DOT com>
Cc: eliz AT gnu DOT org, djgpp-workers AT delorie DOT com, bug-bison AT gnu DOT org
Subject: Re: ANNOUNCE: port of alpha bison-2.0
References: <41E44BA6 DOT 16849 DOT 47FF9F7 AT localhost>
<01c4f871$Blat.v2.2.2$89afa8c0 AT zahav DOT net DOT il>
<87is62o3io DOT fsf AT penguin DOT cs DOT ucla DOT edu>
<01c4f8e7$Blat.v2.2.2$7e7754a0 AT zahav DOT net DOT il>
<87wtuitdu2 DOT fsf AT penguin DOT cs DOT ucla DOT edu>
<200501122346 DOT j0CNkles013309 AT envy DOT delorie DOT com>
From: Paul Eggert <eggert AT CS DOT UCLA DOT EDU>
Date: Wed, 12 Jan 2005 16:17:57 -0800
In-Reply-To: <200501122346.j0CNkles013309@envy.delorie.com> (DJ Delorie's
message of "Wed, 12 Jan 2005 18:46:47 -0500")
Message-ID: <87k6qitc5m.fsf@penguin.cs.ucla.edu>
User-Agent: Gnus/5.1006 (Gnus v5.10.6) Emacs/21.3 (gnu/linux)
MIME-Version: 1.0
Sender: Paul Eggert <eggert AT penguin DOT cs DOT ucla DOT edu>
Reply-To: djgpp-workers AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp-workers AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com

DJ Delorie <dj AT delorie DOT com> writes:

>> you'd need to parameterize Makefiles etc. depending on whether you're
>> running in an 8.3 file system.
>
> Many GNU utilities have djgpp-specific install scripts that do exactly
> that.

That sounds like a hassle, one that is no longer really necessary (at
least for Bison), but if that's what you're doing I guess we should do
what the Romans do.  Thanks for explaining things.  I installed this
patch into Bison.

2005-01-12  Paul Eggert  <eggert AT cs DOT ucla DOT edu>

	* src/system.h (OUTPUT_EXT, TAB_EXT): Define only if not defined
	already.  Let config.h define any nonstandard values.

--- system.h	10 Dec 2004 07:47:58 -0000	1.65
+++ system.h	13 Jan 2005 00:13:21 -0000	1.66
@@ -1,6 +1,7 @@
 /* System-dependent definitions for Bison.
 
-   Copyright (C) 2000, 2001, 2002, 2003, 2004 Free Software Foundation, Inc.
+   Copyright (C) 2000, 2001, 2002, 2003, 2004, 2005 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
@@ -170,21 +171,13 @@ do {								\
 | Extensions to use for the output files.  |
 `-----------------------------------------*/
 
-#ifdef VMS
-  /* VMS. */
-# define TAB_EXT	"_tab"
-# define OUTPUT_EXT	".output"
-#else /* ! VMS */
-# ifdef MSDOS
-   /* MS DOS. */
-#  define TAB_EXT	"_tab"
-#  define OUTPUT_EXT	".out"
-# else /* ! MSDOS */
-  /* Standard. */
-#  define TAB_EXT	".tab"
-#  define OUTPUT_EXT	".output"
-# endif /* ! MSDOS */
-#endif /* ! VMS */
+#ifndef OUTPUT_EXT
+# define OUTPUT_EXT ".output"
+#endif
+
+#ifndef TAB_EXT
+# define TAB_EXT ".tab"
+#endif
 
 #ifndef DEFAULT_TMPDIR
 # define DEFAULT_TMPDIR "/tmp"

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019