How to determine the version of your Diab compiler in Tornado 2.2 / VxWorks 5.5
Did you ever wonder what version Diab compiler you were using with Tornado 2.2? I have a directory path called "C:\Tornado2.2\host\diab\5.1.2\WIN32\bin", but 5.1.2 was not my version. There was a file called "relnote.htm" which said 5.0.2, but that was slightly incorrect too. The answer is to use the "-VV" option with "dcc.exe", the Diab compiler. (Use "dplus -VV" for C++.) Note the option is two capital "V"s, not a "W". Here is how to do it.
Steps:
1. In the "Workspace" window, click on the "Builds" tab.
2. Double-click on one of the projects using a Diab compiler
2. Right-click on the build (e.g. "PPC860diab") and select "Properties..."
3. Click on the "C/C++ compiler" tab
4. In the text box put "-VV " as the first option
5. Click "OK"
6. Right-click on your project or build and select "Build 'xxx.out'" where xxx is your project name
7. Your "Build Output" window should now contain a line something like "dcc Rel 5.0.3" which is your Diab compiler version.
Steps:
1. In the "Workspace" window, click on the "Builds" tab.
2. Double-click on one of the projects using a Diab compiler
2. Right-click on the build (e.g. "PPC860diab") and select "Properties..."
3. Click on the "C/C++ compiler" tab
4. In the text box put "-VV " as the first option
5. Click "OK"
6. Right-click on your project or build and select "Build 'xxx.out'" where xxx is your project name
7. Your "Build Output" window should now contain a line something like "dcc Rel 5.0.3" which is your Diab compiler version.
Post a comment
About
I'm Eliot and this is my notepad for programming topics such as Python, Django, Ubuntu, Emacs, etc... more »
Search Blog
Tags
-
algorithms
(5)
-
aws
(9)
-
blogproject
(20)
-
c_cplusplus
(12)
-
cardstore
(8)
-
colinux
(2)
-
concurrency
(13)
-
conkeror
(2)
-
core
(2)
-
cygwin
(17)
-
datastructures
(14)
-
datetime
(4)
-
decorators
(4)
-
django
(40)
-
emacs
(22)
-
files_directories
(11)
-
git
(5)
-
hardware
(5)
-
install_setup
(8)
-
javascript
(3)
-
keyboard
(9)
-
matplotlib
(5)
-
mercurial
(4)
-
nginx
(2)
-
persistence
(5)
-
preferences
(7)
-
processes
(4)
-
pyqt
(18)
-
python
(144)
-
ratpoison
(3)
-
regexes
(6)
-
rsync
(3)
-
softwaretools
(17)
-
sql
(14)
-
ssh
(10)
-
subversion
(6)
-
twisted
(7)
-
ubuntu
(65)
-
urxvt
(5)
-
vxworks
(25)
-
webdev
(5)
-
wmii
(7)
Blogroll
- Adam Gomaa
- Alex Clemesha
- Amir Salihefendic
- Armin Ronacher
- David Beazley
- David Ziegler
- Duncan McGreggor
- Gareth Rushgrave
- Glyph Lefkowitz
- Guido van Rossum
- Ian Bicking
- Jacob Kaplan-Moss
- James Bennett
- James Tauber
- Jesper Noehr
- Marty Alchin
- Matt Harrison
- Nikolay Kolev
- Parand Darugar
- Peter Baumgartner
- Peter Bengtsson
- Rob Hudson
- Simon Willison
- Will McGugan