In this guide, we will uncover a few possible causes that might cause the Linux xcode kernel to crash, and then provide some potential recovery methods that you can try to fix the problem.
Fix your computer now with ASR Pro
[Ricard Diaz] told us about his guide to developing Linux apps for Mac. It uses a development environment provided only by XCode and it doesn’t take long to turn it into a complete Linux development solution.
A useful trick here is to use SSH to access a clean Linux environment. In this example, he uses Ubuntu as a virtual machine, but also mentions that the same part can be easily done with a separate computer as long as it is on the same network as the Mac. SSHFS (SSH File System) allows you to locally mount the actual development directory in a Linux jar file. This is where the XCode project resides and the files are saved, but the program is built using the script’s Linux machine method invoking the command over SSH. To test some of the newly created programs, [L] works with X11 forwarding for ssh, in addition to displaying the application whenever a window is launched on OSX, even if it’s running on an Ubuntu machine.
We actually use SSH and use it like nothing happened. Surprisingly, onhow convenient the following can be.
I’m trying to use XCode differently (using an external build utility) to develop a Linux kernel on ARM. Please note that I have all the compilers and cross-tools that work on Mac, but usually I would like to use XCode comfortably.
Standard creation step (create ARCH=arm CROSS_COMPILE=arm-none-eabi-uImage) seems to work, even though I can’t find any advice on:
(a) Create a target that requires a good shell entry (do ARCH=arm menuconfig). This still complains about “Error opening terminal: unknown” and works in your current background like in XCode 4. Any ideas how I can run can have an interactive shell in the human foreground?
(b) Use arm-none-eabi-gdb as this is my debugger. This is optional, but will be cleaner.
asked March 13, 2011 at 6:30 am