Project Home
Project Home
Source Code
Source Code
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - QCC Compiler not working: (9 Items)
   
QCC Compiler not working  
From http://www.qnx.com/developers/docs/6.3.0SP3/neutrino/utilities/q/qcc.html , I understand that QCC compiler should 
be a built in compiler in QNX Neutrino RTOS but I am constantly getting error as follows:

/bin/sh : QCC: cannot execute - No such file or directory

whenever I try to compile my program using the QCC compiler on terminal on QNX RTOS

Do we have to separately download QCC compiler and if yes please give me the download link

Thanks!
Shashank
Re: QCC Compiler not working  
On 10-06-22 04:33 AM, Shashank Todwal wrote:
>  From http://www.qnx.com/developers/docs/6.3.0SP3/neutrino/utilities/q/qcc.html , I understand that QCC compiler 
should
> be a built in compiler in QNX Neutrino RTOS but I am constantly getting error as follows:
>
> /bin/sh : QCC: cannot execute - No such file or directory
>
> whenever I try to compile my program using the QCC compiler on terminal on QNX RTOS

What version of Momentics do you have installed? The native self-hosted 
tools are only available for x86 and should be available in $QNX_HOST 
(depending on how you installed).

Regards,

Ryan Mansfield
Re: QCC Compiler not working  
Thanks for your reply Ryan

I have installed Momentics 6.4.1 on Windows but I have not installed it on the Neutrino RTOS. It compiles fine through 
the IDE but I want to change my source code and compile it in the RTOS itself w/o needing to switch in the IDE, 
compiling and transferring the file through USB to the VMware image of RTOS (as we can't easily transfer files from 
Windows to QNX if installed as a vmware image.)

I thought that the command line compiler comes built-in irrespective of whether we install Momentics. Isn't it?

Thanks!
Shashank
Re: QCC Compiler not working  
Correction: My QNX SDP version is 6.4.1 and Momentics IDE version is 4.6

Regards,
Shashank
Re: QCC Compiler not working  
On 10-06-22 08:57 AM, Shashank Todwal wrote:
> Thanks for your reply Ryan
>
> I have installed Momentics 6.4.1 on Windows but I have not installed it on the Neutrino RTOS. It compiles fine through
 the IDE but I want to change my source code and compile it in the RTOS itself w/o needing to switch in the IDE, 
compiling and transferring the file through USB to the VMware image of RTOS (as we can't easily transfer files from 
Windows to QNX if installed as a vmware image.)
>
> I thought that the command line compiler comes built-in irrespective of whether we install Momentics. Isn't it?

The toolchain is a part of Momentics not the Neutrino RTOS. Together 
Momentics and Neutrino form the QNX Software Development Platform (SDP). 
The self-hosted QNX 6.4.1 SDP will have the compiler.

Regards,

Ryan Mansfield
Re: QCC Compiler not working  
So no compiler in RTOS by itself?

Isn't there anything like "build-essentials" in linux/ubuntu?

Thanks!
Shahsnak
Re: QCC Compiler not working  
On 10-06-22 09:11 AM, Shashank Todwal wrote:
> So no compiler in RTOS by itself?
>
> Isn't there anything like "build-essentials" in linux/ubuntu?

Again, install the self hosted SDP.

http://www.qnx.com/download/feature.html?programid=19608


Regards,

Ryan Mansfield
Re: QCC Compiler not working  
Thanks a ton! Ryan

Shashank
Re: QCC Compiler not working  
Thanks a ton Ryan!

On Tue, Jun 22, 2010 at 6:43 PM, Ryan Mansfield
<community-noreply@qnx.com>wrote:

> On 10-06-22 09:11 AM, Shashank Todwal wrote:
> > So no compiler in RTOS by itself?
> >
> > Isn't there anything like "build-essentials" in linux/ubuntu?
>
> Again, install the self hosted SDP.
>
> http://www.qnx.com/download/feature.html?programid=19608
>
>
> Regards,
>
> Ryan Mansfield
>
>
>
> _______________________________________________
>
> General
> http://community.qnx.com/sf/go/post57420
>
>


-- 
Thanks and regards,

Shashank Todwal
3rd Year |  M.Sc. (Hons.) Physics + B.E. (Hons.) Computer Science
BITS, Pilani - K. K. Birla Goa Campus

+91 9881472930  |  f2007497@bits-goa.ac.in