We are using Tornado2.0, VxWorks version 5.4..
We have some C++ code where we are getting some compiler errors like
below:
'sorry,not implemented : namespace'(i use tornado2.0, cc386)
Can we upgrade gcc version for this?
If We can, can anybody please let me know how to upgrade gcc version??
Thank you !
Regards
Satish.
A colleague of mine had this problem around 2000. He ended not using
namespaces at all. Instead, he used classes within classes, which gives
something crudely similar. And no, he wasn't able to port gcc > 2.7 to
Tornado.
Dave Korn managed to upgrade the GCC compiler to 2.95 for PPC, but the
site where the patches were located does not exist anymore. You could
try to contact Dave Korn,
Kind regards,
Johan Borkhuis
Yes. You need the Tornado 2.2 version of gcc. The compiler's name was
changed to ccpentium.
>
> Can we upgrade gcc version for this?
Yes. If you have a customer ID, you can download the latest cumulative
patched version from the Wind River support web site.
>
> If We can, can anybody please let me know how to upgrade gcc version??
See above. I don't recommend trying to get the GCC source code and
building the compiler yourselves. The odds of your success are too low.
> Thank you !
You're welcome,
Bill
>
> Regards
> Satish.
Yes, I vaguely remember that site. We used i386, though, and my
colleague didn't want to spend much effort on an upgrade.
Where is your locomotive, Johan? ;-)
> Yes. You need the Tornado 2.2 version ofgcc. The compiler's name was
> changed to ccpentium.
>
>
>
> > Can we upgradegccversion for this?
>
> Yes. If you have a customer ID, you candownloadthe latest cumulative
> patched version from the Wind Riversupportweb site.
>
Bill, I'm not sure I understand what you are saying. I am in a
similar boat (VxWorks 5.4 & Tornado 2.0.2) and would love to get
namespace support. Are you implying that I can download and install
the GNU compiler and/or associated patches listed for Tornado 2.2 and
install them into Tornado 2.0.2? The support site doesn't have 2.96
for Tornado 2.0.2.
Assuming I am able to install a Tornado 2.2 version of the GNU
compiler, how will that affect vxGDB under Tornado 2.0.2?
It depends how motivated you are. Yes, that's what I'm implying.
And I don't know how much would change.
> Assuming I am able to install a Tornado 2.2 version of the GNU
> compiler, how will that affect vxGDB under Tornado 2.0.2?
I don't know. I'm proposing an experiment which I haven't done
myself. If the older GDB doesn't work, you can also download
the Tornado 2.2 GDB.
If you decide to do this, please let us know - there are probably
many folks who are interested.
I should also say that Wind will almost certainly NOT support this
mixture of tools and kernel, since they haven't tested it.
Bill