Project Home
Project Home
Trackers
Trackers
Documents
Documents
Wiki
Wiki
Discussion Forums
Discussions
Project Information
Project Info
Forum Topic - Update tool chain in QNX6.5.0: (9 Items)
   
Update tool chain in QNX6.5.0  
Hello,

Is there a possibility to keep the same environment but update only the gcc compiler that comes with the tool chain? I 
am using 4.4.2, and would like to update it to 4.6.

Thanks,

-Zahira
Re: Update tool chain in QNX6.5.0  
On 12-04-03 02:07 PM, Zahira Ammarguellat wrote:
> Hello,
>
> Is there a possibility to keep the same environment but update only the gcc compiler that comes with the tool chain? I
 am using 4.4.2, and would like to update it to 4.6.

Yes. Download the appropriate gcc package for your host, and extract it 
into your root QNX directory (e.g. /opt/qnx650, C:/QNX650, etc).

Regards,

Ryan Mansfield
RE: Update tool chain in QNX6.5.0  

> -----Message d'origine-----
> De : Ryan Mansfield [mailto:community-noreply@qnx.com]
> Envoyé : 3 avril 2012 14:33
> À : momentics-community
> Objet : Re: Update tool chain in QNX6.5.0
> 
> On 12-04-03 02:07 PM, Zahira Ammarguellat wrote:
> > Hello,
> >
> > Is there a possibility to keep the same environment but update only the gcc
> compiler that comes with the tool chain? I am using 4.4.2, and would like to
> update it to 4.6.
> 


Just to make sure.  I`m assuming this still not an official release?

> Yes. Download the appropriate gcc package for your host, and extract it into
> your root QNX directory (e.g. /opt/qnx650, C:/QNX650, etc).
> 
> Regards,
> 
> Ryan Mansfield
> 
> 
> 
> _______________________________________________
> 
> QNX Momentics Community Support
> http://community.qnx.com/sf/go/post92425
> 
Re: Update tool chain in QNX6.5.0  
On 12-04-03 03:33 PM, Mario Charest wrote:
>
>
>> -----Message d'origine-----
>> De : Ryan Mansfield [mailto:community-noreply@qnx.com]
>> Envoyé : 3 avril 2012 14:33
>> À : momentics-community
>> Objet : Re: Update tool chain in QNX6.5.0
>>
>> On 12-04-03 02:07 PM, Zahira Ammarguellat wrote:
>>> Hello,
>>>
>>> Is there a possibility to keep the same environment but update only the gcc
>> compiler that comes with the tool chain? I am using 4.4.2, and would like to
>> update it to 4.6.
>>
>
>
> Just to make sure.  I`m assuming this still not an official release?

It's as official as an foundry release is ever going to get. :)

Regards,

Ryan Mansfield
Re: Update tool chain in QNX6.5.0  
Ryan,

What is the right gcc package?
In the Core Development Tools under File Releases > GCC > GCC4.6 there are several packages. 
I am looking for a Linux version. I am assuming that what I need is linux-gcc-4.6.2.tar.gz. When I extracted this 
package I don't seem to get all the include files. For example <string.h> doesn't seem to be there? I am in the right 
place?
Also what are the nto-gcc... packages?
Thanks,

-Zahira
Re: Update tool chain in QNX6.5.0  
Yes those are the right packages. If you are using a linux host then download the linux-gcc-4.6.2.tar.gz. string.h isn't
 part of gcc. It is part of libc that's part of 6.5.0 

The nto-gcc-4.6.2.tar.gz packages are for self hosted x86 machines.

Regards,

Ryan Mansfield
RE: Update tool chain in QNX6.5.0  
Ryan,

I am therefore missing something.
To get to use the new tool chain, I wanted to replace my "target" directory under /opt/qnx650 by the new target in the 
linux package mentioned below, and do the same with the host directory. That wouldn't work because these new target and 
host directories don't seem to contain everything? 
Thanks,

-Zahira

>-----Original Message-----
>From: Ryan Mansfield [mailto:community-noreply@qnx.com]
>Sent: Tuesday, April 03, 2012 5:28 PM
>To: momentics-community
>Subject: Re: Update tool chain in QNX6.5.0
>
>Yes those are the right packages. If you are using a linux host then download
>the linux-gcc-4.6.2.tar.gz. string.h isn't part of gcc. It is part of libc that's part of
>6.5.0
>
>The nto-gcc-4.6.2.tar.gz packages are for self hosted x86 machines.
>
>Regards,
>
>Ryan Mansfield
>
>
>
>_______________________________________________
>
>QNX Momentics Community Support
>http://community.qnx.com/sf/go/post92430
Re: Update tool chain in QNX6.5.0  
On 12-04-04 10:16 AM, Zahira Ammarguellat wrote:
> Ryan,
>
> I am therefore missing something.
> To get to use the new tool chain, I wanted to replace my "target" directory under /opt/qnx650 by the new target in the
 linux package mentioned below, and do the same with the host directory. That wouldn't work because these new target and
 host directories don't seem to contain everything?
> Thanks,

It's not a replacement to your "target" directory, you extract it over 
top of the existing 6.5.0. You're confusing the toolchain with the OS.

Regards,

Ryan Mansfield
RE: Update tool chain in QNX6.5.0  
Ok. Got it. Thanks.
Now I am less confused :-)

>-----Original Message-----
>From: Ryan Mansfield [mailto:community-noreply@qnx.com]
>Sent: Wednesday, April 04, 2012 10:25 AM
>To: momentics-community
>Subject: Re: Update tool chain in QNX6.5.0
>
>On 12-04-04 10:16 AM, Zahira Ammarguellat wrote:
>> Ryan,
>>
>> I am therefore missing something.
>> To get to use the new tool chain, I wanted to replace my "target" directory
>under /opt/qnx650 by the new target in the linux package mentioned below,
>and do the same with the host directory. That wouldn't work because these
>new target and host directories don't seem to contain everything?
>> Thanks,
>
>It's not a replacement to your "target" directory, you extract it over
>top of the existing 6.5.0. You're confusing the toolchain with the OS.
>
>Regards,
>
>Ryan Mansfield
>
>
>
>_______________________________________________
>
>QNX Momentics Community Support
>http://community.qnx.com/sf/go/post92451