• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Seeing preprocessor defines with -dM
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Seeing preprocessor defines with -dM


  • Subject: Re: Seeing preprocessor defines with -dM
  • From: Andrew Duncan <email@hidden>
  • Date: Tue, 17 Feb 2004 09:00:00 -0800

Thanks, Chris. Still some questions.

From: Chris Espinosa <email@hidden>
Subject: Re: Seeing preprocessor defines with -dM
Date: Mon, 16 Feb 2004 17:17:41 -0800

The gcc command line interface provides the -dM option for sending to
stdout all symbols defined to the preprocessor for a given compilation
unit. Can I get this functionality in Xcode?

As with all gcc command line options, you can put this in "Other C Flags" and it will take effect, as long as it doesn't cause conflicts with settings that Xcode defines (for this one, I doubt that it does conflict)

Did this.

Or perhaps this question is equivalent to: where does stdout go?

Built-time output goes to the Detailed Build results window. Choose Show Detailed Build results from the Build window. THeres a widget at the upper-right that, when clicked, shows the full text log of the build, and it will be there.

Did this too; I see the command line commands & their arguments, but no output from the compiler.
_______________________________________________
xcode-users mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/xcode-users
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Seeing preprocessor defines with -dM
      • From: Chris Espinosa <email@hidden>
  • Prev by Date: Re: Am I being debugged?
  • Next by Date: Why do some build settings have lines through them?
  • Previous by thread: Re: Seeing preprocessor defines with -dM
  • Next by thread: Re: Seeing preprocessor defines with -dM
  • Index(es):
    • Date
    • Thread