piclist 2008\07\04\114107a >
Thread: Code packing
www.piclist.com/techref/microchip/devices.htm?key=pic
face picon face BY : email (remove spam text)(Olin Lathrop)



Jan-Erik Soderholm wrote:
> AFAIK, relocatable/absolut mode is selected by either including
> the Linker Script file to the project, or not including it.
>
> Is there any other way to "get into" one mode or the other ?

The /o command line switch to MPASMWIN.  Adding a linker file to the project
is only meaningful from within the IDE.  The IDE then passes the /o command
line option to the assembler, runs MPLINK, etc.  You can do all this
yourself with scripts or other programs, of course.

Building in the IDE might be a quick shortcut for doing a one-off hobby
project, but real projects always have other things that need to get built,
other tools that need to be run, the build needs to be automated, and you
usually want to use a common editor for everything.  The IDE is only useful
for debugging for serious projects.


********************************************************************
Embed Inc, Littleton Massachusetts, http://www.embedinc.com/products
(978) 742-9014.  Gold level PIC consultants since 2000.
<003401c8ddec$afa9a490$0300a8c0@main> 7bit

See also: www.piclist.com/techref/microchip/devices.htm?key=pic
Reply You must be a member of the piclist mailing list (not only a www.piclist.com member) to post to the piclist. This form requires JavaScript and a browser/email client that can handle form mailto: posts.
Subject (change) Code packing

month overview.

new search...