Date: 12/24/00
- Next message: r.j.vrijhof <email protected>: "[PHP-DEV] PHP 4.0 Bug #8400: Problem with exec(), system(), passthru() and backtick operator"
- Previous message: Toby Butzon: "Re: [PHP-DEV] bison problems when compiling under win32"
- In reply to: Toby Butzon: "Re: [PHP-DEV] bison problems when compiling under win32"
- Next in thread: Alex Akilov: "Re: [PHP-DEV] bison problems when compiling under win32"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
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]
> [--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 <email protected>
>
>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 <email protected>
>
>(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 <email protected>>
>To: "Toby Butzon" <TButzon <email protected>>
>Cc: <php-dev <email protected>>
>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 <email protected>>
>: 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 <email protected>
>: For additional commands, e-mail: php-dev-help <email protected>
>: To contact the list administrators, e-mail: php-list-admin <email protected>
>:
>:
>
>
>--
>PHP Development Mailing List <http://www.php.net/>
>To unsubscribe, e-mail: php-dev-unsubscribe <email protected>
>For additional commands, e-mail: php-dev-help <email protected>
>To contact the list administrators, e-mail: php-list-admin <email protected>
-- Zeev Suraski <zeev <email protected>> 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 <email protected> For additional commands, e-mail: php-dev-help <email protected> To contact the list administrators, e-mail: php-list-admin <email protected>
- Next message: r.j.vrijhof <email protected>: "[PHP-DEV] PHP 4.0 Bug #8400: Problem with exec(), system(), passthru() and backtick operator"
- Previous message: Toby Butzon: "Re: [PHP-DEV] bison problems when compiling under win32"
- In reply to: Toby Butzon: "Re: [PHP-DEV] bison problems when compiling under win32"
- Next in thread: Alex Akilov: "Re: [PHP-DEV] bison problems when compiling under win32"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]

