re: Custom Platforms for Xcode
re: Custom Platforms for Xcode
- Subject: re: Custom Platforms for Xcode
- From: George Warner <email@hidden>
- Date: Wed, 29 Oct 2008 08:57:23 -0700
- Thread-topic: Custom Platforms for Xcode
On Tue, 28 Oct 2008 13:17:08 -0700, Greg Hulands <email@hidden>
wrote:
> I searched the list looking for some info on building a custom
> platform for Xcode, but couldn't find anything. I am building one for
> AVR microcontrollers so I can do all my development from within Xcode.
> I have all the templates loading fine and showing up in the UI. The
> problem I am having is when I try to compile.
>
> Checking Dependencies
> No architectures to compile for (ARCHS=i386, VALID_ARCHS=).
It appears that your new architecture isn't in the list of (valid)
architectures for the project that you are trying to build.
VALID_ARCHS = i386 ppc ppc64 ppc7400 ppc970 x86_64
This is a space-separated list of architectures for which the target could
be built. For each target, this list is intersected with the list specified
in 'Architectures', and the resulting set is built. This allows individual
targets to ³opt out² of building for particular architectures. If the
resulting set of architectures is empty, no executable will be produced.
This should be: "VALID_ARCHS = AVR"
ARCHS = $(ARCHS_STANDARD_32_BIT)
This is a list of the architectures for which the product will be built.
This is usually set to a predefined build setting provided by the platform.
If more than one architecture is specified, a universal binary will be
produced.
This should be: "ARCHS = AVR"
ONLY_ACTIVE_ARCH = NO
When checked, only the active architecture of the compiling machine is built
(for faster debugging turnaround). This should be off unless you're
compiling on an AVR machine (doubtful since Xcode won't run on AVR hardware
;-).
--
Enjoy,
George Warner,
Schizophrenic Optimization Scientist
Apple Developer Technical Support (DTS)
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Xcode-users mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden