I'm trying to compile gpc-20040516 with gcc-core-3.4.2 in the hope it will sort out a compatibility problem when linked with other c-code we've built. I found Waldek's patches to gpc proper and gcc 3.4.20041015 (I've also tried the 3.4.0 patch) and applied these using $ patch -p1 < XX.diff in the respective source directories. However, the make crashes, firstly with
../../gcc-3.4.2/gcc/p/mk_lang_opt: Permission denied.
So I do a chmod +x on this file and type make again. The next worry comes when it says I should have 16 shift/reduce conflicts and 30 reduce/reduce conflicts but I get 16 and 295!
The final nail in the coffin appears when p/handle-opts.c produces a string of errors because the OPT_* components are undeclared. Just before this, lang.c reports a number of warnings about function declarations not being prototypes and no previous prototype for 'pascal_post-options' or 'pascal_handle_option'.
Am I doing something silly? I've been building gpc with gcc-3.3.2 without any difficulty.
Regards
David Wood QinetiQ Farnborough
The Information contained in this E-Mail and any subsequent correspondence is private and is intended solely for the intended recipient(s). For those other than the recipient any disclosure, copying, distribution, or any action taken or omitted to be taken in reliance on such information is prohibited and may be unlawful.
Emails and other electronic communication with QinetiQ may be monitored. Calls to QinetiQ may be recorded for quality control, regulatory and monitoring purposes.