Russell Whitaker wrote
On Tue, 16 Sep 2003, Waldek Hebisch wrote:
Gerrit P. Haase wrote:
what is the status of GPC? Is it possible to build it with GCC 3.3.1? i would like to provide a precompiled version of GPC for Cygwin with the latest GCC. Are there still some patches which I need to apply (i.e. regarding the use on Cygwin)?
GPC should build out of the box with GCC 3.3.1 on most platforms. However:
- There were bugs in gpc-20030830. Most problems should be fixed now but you must fetch the latest version (the patched tarball replaced the broken one without change of filename) or apply patches posted to this list. Also, we still wait for build reports -- more problems may show up.
fetched latest full tarball; used 3.3.1; got to here:
parse.y:100: unrecognized: %glr-parser parse.y:100: Skipping to next % parse.y:744: type clash (`' `itype') on default action parse.y:2861: type clash (`' `ttype') on default action make[2]: *** [../../gcc-3.3.1/gcc/p/parse.h] Error 1 make[1]: *** [stage2_build] Error 2 make: *** [bootstrap] Error 2
That is easy: after unpackig the tarball do 'touch parse.h'. Otherwise make tries to re-make parse.c and parse.h, and that requires very new version of bison. In fact only Frank has the correct version (I have one which works after I hand-edit the output).
meanwhile. a suggestion: when changing the tarball without a name change add a revision letter to the tarball itself.
perhaps thus: gpc-20030830.tar.gz becomes gpc-20030830a.tar.gz (the untared gpc is still gpc-20030830/ )
I agree. However, it is probably better to bump version number even on really small change (easier on auto-build scripts).