Mail Archives: djgpp/2001/12/05/12:01:45
On Wed, 5 Dec 2001, Thomas Bonner wrote:
>
> ----- Original Message -----
> From: <pavenis AT lanet DOT lv>
> To: <bonner AT ivp DOT bepr DOT ethz DOT ch>
> Cc: <djgpp-workers AT delorie DOT com>
> Sent: 05 December, 2001 15:08
> Subject: Re: g77 problem
>
>
> > On 22 Nov 2001 at 11:50, pavenis AT lanet DOT lv wrote:
> >
> > > On 22 Nov 2001 at 9:26, Thomas Bonner wrote:
> > >
> > > > Hi,
> > > > I upgraded to version 3.02 and found the following problem with g77:
> > > >
> > > > g77 test.fpp
> > > > c:/djgpp/lib/gcc-lib/djgpp/3.02/tradcpp0.exe: Invalid option `-remap'
> > > >
> > > > this happens only with fortran files to be preprocessed (.fpp
> extension).
> > > >
> >
> > Please try my latest build of development version of gcc-3.0.3 (note that
> gcc-
> > 3.0.3 is not released yet, so be carefull with prerelease). I tried to fix
> this
> > problem there:
> >
> > http://www.ltn/lv/~pavenis/gcctest.html
> >
> > Andris
> >
> >
> >
>
> Just installed 3.0.3 (gcc and g77) and tried it out. g77 is now working, but
> another problem occured with gcc, which I could reduce to the following
> sample
> code:
>
> int main()
> {
> # if DJGPP
> printf ("DJGPP\n");
> # else
> printf ("TEST\n");
> # endif
> }
>
> The (predefined) symbol DJGPP isn't working in version 3.0.3. (gcc -dM
> test.c
> had this symbol in its output list).
I saw that and fixed it (I hope). All this needed modifying specs used
to run compilers and preprocessor and some place were left not changed
as needed.
Please get updated archives and test again
One possible problem: DJGPP_MINOR is not defined when tradcpp0 is being
used as "-remap -imacros %sdjgpp.ver" is omitted from specs when using
tradcpp0 (it's so when preprocessing FORTRAN sources)
Andris
- Raw text -