Using AppCode for non-Apple targets?
Hi. Is it possible to use AppCode with other builds of GCC? I do a lot of ARM and AVR development, but always with Makefiles. Can I use AppCode for this? Can it talk to other GDB versions and servers?
Thanks!
Please sign in to leave a comment.
Technically this is possible - you can use Xcode's External Build System targets and configure them to use your makefiles
Though, at the moment AppCode doesn't support such targets, please follow http://youtrack.jetbrains.com/issue/OC-3037 to see the progress.
Please note, that AppCode is targeted to MacOS/iOS development with the corresponding SDKs and tools - other tools are out of the scope and not our primary priority.
I've had very very good luck using AppCode for ARM embedded development. I set up an SDK for the arm target. I created directory alongside existing SDKs in /Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/ and made "usr" be a symlink to the arm-none-eabi directory of my compiler toolchain. I copied the "SDKSettings.plist" from one of the existing SDKs and slightly edited to change names, etc. This SDK then shows up in AppCode project settings!
I don't use the AppCode build system; I do builds from command line. But I do get code completion include system header files. AppCode's C++ code completion is awesome!
Thanks JetBrains!
-c
I spent a little time trying to get XCode to use gdb to debug arm targets, but I fail because:
The "remote" target does not support "run".
brains.cidr.execution.debugger - <(gdb)
brains.cidr.execution.debugger - >-exec-run
brains.cidr.execution.debugger - <^error,msg="Don't know how to run. Try \"help target\"."
brains.cidr.execution.debugger - Don't know how to run. Try "help target".
com.intellij.execution.ExecutionException: Don't know how to run. Try "help target".
at com.jetbrains.cidr.execution.ExecutionResult.get(ExecutionResult.java:51)
at com.jetbrains.cidr.execution.debugger.backend.gdb.GDBDriver.executeCommand(GDBDriver.java:1675)
I hesitate to ask this because I know this is super low down on your priority list, but is there any chance you could release source code for com.jetbrains.cidr.execution.debugger.backend.gdb.GDBDriver ?
I think together we could make AppCode be super awesome IDE for Arduino / embedded development. :)
Thanks,
-c
Christopher,
we don't have plans to release source code, though we are planning to support 'external' target types in the next major version (OC-1017); and we'll see what we can do about the debugger as well.
Please leave a comment in the issue.