Prof A Olowofoyeku (The African Chief) wrote:
On 14 Oct 2003 at 7:00, Frank Heckenbach wrote:
Attached is an experimental patch to work around the problem. It uses the `--print-needed-options' mechanism, i.e. gpc --print-needed-options <your other options> somefile.pas will output to standard error(!) the options that must be given to the actual compilations.
[...]
After applying the patch, I get this error:
../../gcc/p/lang.c: In function `lang_init': ../../gcc/p/lang.c:487: error: `flag_iso' undeclared (first use in this function)
I see that flag_iso is declared in c-common.h which is specific to C and similar language frontends.
[...]
Well, after I removed the files in <build>/p/rts and amended the rts configure (for timezone - see my other post) and rebuilt stuff, the error seems to have disappeared.
You mean without the addition of `#define flag_iso ...'? That would be strange again, since I can actually see the cause of the problem (on affected targets).
Frank