site_archiver@lists.apple.com Delivered-To: darwin-dev@lists.apple.com Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:cc:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=9RmH6L7lTgq7P5V3NePUSzG6yAmZRwH1fyLlaFFOM+4=; b=jbY6lNg1SNUzOA4S2pR2oZV7LhQi387dWM/TfoO5im/A5xGnSg79SPi0KXi6q+cBww PTCIq4qVj7kklZPHMVmaBekhuy4FkdIcQJpC/yKm/DxNgOAAJmpoJC4Fo/xdO9oLuUgP UATKl7tiEAva+mV70OVsROxmPGW6pFb1jgRQc= Domainkey-signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:cc:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=BLR7+DNRibHXOAJ0EI4ms8tZ9pNNJ+LnuFvfkWwOaQkJqB9jm8Z3++4PFrvo1JdGns LXZFb5k5m5EUKzv1xufkQmJEIS4ZT8YqAVn8a1bCyVvdSRKngyQUctx1MxRJLATZGFiU Oq0w7hA8ZL9yg2Z6CCXVvC+Oi7LCFCe8GtCEY= On Thu, Aug 21, 2008 at 6:06 AM, David N. Williams <David.N.Williams@umich.edu> wrote:
I'm not doing very well searching the developer docs, nor with google, so I'd better ask. What's the replacement for the gcc_select command line tool in Xcode 3.1?
Are you building using Xcode 3.1? ...or are you building using Make? (not clear since you talk about Unix porting guide). If the former review... http://developer.apple.com/releasenotes/DeveloperTools/RN-Xcode/index.html --- New gcc-4.2 and llvm-gcc-4.2 Compilers Xcode 3.1 includes the gcc 4.2 compiler as an alternative system C / C++ / Objective-C compiler. In addition, the llvm-gcc-4.2 compiler is also included with Xcode 3.1. This compiler uses the LLVM backend and code generator with the gcc 4.2 parser, and supports C, C++, Objective-C, and Objective-C++. More information is available in the LLVM-GCC 4.2 Release Notes. To use either of these new compilers in a project, you can use the new Compiler Version build setting and choose the compiler you want from the popup menu. By changing this setting in different targets and configurations and using the per-architecture and per-SDK popups, you have fine-grained control over which compiler is used in different circumstances. Note that neither gcc-4.2 nor llvm-gcc-4.2 will compile code against the 10.4u or earlier SDK, or deploy for Mac OS X 10.4 or earlier. --- Compiler Version build setting The GCC_VERSION build setting is now present by default in the Build Settings pane, and allows you to set the preferred compiler version to any configured compiler (whether the compiler is installed at the moment or not). You can set the compiler version on a per-configuration basis, and use Conditional Build Settings to use different compiler versions for different architectures or SDKs. Note that this overrides (and is preferable to) setting the compiler version in the Build Rules inspector pane. Use that pane to use a custom compiler script if necessary, otherwise, the Compiler Version build setting is preferable. --- ...if the later... CC=gcc-4.2 ..or.. CC=gcc-4.0 -Shawn _______________________________________________ Do not post admin requests to the list. They will be ignored. Darwin-dev mailing list (Darwin-dev@lists.apple.com) Help/Unsubscribe/Update your Subscription: http://lists.apple.com/mailman/options/darwin-dev/site_archiver%40lists.appl... This email sent to site_archiver@lists.apple.com