Hi Michel,

> It however looks suboptimal to me to have to manually split the project into 
> several source files and try to balance "code weight" between them.

IMHO it is better to do that manually. Compiler would that that as well by 
analysis of the function call tree. But SDCC is not such clever. Currently you 
are the only person who knows what functionality is logically linked together 
in your project.

For C language it is normal (and even desired) that bigger projects are 
splitted in more source files - because of maintainability, readability etc...

For example, in one my project (SD card reader), I used 4 sources - main.c, 
fat16.c, sdmmc.c and hal.c.

Best Regards,
Vasek

------------------------------------------------------------------------------
Come build with us! The BlackBerry(R) Developer Conference in SF, CA
is the only developer event you need to attend this year. Jumpstart your
developing skills, take BlackBerry mobile applications to market and stay 
ahead of the curve. Join us from November 9 - 12, 2009. Register now!
http://p.sf.net/sfu/devconference
_______________________________________________
Sdcc-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to