From: Aleksandar Ristovski <ARistovski@qnx.com>
To: Daniel Jacobowitz <drow@false.org>,
Aleksandar Ristovski <ARistovski@qnx.com>
Cc: gdb@sourceware.org
Subject: RE: MT_CFLAGS
Date: Thu, 24 Jan 2008 15:21:00 -0000 [thread overview]
Message-ID: <A9FFF34802177745923A920824CCD8412F5B67@nova.ott.qnx.com> (raw)
> -----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
next reply other threads:[~2008-01-24 15:21 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2008-01-24 15:21 Aleksandar Ristovski [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=A9FFF34802177745923A920824CCD8412F5B67@nova.ott.qnx.com \
--to=aristovski@qnx.com \
--cc=drow@false.org \
--cc=gdb@sourceware.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox