What is the output file extension for builds (Indigo running on a MAC)? [message #697255] |
Fri, 15 July 2011 18:55  |
Eclipse User |
|
|
|
Hi - this is a repost from an earlier thread that I'm trying to get answers to.
I have CDK toolchain, as well as other software (see original post), and I'm trying to build and debug a very simple C program in eclipse Indigo (running on a Mac, if that makes any difference). The program runs fine, but when I try to debug it, it says the "Program is not a recognized executable", and hence my question:
I noticed the output file for both the release and debug builds have no extensions. I'm thinking I'm getting the above error message due to a missing extension on the output file name. (correct me if this is not the case - the program "runs" fine). Anyway, I checked the default extensions for binaries are .exe, .elf. and .out. Does anyone know what the extension should be for an output file, if any, when running eclipse on a Mac? How come these builds do not put an extension on the output file? Do you know where that would be set in Eclipse?
Thanks,
Will
See the original thread for a complete description of the issue (posted by me on July 12, 2011) or by searching for message (post#) 696000
|
|
|
|
|
|
|
|
Re: What is the output file extension for builds (Indigo running on a MAC)? [message #768737 is a reply to message #768575] |
Tue, 20 December 2011 12:19  |
Eclipse User |
|
|
|
VGG wrote on Tue, 20 December 2011 12:53Hello,
Thanks Mueller for your reply.
My problem is yet not resolved as I'm not aware, as to where I've to make this change.
I'm very new to eclipse. So, please help me out.
I want to deug a remote Unix box from my Windows host PC. For that I was able to run [setting from "Run As" mode] remote application from host PC with zero error. It also shows my application output on console window. But when I do same setting with "debug as" mode then it displays:
" Cannot run program 'gdb': Launching failed " Error.
I've perform following setting in "Debug As" mdoe:
1. Main Tab -> Using Standard Remote Create Process Launcher
2. Debugger Tab -> a.) Main Tab: debugger: gdb & command line: .gdbinit & Protocol: Default
b.) Gdbserver Settings: gdbserver & port: 22
3. Common Tab -> a.) Standard Input and Output: Allocate console
b.) Encoding: Default
I've tried to cover all important setting I did, to explain you my problem. Please let me know how I can resolve it.
Regards,
VGG
You need a local gdb installation that will talk with the gdbserver on the remote host. Please use the search function of this forum to get the a more detailed answer (this was asked several times before).
|
|
|
Powered by
FUDForum. Page generated in 0.09900 seconds