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 CCS Technical Support

Multiple Compilation Problem?
Goto page Previous  1, 2
 
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion
View previous topic :: View next topic  
Author Message
temtronic



Joined: 01 Jul 2010
Posts: 9243
Location: Greensville,Ontario

View user's profile Send private message

PostPosted: Fri Feb 24, 2023 9:04 pm     Reply with quote

curious, have to ask...
What is the advantage of using 'MCU' vs 'one program' ?
Ttelmah



Joined: 11 Mar 2010
Posts: 19539

View user's profile Send private message

PostPosted: Sat Feb 25, 2023 6:47 am     Reply with quote

In terms of the resulting code, none. In fact if you use MCU's the resulting
code is always slightly less efficient than the single pass result.

Where it is used, is where you have companies wanting to have libraries
built by different teams, and keep the code for these 'secret' from the
other people (either so they can charge or for secrecy reasons).

The single pass compile does cost a little in extra time when building (but
I have always found this to be infinitesimal). That may just be because I
use fast computers....
BrianF



Joined: 12 Dec 2020
Posts: 10

View user's profile Send private message

PostPosted: Sun Feb 26, 2023 4:24 am     Reply with quote

Thanks for all the replies, I think I've got it now.

I'm going from 30+ years of a compile>link>locate mindset so it's a bit different.
Display posts from previous:   
Post new topic   Reply to topic    CCS Forum Index -> General CCS C Discussion All times are GMT - 6 Hours
Goto page Previous  1, 2
Page 2 of 2

 
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