vze35xda.DeleteThis@verizon.net (Jim Schimpf) writes:
> I am very interested in this also. Did you change the target via
> Rules tab of the Target <my target> Info window ? It seems to allow a
> custom script to handle C source files. Haven't done anything myself
> yet, waiting for someone smarter to try it :)
I come from a Linux environment and did once build GCC from source.
GCC will do cross-target compiling if the options have been compiled
in. You also need the appropriate libraries to link against, IIRC.
I only skimmed the details because I was not building a cross-compile
target at the time.
If you fetch the GCC sources from GNU, you can dig through the docs
and setup a cross compiler. You will be able to compile it with the
GCC that came with XCode. It is probably easier to do this all from
the command line.
I have GCC on a Debian box, so I'm not about to go to all that
trouble ;-). I'll just take my projects and rebuild them on that to
make sure the code will in fact build.
If an easier way to do this is found, let me know. I'm not using
XCode per se. I do plan to take advantage of the interface builder.
But my primary editor is Emacs and it is an IDE.
Good luck.
--
One Emacs to rule them all. One Emacs to find them,
One Emacs to take commands and to the keystrokes bind them,
All other programming languages wish they were Lisp.<!-- ~MESSAGE_AFTER~ -->
>> Stay informed about: How to extend Xcode gcc to cross compile - or why does gcc..