Hello Arnab,

To disable initialization of all variables in data and 
xdata you should create a function:

char _sdcc_external_startup(void);

and have it return something nonzero. See the manual for 
more info.

Greets,
Maarten

> Hello,
> 
> I am a new user of the compiler. I want to know how the to disable the
> internal ram initialization done by the startup code.
> 
> I have tried "-no-xinit-opt" option while compiling but it is disabling
> the initialization of the variables in ext RAM only.
> 
> I am using the SDCC 2.6.0 Linux x86 version.
> 
> Regards,
> Arnab


-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys - and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV
_______________________________________________
Sdcc-user mailing list
Sdcc-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/sdcc-user

Reply via email to