On Thu, 2007-11-15 at 20:51 +0100, Jacek M. Holeczek wrote:
> > > > src/gcc/gcc/config/arm/{wince-cegcc,mingw32}.h
> > >
> > > Sorry, I've been looking for them in the include files.
> > > Anyhow, I don't really understand how the user is getting these macros.
> 
> I'm sorry, but I did try "arm-wince-mingw32ce-g++ -v".
> I get NO flags listed.
> It seems that there is a really significant difference betwwen "cegcc" and
> "mingw32ce" compilers.

I agree, see my second message. I've just committed a fix for this.

> The problem with a new include file is that there is no way to test
> whether it exists in advance. If one puts "#include <cegcc.h>" and the
> file does not exist, one is lost.
> That is why I am trying to find a solution which will be backwards
> compatible

I understand. Shouldn't this work ?
  #if defined(__CEGCC__) || defined(__MINGW32CE__)
  #include <cegcc.h>
  #endif

  #if defined(__CEGCC__)
  #if (__CEGCC_MAJOR__ > 0 || __CEGCC_MINOR__ > 50)
  ...

Danny
--
Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info


-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2005.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
Cegcc-devel mailing list
Cegcc-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/cegcc-devel

Reply via email to