Re: bison problems when compiling under win32

From: Date: Sun, 24 Dec 2000 10:42:45 +0000
Subject: Re: bison problems when compiling under win32
References: 1  Groups: php.dev 
Request: Send a blank email to php-dev+get-42212@lists.php.net to get a copy of this message
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] [--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?). 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-file Report 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 : :

« previous php.dev (#42212) next »