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

Unique HEX file naming?

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



Joined: 15 Mar 2005
Posts: 12

View user's profile Send private message

Unique HEX file naming?
PostPosted: Thu Mar 15, 2007 7:09 am     Reply with quote

Greetings:

I wonder if there is any way to have the CCS compiler output a HEX file named differently from the file which includes main()?

I have core code that, depending on what is pound defined, will compile into distinct products. For all these cases, the resulting HEX file output is named the same as the file which contains main(). Obviously, this can lead to a confusing array of identically named HEX files.

I have applied #HEXCOMMENT to embed some function particulars in the HEX output, so I can always open the HEX file if I question what product it is intended for, or rename them manually.

It would be snifty if there were a compiler directive that automatically renamed the HEX file output. Are there any facilities to get the compiler to help out?

Thanks,
Doug
PCM programmer



Joined: 06 Sep 2003
Posts: 21708

View user's profile Send private message

PostPosted: Thu Mar 15, 2007 12:40 pm     Reply with quote

A work-around is presented in the last post from Ttelmah:
http://www.ccsinfo.com/forum/viewtopic.php?t=29983
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