Mirror of the gdb mailing list
 help / color / mirror / Atom feed
From: Mark Kettenis <mark.kettenis@xs4all.nl>
To: ARistovski@qnx.com
Cc: gdb@sourceware.org
Subject: Re: MT_CFLAGS
Date: Thu, 24 Jan 2008 17:20:00 -0000	[thread overview]
Message-ID: <200801241720.m0OHKJsv009187@brahms.sibelius.xs4all.nl> (raw)
In-Reply-To: <A9FFF34802177745923A920824CCD8412F5B5F@nova.ott.qnx.com> 	(message from Aleksandar Ristovski on Thu, 24 Jan 2008 10:07:47 -0500)

> From: Aleksandar Ristovski <ARistovski@qnx.com>
> Date: Thu, 24 Jan 2008 10:07:47 -0500
> 
> 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?

If this is needed for building a native debugger, the correct approach
is to add an autoconf "check" that results in the right symbol being
defined in config.h.

If this is needed for building target-specific code, you're doing
something wrong.  The code for that should not depend on any
predefined symbols.


  parent reply	other threads:[~2008-01-24 17:20 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-01-24 15:08 MT_CFLAGS Aleksandar Ristovski
2008-01-24 15:12 ` MT_CFLAGS Daniel Jacobowitz
2008-01-24 17:20 ` Mark Kettenis [this message]
2008-01-24 15:21 MT_CFLAGS Aleksandar Ristovski
2008-01-24 15:27 ` MT_CFLAGS Daniel Jacobowitz

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=200801241720.m0OHKJsv009187@brahms.sibelius.xs4all.nl \
    --to=mark.kettenis@xs4all.nl \
    --cc=ARistovski@qnx.com \
    --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