[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Another problem with egcs-1.0.2-prerelease





On Thu, 12 Mar 1998, Eric Norum wrote:

> > #elif defined(mcpu32) || defined(m68360)
> >
> 
> I don't think the latter will work since there seems to be no  
> guarantee what symbols will be predefined by the compiler.

OK.  Even if it is mcXXXX?

> I don't like the former, either -- feeling crotchety today, I guess.
> Application code may depend on the predefined symbols as well, and  
> may not include targopts.h.  (also it should be mcpu32, not  
> cpu32.....)

targopts.h is implicitily included by rtems.h.

> I think there are really only two options.  Either the compiler  
> predefines need to be standardized (fat chance...) or the -D flags  
> have to go into the xxxx.cfg files.

Now that we know the mc68xxx is predefined, shouldn't the code mbe
modified to use __mcXXX__?

--joel