tags:

views:

1171

answers:

5

I'm new to the VxWorks environment, I'm wondering what C and C++ compilers are available for use with VxWorks?

+1  A: 

As far as i know Tornado VxWorks IDE using gcc toolchain.
Any way i suggest to use the compiler provided by WindRiver (which i believe their version of gcc) to avoid compatibility problems. It's probably worth to menation the VxWorks version you having in mind.

I guess gcc version will be depend on VxWorks version and probably on target platform.

Ilya
Yeah, I don't know the version of VxWorks yet ;( And yeah, I will probably stick with the WindRiver supplied compiler... modified GCC is good... Do you know which version of GCC?
ceretullis
Wouldn't it make more sense to be asking Wind River these kinds of very product specific things?
Michael Burr
+5  A: 

There are two: gcc and diab. They will be provided with your WindRiver platform (such as "General Purpose Platform 3.6"). The gcc is modified by WindRiver (and/or CodeSourcery) to work with VxWorks.

Adam Mitz
FYI - Diab was actually purchased by Wind River. I believe the Diab compiler is now referred as the Wind River Compiler and there is also GCC of course.
Tall Jeff
Last I checked you still used "TOOL=diab" but this was a few minor versions ago -- 6.5 I think.
Adam Mitz
+1  A: 

Diab is now WindRiver Compiler

+1  A: 

Greenhills development tools also supported the VXWorks environment in the past.

Gerhard
A: 

a colleague says he thinks that the Wind River workbench does not get the call stack exactly right for GCC built code whereas it does for Diab - anyone else seen this ?

no, but it would be very architecture- and option-dependent. are you sure that your colleague isn't observing the effect of aggressive GCC optimizations? unlike most compilers, gcc will allow you to mix optimization and debug, and the results can be very odd looking in the debugger.
Chris Cleeland