Frank Eigler wrote:

>You need to teach your simulator to pass environment variables on ...

Thanks for the reply.

To pass on the environment variables from simulator to a.out which 
is targeted for machine different than host would require simulator
to pass the data to a.out (other than command line arguments).
Can we do this?

>Since command line arguments are (sometimes) passed on, perhaps you
>could write a short routine that parses MUDFLAP_OPTIONS from there
>and calls __mf_set_options.

You mean to say that instead of setting environment variable, 
I should pass mudflap runtime controlling options (for eg: -print-leaks)
as command line arguments and add a routine to detect them.

Regards
Deepen Mantri
   
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Free download of GNU based tool-chains for Renesas' SH, H8,
R8C,M16C and M32C Series. The following site also offers free 
technical support to its users. 
Visit http://www.kpitgnutools.com for details.
Latest versions of KPIT GNU tools were released on Feb 6, 07
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

Reply via email to