View previous topic :: View next topic |
Author |
Message |
tmussi
Joined: 21 Mar 2014 Posts: 1 Location: Argentina
|
CCS Version in server |
Posted: Fri Mar 21, 2014 1:37 pm |
|
|
Hello, I looked for some information about how to know what CCS compiler version I have running in a server but I could not find anything.
My problem is that there are some requirements to upgrade CCS compiler version to a new one, but we don´t know which version we have actually.
It´s a UNIX server and it contains in /usr a ccs folder and inside of it there are two more folders: bin and lib.
In bin there are plenty of binaries, and one of them is "help". It always requires me a "message number or SCCS command name" and I really don´t know
exactly which parameters I have to give, but it always returns me an error like "Key (given key) not found (he1)".
I would appreciate any help.
Thanks in advance. |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri Mar 21, 2014 2:48 pm |
|
|
The easiest way to to compile a small test program and look at the top
of the .LST file. It will list your 4-digit CCS compiler version.
Examples of version numbers:
http://www.ccsinfo.com/devices.php?page=versioninfo
Even if the compiler is on a server, the .LST will still be visible (after a
successful compilation). You can bring it up in your editor and see the
compiler version. |
|
|
gpsmikey
Joined: 16 Nov 2010 Posts: 588 Location: Kirkland, WA
|
|
Posted: Fri Mar 21, 2014 6:01 pm |
|
|
I don't have my compiler on a unix machine currently, but the command line "strings executable_prog | more" often will return lots of useful information (and lots more of less than useful info too). piping it into "more" allows you to page through the info.
mikey _________________ mikey
-- you can't have too many gadgets or too much disk space !
old engineering saying: 1+1 = 3 for sufficiently large values of 1 or small values of 3 |
|
|
PCM programmer
Joined: 06 Sep 2003 Posts: 21708
|
|
Posted: Fri Mar 21, 2014 6:35 pm |
|
|
If you have access to the CCS executable files, at least in Windows
you can open a Command Prompt, navigate to the PICC directory
and run this:
In version 5, this will display a window with the versions of whatever
compilers you have installed. In my case, it shows PCM and PCH versions.
In Unix Server, gpsmikey's command may do the same thing.
But you do not want to see the CCS IDE version. Typically, if you right
click (in Windows) on the IDE launch icon, you will get the IDE version
number. That's not the compiler version. That's what I want to warn
you about. Assuming you have at least a reasonably new (last few years)
compiler, you will see version numbers such as 4.068, or 4.093, or 4.141,
or 5.012, or 5.018, or something like that. Anything else is either very
old, or it's not the compiler version. |
|
|
|