Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - seting default QCC -Y: (5 Items)
   
seting default QCC -Y  
Hello All,

I am using QCC -Y _gpp to use GCC standard library.
Is there a way to configure QCC (e.g. by editing /usr/qnx641/host/qnx6/x86/etc/qcc/gcc/4.3.3/gcc_ntox86.conf) to use GCC
 standard library by default, so that there is no need to specify that each time?

Regards,
Leet Geezer
Re: seting default QCC -Y  
Leet Geezer wrote:
> Hello All,
> 
> I am using QCC -Y _gpp to use GCC standard library.
> Is there a way to configure QCC (e.g. by editing /usr/qnx641/host/qnx6/x86/etc/qcc/gcc/4.3.3/gcc_ntox86.conf) to use 
GCC standard library by default, so that there is no need to specify that each time?

Yes, edit /usr/qnx641/host/qnx6/x86/etc/qcc/gcc/4.3.3/default and change:

CONF=gcc_ntox86

to

CONF=gcc_ntox86_gpp

Regards,

Ryan Mansfield
RE: seting default QCC -Y  

> -----Original Message-----
> From: Ryan Mansfield [mailto:community-noreply@qnx.com]
> Sent: May-26-09 1:07 PM
> To: momentics-community
> Subject: Re: seting default QCC -Y
> 
> Leet Geezer wrote:
> > Hello All,
> >
> > I am using QCC -Y _gpp to use GCC standard library.
> > Is there a way to configure QCC (e.g. by editing
> /usr/qnx641/host/qnx6/x86/etc/qcc/gcc/4.3.3/gcc_ntox86.conf) to use GCC
> standard library by default, so that there is no need to specify that
> each time?
> 
> Yes, edit /usr/qnx641/host/qnx6/x86/etc/qcc/gcc/4.3.3/default and
> change:

Wouldn't use qcc -V... -set-default be more user friendly?

> 
> CONF=gcc_ntox86
> 
> to
> 
> CONF=gcc_ntox86_gpp
> 
> Regards,
> 
> Ryan Mansfield
> 
> _______________________________________________
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post30070
> 
Re: seting default QCC -Y  
Mario Charest wrote:
> 
>> -----Original Message-----
>> From: Ryan Mansfield [mailto:community-noreply@qnx.com]
>> Sent: May-26-09 1:07 PM
>> To: momentics-community
>> Subject: Re: seting default QCC -Y
>>
>> Leet Geezer wrote:
>>> Hello All,
>>>
>>> I am using QCC -Y _gpp to use GCC standard library.
>>> Is there a way to configure QCC (e.g. by editing
>> /usr/qnx641/host/qnx6/x86/etc/qcc/gcc/4.3.3/gcc_ntox86.conf) to use GCC
>> standard library by default, so that there is no need to specify that
>> each time?
>>
>> Yes, edit /usr/qnx641/host/qnx6/x86/etc/qcc/gcc/4.3.3/default and
>> change:
> 
> Wouldn't use qcc -V... -set-default be more user friendly?

Yes, except -set-default doesn't set the library type. :) I'm opening a PR.

Regards,

Ryan Mansfield
Re: seting default QCC -Y  
Thanks for Quick Answer. LG