X-Authentication-Warning: delorie.com: mail set sender to djgpp-workers-bounces using -f Date: Sat, 15 Jan 2005 16:48:31 +0200 From: "Eli Zaretskii" Sender: halo1 AT zahav DOT net DOT il To: Alexandre Duret-Lutz Message-ID: <01c4fb11$Blat.v2.2.2$6d51a6e0@zahav.net.il> Content-Transfer-Encoding: 7BIT Content-Type: text/plain; charset=ISO-8859-1 X-Mailer: emacs 21.3.50 (via feedmail 8 I) and Blat ver 2.2.2 CC: eggert AT CS DOT UCLA DOT EDU, djgpp-workers AT delorie DOT com, bug-bison AT gnu DOT org In-reply-to: <2005-01-15-12-35-22+13598+adl@gnu.org> (message from Alexandre Duret-Lutz on Sat, 15 Jan 2005 12:35:22 +0100) 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> <87k6qitc5m DOT fsf AT penguin DOT cs DOT ucla DOT edu> <01c4f92c$Blat.v2.2.2$03f54760 AT zahav DOT net DOT il> <2005-01-15-12-35-22+13598+adl AT gnu DOT org> 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 Precedence: bulk > From: Alexandre Duret-Lutz > Cc: Paul Eggert , djgpp-workers AT delorie DOT com, bug-bison AT gnu DOT org > Date: Sat, 15 Jan 2005 12:35:22 +0100 > > I must be missing something, but I don't understand why setting this in > config.h is so important. How about simply > > ./configure CPPFLAGS='-DTAB_EXT="_tab" -DOUTPUT_EXT=".out"' > > ? We don't want to use a literal _tab, since when the DJGPP port runs on Windows, it supports long file names, and can use foo.tab.c. Thus the use of pathconf. (Btw, I still don't understand why using pathconf is not TRT for the Posix systems as well.) As for why the change I asked for in config.h is important, this has to do with how the DJGPP port is configured and built. I cannot afford describing this here; if you are interested, please study config.bat and config.sed that are parts of the DJGPP port (and which I hope will be accepted by the maintainers to be held in the djgpp/ subdirectory).