Re: bison problems when compiling under win32

From: Date: Sun, 24 Dec 2000 06:14:12 +0000
Subject: Re: bison problems when compiling under win32
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-42229@lists.php.net to get a copy of this message
In article <022a01c06d96$406189f0$30521d0c@ttcbwin2k>, php-lists@imawebdesigner.com wrote: > I looked at the results produced by bison --help and both versions (the > one included in win32build.zip on php.net/extras and the one included > with the latest version of cygwin [it is bison 1.28]) and both spew out > > C:\cygwin\bin>bison --help Usage: bison [-dhklntvyV] [-b file-prefix] > [-o outfile] [-p name-prefix] > [--debug] [--defines] [--fixed-output-files] [--no-lines] > [--verbose] [--version] [--help] [--yacc] > [--no-parser] [--token-table] > [--file-prefix=prefix] [--name-prefix=prefix] > [--output=outfile] grammar-file > > Report bugs to bug-bison@gnu.org > > which doesn't say anything about a -S switch (GNU programs are supposed > to display all possible switches in the help screen, aren't they?). if it is still the same one i put together a while ago, the one in win32build.zip is compiled with msvc6 from the 'stock' gnu source, and *not* with cygwin. there's no -S option because that appears to be a non-standard extension that someone added along the line for a version of bison used to compile php3. the correct way to specify the path to the skeleton file is to set the BISON_SIMPLE environment variable. don't know if that helps. jim

« previous php.dev (#42229) next »