<div dir="ltr">Hi all,<div><br></div><div>I'm slowly trying to figure out the RTEMS build process and how to bend it to my will!</div><div><br></div><div>I have two linker scripts, one for running out of RAM, and one for running out of ROM. </div>
<div><br></div><div>Is there anyway to override which linker file will be used in your makefile?</div><div><br></div><div>I found the following in my gcc-target-default.cfg </div><div><br></div><div><div>#</div><div># Allow user to override link commands (to build a prom image, perhaps)</div>
<div>#</div><div>ifndef LINKCMDS</div><div>LINKCMDS=$(PROJECT_RELEASE)/lib/linkcmds</div><div>endif</div></div><div><br></div><div>But overriding LINKCMDS and specifying a different linker script in my makefile didn't work.</div>
<div><br></div><div>Any advice would be gratefully received.</div><div><br></div><div>Thanks and regards,</div><div>James Fitzsimons </div></div>