target/4789: [DJGPP] preprocessing fortran files by cpp with extension .f
Neil Booth
neil@daikokuya.demon.co.uk
Tue Jan 8 10:46:00 GMT 2002
The following reply was made to PR target/4789; it has been noted by GNATS.
From: Neil Booth <neil@daikokuya.demon.co.uk>
To: Andris Pavenis <pavenis@latnet.lv>
Cc: neil@gcc.gnu.org, bonner@ivp.bepr.ethz.ch, gcc-bugs@gcc.gnu.org,
toon@gcc.gnu.org, gcc-gnats@gcc.gnu.org
Subject: Re: target/4789: [DJGPP] preprocessing fortran files by cpp with extension .f
Date: Tue, 8 Jan 2002 18:42:31 +0000
Andris Pavenis wrote:-
> The problem appears when -remap is used in specs in cpp_options. cpp_options
> settings are common for both tradcpp0 and cpp0. For DJGPP we need -remap
> to avoid need to use changed names of include files (DJGPP can be used under
> plain MS-DOS when we only have 8+3 filename limitations). -remap is not
> recognized by tradcpp0 as valid option. Unfortunatelly tradcpp0 and cpp0 are
> used also directly in specs not only through trad_capable_cpp (otherwise I
> could change there)
Are you saying that getting tradcpp to recognize and ignore -remap
would fix it? Or does tradcpp require a -remap implementation?
> I tried to fix that for DJGPP port of gcc-3.0.3, but it required to
> add options specially for cpp0 only (not for tradcpp0) and to use
> this new spec where needed (in cp/lang-specs.h and f/lang-specs.h,
> gcc.c, etc)
What exactly did you do?
Neil.
More information about the Gcc-prs
mailing list