CCS C Software and Maintenance Offers
FAQFAQ   FAQForum Help   FAQOfficial CCS Support   SearchSearch  RegisterRegister 

ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

CCS does not monitor this forum on a regular basis.

Please do not post bug reports on this forum. Send them to support@ccsinfo.com

CCS Version in server

 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
tmussi



Joined: 21 Mar 2014
Posts: 1
Location: Argentina

View user's profile Send private message

CCS Version in server
PostPosted: Fri Mar 21, 2014 1:37 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Mar 21, 2014 2:48 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Mar 21, 2014 6:01 pm     Reply with quote

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

View user's profile Send private message

PostPosted: Fri Mar 21, 2014 6:35 pm     Reply with quote

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:
Quote:
ccsc +v

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.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group