On Thu, Jun 12, 2003 at 07:38:35PM +0200, John Marshall wrote:
> Your build process can be as simple as
>
> arm-palmos-gcc -nostartfiles -O2 -o search search.c
> build-prc -o viewer.prc [...] search [...]
>
> when you use STANDALONE_CODE_RESOURCE_ID(armDoSearch) in search.c. No
> linker script, no explicit and direct linker invocation, no objcopy (and
> hence better diagnostics), and no PilRC here. See the documentation for
> details.
This method seems to work out well.. however I have a couple
questions.
- Is prc-tools 2.2 is required to build armlets using this method?
- I remember reading somewhere that I should use the additional CFLAGS
'-nostdlib -fPIC -ffixed-r9' .. are they not technically required?
- To make the Makefile simpler, I used this method..
arm-palmos-gcc -nostartfiles -O2 -o search.o search.c
build-prc -o viewer.prc [...] search.o [...]
I know that in the build-prc dogs it states that files with no
extensions are treated as bfd executables. However it still accepts
search.o, is that OK?
--
Adam McDaniel
Array.org
Calgary, AB, Canada
_______________________________________________
plucker-dev mailing list
[EMAIL PROTECTED]
http://lists.rubberchicken.org/mailman/listinfo/plucker-dev