构建iPhone应用程序时,如何看到确切的gcc命令行Xcode 3.2.6运行? [英] How can I see the exact gcc command line Xcode 3.2.6 runs when it builds an iphone app?

查看:62
本文介绍了构建iPhone应用程序时,如何看到确切的gcc命令行Xcode 3.2.6运行?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在尝试从源代码为iOS构建一个lib,我想知道是否有一种方法可以查看xcode为iOS构建应用程序时向gcc提供了哪些参数,以便我可以复制这些参数并进行构建命令行中只有gcc的我的应用.

I am trying to build an lib for iOS from source, and I want to know if there is a way to see what arguments are supplied to gcc when xcode build an app for iOS, so that i can copy those arguments and build my app from command line with only gcc.

我使用的是xcode 3.2.6,有些文章建议可以从构建结果"窗口中看到gcc命令行,但是对于我来说,这似乎是不正确的.

I'm using xcode 3.2.6, and some articles suggest gcc command line can be seen from the "Build Result" window, but seems like this is not true in my case.

有人知道我怎么能得到这些论点吗?

Anyone know how I can get those arguments?

推荐答案

您可以在构建结果"窗口中查找.如果您想满足好奇心,那就足够了.如果您真的想在命令行上构建应用程序,请查看xcodebuild,它是Xcode构建系统的命令行入口点.

You can look in the Build Results window. If you're looking to satisfy curiosity, that's enough. If you really want to build an app at the command line, have a look at xcodebuild, which is a command-line entry point to the Xcode build system.

这篇关于构建iPhone应用程序时,如何看到确切的gcc命令行Xcode 3.2.6运行?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆