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

CCSC.exe command line arguments

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



Joined: 15 Sep 2003
Posts: 226

View user's profile Send private message

CCSC.exe command line arguments
PostPosted: Mon Dec 11, 2006 10:33 pm     Reply with quote

In a XP CMD window I type the following command

C:\PICC\CCSC.exe +FH +Y9 +ES +EA +PE I+"C:\PICC\DEVICES;C:\PICC\DRIVERS" C:\Source\TEST.C

This generates an error message:

Duplicate filename on command line. "I+C:\PICC\DEVICES;C:\PICC\DRIVERS" and "C:\Source\TEST.C"


I have also tried I+="C:\PICC\DEVICES;C:\PICC\DRIVERS" and it produces the same error.

What am I doing wrong ?

I'm using PCH V3.249 for this test.
Hans Wedemeyer



Joined: 15 Sep 2003
Posts: 226

View user's profile Send private message

Strange fix...
PostPosted: Mon Dec 11, 2006 11:16 pm     Reply with quote

This did not work...
C:\PICC\CCSC.exe +FH +Y9 +ES +EA +PE C:\Source\TEST.C

This fixed it.... strange !

C:\PICC\CCSC.exe +Y9 +FH +ES +EA +PE C:\Source\TEST.C

Notice the order of +Y9 and +FH

I forgot to add I used Martin Berriman's suggestion of making a simple project file with the include paths in it.


if this is not in the command line args. I+"C:\PICC\DEVICES;C:\PICC\DRIVERS"
CCSC uses the project file.

So there is still an issue with I+ or I+=
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