Re: bison problems when compiling under win32
| From: | Zeev Suraski | Date: | Sun, 24 Dec 2000 10:45:29 +0000 |
| Subject: | Re: bison problems when compiling under win32 | ||
| References: | 1 | Groups: | php.dev |
| Request: | Send a blank email to php-dev+get-42213@lists.php.net to get a copy of this message | ||
Hmm, looks like Cygnus took this option away in newer versions :I
[d:\projects]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]
[-S simple_parser] [-H hairy_parser] [-L libdir]
[--simple-parser=filename] [--hairy-parser=filename]
[--library=dirname] [--output=outfile] grammar-file
[d:\projects]bison --version
GNU Bison version 1.25
At 12:42 24/12/2000, Toby Butzon wrote:
Thanks for the reply, Zeev. 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]-- Zeev Suraski <zeev@zend.com> CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/[--debug] [--defines] [--fixed-output-files] [--no-lines] [--verbose] [--version] [--help] [--yacc] [--no-parser] [--token-table] [--file-prefix=prefix] [--name-prefix=prefix] [--output=outfile] grammar-fileReport 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?). Here's the output MSVC6 gives me, if it's of any use: --------------------Configuration: ZendTS - Win32 Release_TS-------------------- Performing Custom Build Step on ".\zend_language_parser.y" bison: invalid option -- S 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-fileReport bugs to bug-bison@gnu.org (BTW, that's the other copy of bison I have - the copy that's packed in win32build.zip.) Any further help would be greatly appreciated. Thanks ;) Toby Butzon [ criticism spurs improvement ] ----- Original Message ----- From: "Zeev Suraski" <zeev@zend.com> To: "Toby Butzon" <TButzon@ImAWebDesigner.com> Cc: <php-dev@lists.php.net> Sent: Sunday, December 24, 2000 5:25 AM Subject: Re: [PHP-DEV] bison problems when compiling under win32 : At 10:42 24/12/2000, Toby Butzon wrote: : >Hi - : > : >Thanks to whoever sent the link for instructions on how to compile under : >win32. Now I'm having another problem... bison is set to run : > : >bison --output=zend_language_parser.c -v -d -S : >"%CYGWIN%\share\bison.simple" -p zend zend_language_parser.y : > : >but it's giving me command line argument errors... the first one is : >something about "-S" not being a valid switch. : : You probably have an old version of bison... : : Zeev : : -- : Zeev Suraski <zeev@zend.com> : CTO & co-founder, Zend Technologies Ltd. http://www.zend.com/ : : : -- : PHP Development Mailing List <http://www.php.net/> : To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net : For additional commands, e-mail: php-dev-help@lists.php.net : To contact the list administrators, e-mail: php-list-admin@lists.php.net : : -- PHP Development Mailing List <http://www.php.net/> To unsubscribe, e-mail: php-dev-unsubscribe@lists.php.net For additional commands, e-mail: php-dev-help@lists.php.net To contact the list administrators, e-mail: php-list-admin@lists.php.net