Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - gcc compiler getting started: (4 Items)
   
gcc compiler getting started  
ok, i'm just looking to run or debug the hello world program
i downloaded cygwin w gcc and gdb , 
but my program's not see these i guess.
Re: gcc compiler getting started  
howard coven wrote:
> ok, i'm just looking to run or debug the hello world program
> i downloaded cygwin w gcc and gdb , 
> but my program's not see these i guess.

The gcc and gdb for Neutrino are part of the QNX Momentics suite. The 
native cygwin toolchain will not work as it will generate windows 
binaries. Once you have installed QNX Momentics, use either qcc, or the 
appropriate gcc driver (e.g ntox86-gcc, ntoarm-gcc, etc) to cross 
compile for Neutrino. Use the appropriate gdb for your target (e.g 
ntox86-gdb) to debug the program.

Regards,

Ryan Mansfield
Re: gcc compiler getting started  
ok, so i guess my problem is more about running it.
i think it builds ok, 
but then when i try to run

it tells me to Choose a configuration to run

Cygwin gdb Debugger
gdb Debugger
gdb/mi
gdbserver Debugger
MinGW gdb Debugger


whichever one i choose i then get

Error starting process
Cannot Run Program C:\...
Re: gcc compiler getting started  
You trying to run local configuration? You need to run remote (you developing for qnx right?) Use "Ten steps to run you 
first qnx program" user guide which will walk you though how to do it.