Mirror of the gdb mailing list
 help / color / mirror / Atom feed
* RE: MT_CFLAGS
@ 2008-01-24 15:21 Aleksandar Ristovski
  2008-01-24 15:27 ` MT_CFLAGS Daniel Jacobowitz
  0 siblings, 1 reply; 5+ messages in thread
From: Aleksandar Ristovski @ 2008-01-24 15:21 UTC (permalink / raw)
  To: Daniel Jacobowitz, Aleksandar Ristovski; +Cc: gdb

> -----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


^ permalink raw reply	[flat|nested] 5+ messages in thread
* MT_CFLAGS
@ 2008-01-24 15:08 Aleksandar Ristovski
  2008-01-24 15:12 ` MT_CFLAGS Daniel Jacobowitz
  2008-01-24 17:20 ` MT_CFLAGS Mark Kettenis
  0 siblings, 2 replies; 5+ messages in thread
From: Aleksandar Ristovski @ 2008-01-24 15:08 UTC (permalink / raw)
  To: gdb

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?

Thanks,

---
Aleksandar Ristovski
QNX Software Systems


^ permalink raw reply	[flat|nested] 5+ messages in thread

end of thread, other threads:[~2008-01-24 17:20 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2008-01-24 15:21 MT_CFLAGS Aleksandar Ristovski
2008-01-24 15:27 ` MT_CFLAGS Daniel Jacobowitz
  -- strict thread matches above, loose matches on Subject: below --
2008-01-24 15:08 MT_CFLAGS Aleksandar Ristovski
2008-01-24 15:12 ` MT_CFLAGS Daniel Jacobowitz
2008-01-24 17:20 ` MT_CFLAGS Mark Kettenis

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox