Re: `define __SIMULATOR__

From: Geoffrey.Coram <Geoffrey.Coram@analog.com>
Date: Wed May 26 2004 - 06:15:14 PDT

I believe the Tiburon folks have already given this a nod,
and they're concerned about multi-simulator support.

Clearly, a multi-simulator compiler must convert such an
`ifdef into some sort of run-time if statement. I believe
this is possible. However, using a run-time if statement
simply won't work if the statements inside the if are
not parsable by other simulators.

-Geoffrey

Lemaitre Laurent-r29173 wrote:
>
> Geoffrey,
>
> Just a tought.
> __SIMULATOR__ means the the vla code will be parsed
> then used by the same target simulator.
> If a company writes a VLA compiler that will target
> different simulators at the same time and if its compiler
> has specific VLA constructs then the __SIMULATOR__ name will
> be unappropriate. (may-be this is something that will never happen).
>
> Laurent Lemaitre
> Freescale - Geneva
Received on Wed May 26 06:15:20 2004

This archive was generated by hypermail 2.1.8 : Wed May 26 2004 - 06:15:30 PDT