Re: Is there still no way to just compile a single file?
Re: Is there still no way to just compile a single file?
- Subject: Re: Is there still no way to just compile a single file?
- From: Steve Mills <email@hidden>
- Date: Mon, 15 Jul 2013 15:13:42 -0500
On Jul 15, 2013, at 14:52:30, Fritz Anderson <email@hidden> wrote:
> On 14 Jul 2013, at 10:06 AM, Mills, Steve <email@hidden> wrote:
>
>> There sure used to be, but they deemed it unnecessary in Xcode 4, and it's a glaring omission. It's not good to lose control of that to some mystery system where it pre-checks the syntax and all that, but doesn't actually compile the object file.
>
> I'm not sure I take your point? All the syntax-checking is done in the front end of the compiler, which is what the live checking uses. Generating the .o file is little more than reformatting. Do you simply want the .o in hand, as an end in itself? I'm curious to know why.
>
> It used to be that Xcode (as far back as 2?) would compile files to objects in the idle time during editing, but it looks as through that isn't so any more.
>
> You lost total control the day you started using an IDE. If you want to take the "mystery" out of it, the command line is the way to go.
The point is that often times I sit there waiting for some background process to begin so it will check the syntax and index the current file that I've just made changes to and saved. But sometimes that never seems to come. At these times, it was a huge time saver when I could simply hit the Compile command and *know for sure* that my file compiles OK and has no errors. It also means it doesn't have to waste time compiling that file again when I go to build.
And for what it's worth, the old predictive compilation in Xcode 3 and earlier never worked reliably for the large projects I've always worked on, and perhaps also used too much CPU/disk, but it's been so long since I'd tried that feature that I don't remember.
--
Steve Mills
office: 952-818-3871
home: 952-401-6255
cell: 612-803-6157
_______________________________________________
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