Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Build error when following QNX example: (7 Items)
   
Build error when following QNX example  
Hi,
I'm new to QNX\IDE, while going over "Examples of creating Makefiles" in "Conventions for Recursive Makefiles and 
Directories" help file, I'm getting "C:/DOCUME~1/rwainste/LOCALS~1/Temp/make9936-1.sh: line 1: gcc: command not found
make[1]: *** [lharc.o] Error 127" when compiling the demo source code. I'm using QNX 6.5.0 version. 

Thanks
Re: Build error when following QNX example  
Did you install SDP 6.5? IDE alone would not work.

On 02/12/10 02:29 PM, ran wainstein wrote:
> Hi,
> I'm new to QNX\IDE, while going over "Examples of creating Makefiles" in "Conventions for Recursive Makefiles and 
Directories" help file, I'm getting "C:/DOCUME~1/rwainste/LOCALS~1/Temp/make9936-1.sh: line 1: gcc: command not found
> make[1]: *** [lharc.o] Error 127" when compiling the demo source code. I'm using QNX 6.5.0 version. 
> 
> Thanks
> 
> 
> 
> _______________________________________________
> 
> General
> http://community.qnx.com/sf/go/post76934
> 
Re: Build error when following QNX example  
Thanks,
Sure, I can build and run applications on my target HW and VM. 

Ran
Re: Build error when following QNX example  
I don't understand this statement. If you can build an application you should not be having this error. This error means
 you don't have gcc installed on your host, meaning you don't have SDP installed most likely,
Re: Build error when following QNX example  
This is way i find this strange..maybe the source code is assuming a different QNX SDP installed. 
Re: Build error when following QNX example  
On 10-12-02 03:03 PM, ran wainstein wrote:
> This is way i find this strange..maybe the source code is assuming a
> different QNX SDP installed.

It's trying to call a native 'gcc', not one of the Neutrino cross 
compilers (e.g. qcc, ntox86-gcc, etc).  Which project did you pick?

Regards,

Ryan Mansfield
Re: Build error when following QNX example  
I guess I need to build it on a Linux machine, I've used my Windows PC.

Thanks, 
Ran