On Tue, Sep 17, 2002 at 01:03:31PM -0700, Mike McCollister wrote:
>> $(CC) -o convert.out convert.c
>> $(OBJCOPY) -O binary convert.out code03e8.bin
>
> Yes, old makefile modified over time. However, what exactly does
> objcopy do in human terms? It seems like an extra step.
It does what "man objcopy" says it does; the aspect of its functionality
that is most usually used on Palm OS is to rip a section out of a BFD
executable into a binary .bin/.grc file, much like obj-res only more
flexibly. Thus it's an alternative step to what you have, not an extra
one.
But the point of build-prc's new (in 2.2) stand-alone functionality is
to select as resources the right sections out of the BFD executable
directly, in the usual cases. This *saves* a step, and enables more
automatic checking. IMHO that is a better way to pluck the chook :-),
at least for the typical chooks. For the bizarro chooks, when you need
to do something atypical, you of course can revert to the flexible
manual way; like Aaron, I would usually choose objcopy.
John
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/support/forums/