Re: Basic use questions
Re: Basic use questions
- Subject: Re: Basic use questions
- From: Chris Espinosa <email@hidden>
- Date: Fri, 15 Feb 2008 09:01:28 -0800
Hi. I work on an embedded product that uses GCC to build. Eventually
I'd love to use Xcode to actually build and debug (talking to our
own version of GCC), but for now I'm content to use it as a file
browser.
I started by making an empty project, and then I dropped my local
copy of our sources (the top directory) into it. BTW, Xcode churned
for a long time, my fans ran hard, and then it crashed.
Please file a Radar bug with a crash log.
I tried again, just dropping some sub-modules into Xcode.
Now, I'd like to try to compile some of the files (which I expect
will fail), but I don't know how to set up the rest of Xcode
(targets, etc.) to do this (I've always started from templates).
It's easier to set up the target first, then add your sources. There
are templates for most interesting target types, and you can start
with one that'sclose to what you need and modify it.
I created a Static Library target, and added some of the files to
it, but when I try to compile, it just bonks at me.
If you added the files first, then created the target, you probably
didn't add the sources to the target.
Just drag and drop the sources into the target icon.
Does Xcode need to compile to enable the code browsing (i.e. command-
double-click to find the declaration of a symbol)?
No, indexing is done on a background thread unrelated to compiling.
But it, too, bases some of its work (like finding headers) on target
settings, so it won't work as well for files not in a target.
Any pointers?
There's a user guide that explains the basics that might be worth
reading. Help > Xcode User Guide.
Chris
_______________________________________________
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