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

Running multiple instances of ccs compiler

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



Joined: 02 Oct 2011
Posts: 12
Location: Tunisia

View user's profile Send private message Visit poster's website

Running multiple instances of ccs compiler
PostPosted: Sun Oct 02, 2011 12:57 pm     Reply with quote

Hello

I'm having an i2c master/slave project
and needed to run the two codes (projects) in parallel.
CCS is single instance (?) as I noticed !
But I managed to run it in multiple (2) instances by copying Pcw.exe and renaming it to Pcw2.exe, ....
it worked. But is there a safer way to run multiple projects/

ps: I had no problems so far
and I hope it isn't illegal :D
_________________
for(;;);
asmboy



Joined: 20 Nov 2007
Posts: 2128
Location: albany ny

View user's profile Send private message AIM Address

PostPosted: Sun Oct 02, 2011 3:41 pm     Reply with quote

i use a text editor - ( multi edit ) with many open files at once possible and simply copy/ paste between "file tabs"

THEN when ready -just command line compile -

no conflict or confusion at all ;-))
ünloco



Joined: 02 Oct 2011
Posts: 12
Location: Tunisia

View user's profile Send private message Visit poster's website

PostPosted: Sun Oct 02, 2011 5:07 pm     Reply with quote

that's a better solution i bet.
i'll try using npp !
_________________
for(;;);
ünloco



Joined: 02 Oct 2011
Posts: 12
Location: Tunisia

View user's profile Send private message Visit poster's website

PostPosted: Fri Oct 07, 2011 5:02 am     Reply with quote

now i'm using notepad++

- open %appdata%\Notepad++\shortcuts.xml with any other editor than notepad++
- add this
Code:
        <Command name="Compile with CCS" Ctrl="yes" Alt="yes" Shift="yes" Key="0">&quot;c:\Program Files\PICC\Ccsc.exe&quot; &quot;$(FULL_CURRENT_PATH)&quot;</Command>

before </UserDefinedCommands>

press ctrl+alt+C to compile.
_________________
for(;;);
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