Overriding linkcmds?

James Fitzsimons james.fitzsimons at gmail.com
Thu Feb 6 09:37:39 UTC 2014


Hi all,

I'm slowly trying to figure out the RTEMS build process and how to bend it
to my will!

I have two linker scripts, one for running out of RAM, and one for running
out of ROM.

Is there anyway to override which linker file will be used in your makefile?

I found the following in my gcc-target-default.cfg

#
# Allow user to override link commands (to build a prom image, perhaps)
#
ifndef LINKCMDS
LINKCMDS=$(PROJECT_RELEASE)/lib/linkcmds
endif

But overriding LINKCMDS and specifying a different linker script in my
makefile didn't work.

Any advice would be gratefully received.

Thanks and regards,
James Fitzsimons
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20140206/ceea7068/attachment.html>


More information about the users mailing list