Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Add additional compiler to the IDE compiler type choice: (9 Items)
   
Add additional compiler to the IDE compiler type choice  
Under the QNX Momentics IDE C/C++ project setting, there are three GNU compilers for user to choose. My question is how 
to add additional compiler (such as ICC) into the IDE C/C++ project setting.
RE: Add additional compiler to the IDE compiler type choice  
The Intel 8.1 C/C++ Compiler as a should show up as an option once you've
installed it. Please note, ICC is a separate product, so it has to be
purchased and installed separately. If you have installed it, restart the
IDE.

Cheers,
-Brian

> -----Original Message-----
> From: Liang-Min Wang [mailto:liang-min.wang@intel.com] 
> Sent: Thursday, February 14, 2008 14 24
> To: general-ide
> Subject: Add additional compiler to the IDE compiler type choice
> 
> Under the QNX Momentics IDE C/C++ project setting, there are 
> three GNU compilers for user to choose. My question is how to 
> add additional compiler (such as ICC) into the IDE C/C++ 
> project setting.
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post5039
> 
Re: Add additional compiler to the IDE compiler type choice  
The IDE just lists the compilers that have qcc conf files in $QNX_HOST/etc/qcc/ directories. To add IDE integration for 
a new compiler, you will need to add new qcc conf files. In your case, you would need to write ones that are very 
similar to the ones provided with the Intel C/C++ compiler 8.1 for QNX Neutrino. The icc 8.1 conf files were very simple
 and point qcc to call the to the underlying compiler, assembler and linker.  I imagine the driver names (icc.exe/icpc.
exe) for icc have not changed between 8.1 and newer releases of ICC, so potentially you copy the 8.1 conf files, and 
rename them and update them if any of the driver options has changed with very little ease.
 
Please let us know if you need any help writing the qcc conf files.

Regards,

Ryan Mansfield
Re: Add additional compiler to the IDE compiler type choice  
Actually, I installed the ICC 10.1 first before I installed the QNX Momentics development suite. Could you tell me where
 to find the configuration file? If you could provide an example how to write a configuration file so the Momentics IDE 
could pick it up would be great. Thanks for the provided information

Larry
RE: Add additional compiler to the IDE compiler type choice  
Ahh... my mistake. I misunderstood the question. Sorry for the confusion.

Cheers,
-Brian 

> -----Original Message-----
> From: Liang-Min Wang [mailto:liang-min.wang@intel.com] 
> Sent: Thursday, February 14, 2008 16 17
> To: general-ide
> Subject: Re: Add additional compiler to the IDE compiler type choice
> 
> Actually, I installed the ICC 10.1 first before I installed 
> the QNX Momentics development suite. Could you tell me where 
> to find the configuration file? If you could provide an 
> example how to write a configuration file so the Momentics 
> IDE could pick it up would be great. Thanks for the provided 
> information
> 
> Larry
> 
> 
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post5045
> 
Re: Add additional compiler to the IDE compiler type choice  
It's in C:\QNX632\host\win32\x86\etc\qcc\
For example:

C:\QNX632\host\win32\x86\etc\qcc>ls -l
total 1
-rwx------   1 AChapiro mkpasswd        8 Sep 22  2005 default
drwx------   5 AChapiro mkpasswd        0 Nov  6 17:10 gcc
drwx------   3 AChapiro mkpasswd        0 Nov  8 15:00 icc

C:\QNX632\host\win32\x86\etc\qcc>cd icc

C:\QNX632\host\win32\x86\etc\qcc\icc>ls -l
total 1
drwx------   2 AChapiro mkpasswd        0 Nov  8 15:00 8.1
-rwx------   1 AChapiro mkpasswd        9 Oct 15  2004 default

C:\QNX632\host\win32\x86\etc\qcc\icc>cd 8.1

C:\QNX632\host\win32\x86\etc\qcc\icc\8.1>ls
default                   icc_ntox86_acprts++.conf  icc_ntox86_cprts.conf
icc_ntox86++.conf         icc_ntox86_acprts.conf    icc_ntox86_gpp++.conf
icc_ntox86.conf           icc_ntox86_cprts++.conf   icc_ntox86_gpp.conf

Liang-Min Wang wrote:
>
> Actually, I installed the ICC 10.1 first before I installed the QNX 
> Momentics development suite. Could you tell me where to find the 
> configuration file? If you could provide an example how to write a 
> configuration file so the Momentics IDE could pick it up would be 
> great. Thanks for the provided information
>
> Larry
>
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post5045
>
Re: Add additional compiler to the IDE compiler type choice  
Alex,
     Thanks for the quick response. Since I installed the ICC first, my QNX Momentics development suite installation did
 not generate the icl directory. How could I make QNX to search the ICL and create such directory. Thanks!

Larry
Re: Add additional compiler to the IDE compiler type choice  
Of course it depends on ICC installer. I think, the simplest way now to 
reinstall ICC. I don't think it created anything  during the first 
installation.

Alex

Liang-Min Wang wrote:
>
> Alex,
>      Thanks for the quick response. Since I installed the ICC first, 
> my QNX Momentics development suite installation did not generate the 
> icl directory. How could I make QNX to search the ICL and create such 
> directory. Thanks!
>
> Larry
>
>
> _______________________________________________
> General
> http://community.qnx.com/sf/go/post5048
>
Re: Add additional compiler to the IDE compiler type choice  
I doubt your ICC install will create the needed configuration files, the 8.1 version that exists for QNX likely does 
this. For example you would have to create the  icc_ntox86_* files as appropriate for the 10.1 compiler. I suggest you 
install the existing QNX version of the 8.1 compiler to see how the configuration is done.