gcc: templates, namespaces & xcompile

Hi,


Is there a update for codewarrior compiler for rtp? The current version has
gcc 2.8.1 which does not seem to support namespaces and templates.

RTP uses gcc 2.95.2 (qcc, g++ same thing) which has the extra features to
compile STL, MTL… but our target machine is too slow to handle
development, which begs the question, is 2.95.2 available for win32
machines?

If it is available, will it work with current version of CW?

Hi Dan

I think the Codewarrior thing is a bit of a touchy subject at the mo, since
they were taken over by motorola.

I’ve been using cw up till last week and I was waiting for a release, as the
codewarrioir docs state that the release will use the cw compiler rather
than gnu. Things don’t appear to be happening though so I’ve decided to try
developing under RTP on a seperate machine. At least you can debug on the
host :slight_smile: unless you have some specific target hardware of course then you’ll
be back to debugging over the ether or serial port. Thats how I was working
on Codewarrior but now I’ll try to use ddd/gdb on rtp.

I think the moral of the story is don’t hold your breath for a release of
CW. I was/am but things have to move on from my project point of view and I
don’t want to end up with an unsupported IDE which lags behind RTP.

Jim

Dan wrote in message <8soi0k$pdu$1@inn.qnx.com>…

Hi,


Is there a update for codewarrior compiler for rtp? The current version has
gcc 2.8.1 which does not seem to support namespaces and templates.

RTP uses gcc 2.95.2 (qcc, g++ same thing) which has the extra features to
compile STL, MTL… but our target machine is too slow to handle1111
development, which begs the question, is 2.95.2 available for win32
machines?

If it is available, will it work with current version of CW?


\

In comp.os.qnx Dan <none@no.spam> wrote:

Hi,



Is there a update for codewarrior compiler for rtp? The current version has
gcc 2.8.1 which does not seem to support namespaces and templates.

RTP uses gcc 2.95.2 (qcc, g++ same thing) which has the extra features to
compile STL, MTL… but our target machine is too slow to handle
development, which begs the question, is 2.95.2 available for win32
machines?

It’s begin worked on

If it is available, will it work with current version of CW?

Yes.


cburgess@qnx.com

MW is a great working environment because of the little things
like project files, version control link, nice file compare function etc.

Is there any indication on the release time?

Related question:
To get additional functionality available in RTP (eg the namespace resource
manager), can I manually copy the RTP header and library files for the MW
directory? will the 2.8.1 compiler deal with it? Of course this won’t give
me access to templates etc, but will help to get NTO2.1 functionality.



“Colin Burgess” <cburgess@qnx.com> wrote in message
news:8spl64$ehg$1@nntp.qnx.com

In comp.os.qnx Dan <> none@no.spam> > wrote:
Hi,


Is there a update for codewarrior compiler for rtp? The current version
has
gcc 2.8.1 which does not seem to support namespaces and templates.

RTP uses gcc 2.95.2 (qcc, g++ same thing) which has the extra features
to
compile STL, MTL… but our target machine is too slow to handle
development, which begs the question, is 2.95.2 available for win32
machines?

It’s begin worked on

If it is available, will it work with current version of CW?

Yes.


cburgess@qnx.com

Cross development should be a basic feature of any realtime system! Can’t
live without it.


“Jim Atkins” <jamesa@tsd.serco.com> wrote in message
news:8spe3j$s6f$1@inn.qnx.com

Hi Dan

I think the Codewarrior thing is a bit of a touchy subject at the mo,
since
they were taken over by motorola.

I’ve been using cw up till last week and I was waiting for a release, as
the
codewarrioir docs state that the release will use the cw compiler rather
than gnu. Things don’t appear to be happening though so I’ve decided to
try
developing under RTP on a seperate machine. At least you can debug on the
host > :slight_smile: > unless you have some specific target hardware of course then
you’ll
be back to debugging over the ether or serial port. Thats how I was
working
on Codewarrior but now I’ll try to use ddd/gdb on rtp.

I think the moral of the story is don’t hold your breath for a release of
CW. I was/am but things have to move on from my project point of view and
I
don’t want to end up with an unsupported IDE which lags behind RTP.

Jim

Dan wrote in message <8soi0k$pdu$> 1@inn.qnx.com> >…
Hi,


Is there a update for codewarrior compiler for rtp? The current version
has
gcc 2.8.1 which does not seem to support namespaces and templates.

RTP uses gcc 2.95.2 (qcc, g++ same thing) which has the extra features to
compile STL, MTL… but our target machine is too slow to handle1111
development, which begs the question, is 2.95.2 available for win32
machines?

If it is available, will it work with current version of CW?




\

In comp.os.qnx Dan <none@no.spam> wrote:

MW is a great working environment because of the little things
like project files, version control link, nice file compare function etc.

Is there any indication on the release time?

SIGH Whenever I ask, I just get “RSN”.

Related question:
To get additional functionality available in RTP (eg the namespace resource
manager), can I manually copy the RTP header and library files for the MW
directory? will the 2.8.1 compiler deal with it? Of course this won’t give
me access to templates etc, but will help to get NTO2.1 functionality.

No. The 2.8.1 compiler just doesn’t have those things implemented. You
would have to upgrade to the 2.95.2 compiler.

“Colin Burgess” <> cburgess@qnx.com> > wrote in message
news:8spl64$ehg$> 1@nntp.qnx.com> …
In comp.os.qnx Dan <> none@no.spam> > wrote:
Hi,


Is there a update for codewarrior compiler for rtp? The current version
has
gcc 2.8.1 which does not seem to support namespaces and templates.

RTP uses gcc 2.95.2 (qcc, g++ same thing) which has the extra features
to
compile STL, MTL… but our target machine is too slow to handle
development, which begs the question, is 2.95.2 available for win32
machines?

It’s begin worked on

If it is available, will it work with current version of CW?

Yes.


cburgess@qnx.com


cburgess@qnx.com

Dan wrote:

MW is a great working environment because of the little things
like project files, version control link, nice file compare function etc.

Is there any indication on the release time?

Related question:
To get additional functionality available in RTP (eg the namespace resource
manager), can I manually copy the RTP header and library files for the MW
directory? will the 2.8.1 compiler deal with it?

No. You’d need to build 2.95 cross compiler for Windows using QSSL
sources.

Of course this won’t give
me access to templates etc, but will help to get NTO2.1 functionality.

“Colin Burgess” <> cburgess@qnx.com> > wrote in message
news:8spl64$ehg$> 1@nntp.qnx.com> …
In comp.os.qnx Dan <> none@no.spam> > wrote:
Hi,


Is there a update for codewarrior compiler for rtp? The current version
has
gcc 2.8.1 which does not seem to support namespaces and templates.

RTP uses gcc 2.95.2 (qcc, g++ same thing) which has the extra features
to
compile STL, MTL… but our target machine is too slow to handle
development, which begs the question, is 2.95.2 available for win32
machines?

It’s begin worked on

If it is available, will it work with current version of CW?

Yes.


cburgess@qnx.com