Go Back   MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Reply
 
Thread Tools Search this Thread Display Modes
Old Feb 27, 2012, 10:51 PM   #1
moralreef
macrumors newbie
 
Join Date: Feb 2012
peek at passed gcc arguments on build and run

hello team.

I'm looking to gain a lot more knowledge in my passing ignorance of compiler arguments and commands, and thought the likely best way to start is to tweak the compiler instructions in xcode 4.2 and see how it affects what is feeding into gcc/clang.

any idea how to achieve this?
moralreef is offline   0 Reply With Quote
Old Feb 28, 2012, 01:43 AM   #2
itsmrjon
macrumors regular
 
Join Date: Jun 2011
Location: Chicago
Quote:
Originally Posted by moralreef View Post
hello team.

I'm looking to gain a lot more knowledge in my passing ignorance of compiler arguments and commands, and thought the likely best way to start is to tweak the compiler instructions in xcode 4.2 and see how it affects what is feeding into gcc/clang.

any idea how to achieve this?
If I have a correct understanding of what you're trying to achieve:
compile with -v -Wall

This will give you a verbose output of everything the compiler is doing.
__________________
You can have your own opinions, but you can't have your own facts.
itsmrjon is offline   0 Reply With Quote
Old Feb 28, 2012, 05:59 AM   #3
gnasher729
macrumors G5
 
gnasher729's Avatar
 
Join Date: Nov 2005
Quote:
Originally Posted by moralreef View Post
hello team.

I'm looking to gain a lot more knowledge in my passing ignorance of compiler arguments and commands, and thought the likely best way to start is to tweak the compiler instructions in xcode 4.2 and see how it affects what is feeding into gcc/clang.

any idea how to achieve this?
"Show Log Navigator" (command-7), click on one of the "Build" items, switch on "All" instead of "Recent" and "All Messages", click on the line that built an item you are interested in, and expand with the "multi-line" symbol on the right.
gnasher729 is offline   1 Reply With Quote

Reply
MacRumors Forums > Apple Systems and Services > Programming > Mac Programming

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Similar Threads
thread Thread Starter Forum Replies Last Post
How do I build a Safari plugin that can run a shell script? moonman239 Mac Programming 1 May 9, 2014 06:46 PM
Does your Mac have to be registered to run the developer build? blasto2236 OS X Mavericks (10.9) 5 Jun 10, 2013 10:57 PM
For ALL you flight simers out there! Everyone should take a peek PracticalMac iPad 0 Aug 2, 2012 03:31 PM
Run executable from Xcode External Build System Project bogatyr Mac Programming 1 Jun 28, 2012 12:07 PM

Forum Jump

All times are GMT -5. The time now is 02:19 AM.

Mac Rumors | Mac | iPhone | iPhone Game Reviews | iPhone Apps

Mobile Version | Fixed | Fluid | Fluid HD
Copyright 2002-2013, MacRumors.com, LLC