www.delorie.com/archives/browse.cgi   search  
Mail Archives: djgpp/2001/12/05/12:01:45

X-Authentication-Warning: delorie.com: mailnull set sender to djgpp-bounces using -f
Date: Wed, 5 Dec 2001 18:39:14 +0200 (WET)
From: Andris Pavenis <pavenis AT lanet DOT lv>
X-Sender: pavenis AT ieva06
To: Thomas Bonner <bonner AT ivp DOT bepr DOT ethz DOT ch>
Cc: djgpp AT delorie DOT com
Subject: Re: g77 problem
In-Reply-To: <001901c17da6$b0c44360$44348481@ethz.ch>
Message-ID: <Pine.A41.4.05.10112051829270.85768-100000@ieva06>
MIME-Version: 1.0
Reply-To: djgpp AT delorie DOT com
Errors-To: nobody AT delorie DOT com
X-Mailing-List: djgpp AT delorie DOT com
X-Unsubscribes-To: listserv AT delorie DOT com


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 -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019