MT_CFLAGS

Aleksandar Ristovski ARistovski@qnx.com
Thu Jan 24 15:21:00 GMT 2008


> -----Original Message-----
> From: Daniel Jacobowitz
> 
> On Thu, Jan 24, 2008 at 10:07:47AM -0500, Aleksandar Ristovski wrote:
> > Hello,
> >
> > I see that MT_CFLAGS is gone from Makefile.in.
> >
> > What is the alternative to getting the same result? I need to add a
> target
> > specific #define to CC, e.g. -DMY_DEFINE. What is the correct approach?
> 
> It was removed because we try not to add target-specific defines any
> more.  What do you need it for?
> 
> Normally proper use of gdbarch and target inheritance is enough.

I want to implement some fix-ups (workarounds) that are really specific to
us and have to be made in gdb files (not ours). The workarounds are not
candidates for mainstream, so I am wrapping them in our #ifdef-s... No big
deal really, I just thought there was a 'correct' way to do it. 

But maybe you have some other suggestion?

Thanks,

Aleksandar



More information about the Gdb mailing list