Overriding linkcmds?
Peter Dufault
dufault at hda.com
Thu Feb 6 11:41:10 UTC 2014
What target are you using? On the MPC5554 I use the MMU to swap the flash and the RAM so it winds up being the same image. Of course it means my development system needs to be loaded with RAM.
On Feb 6, 2014, at 04:37 , James Fitzsimons <james.fitzsimons at gmail.com> wrote:
> 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
> _______________________________________________
> rtems-users mailing list
> rtems-users at rtems.org
> http://www.rtems.org/mailman/listinfo/rtems-users
Peter
-----------------
Peter Dufault
HD Associates, Inc. Software and System Engineering
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.rtems.org/pipermail/users/attachments/20140206/10d78f3f/attachment-0001.html>
More information about the users
mailing list