XCode with external make/Makefile

Joined
Jan 22, 2011
Messages
2
Reaction score
0
Points
1
Hi,

I am using XCode 3.2 (64-bit) on a Mac Book Pro 3,1 Intel Core 2 Duo with Mac OS X 10.6.6 and I would like to use my own makefile to compile C++ code. I set up a new target within my XCode project with "build tool /usr/bin/make" which is gmake 3.82 built for x86_64-apple-darwin10.6.0.

Before I create this new target in XCode, I can chose beween architectures ppc, i386 and x86_64 (which is what I want). However, after creating the target as described the architecture is automatically set to i386, I am no more able to select another one and compilation fails since I need x86_64.

Any idea what could go wrong and how I can create a target for using x86_64 architecture ?

Thanks,
Matt
 
OP
M
Joined
Jan 22, 2011
Messages
2
Reaction score
0
Points
1
OK, I think I got it.

I had to introduce
ARCHS = x86_64
at the build settings of the target ....
 

Shop Amazon


Shop for your Apple, Mac, iPhone and other computer products on Amazon.
We are a participant in the Amazon Services LLC Associates Program, an affiliate program designed to provide a means for us to earn fees by linking to Amazon and affiliated sites.
Top