tech-embed archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
Re: Embedded development platform
hubert%feyrer.de@localhost said:
> translation into a S19 file
objcopy should do it.
A very simple Makefile to do all this could look like:
CROSS= # cross tool prefix
AS= ${CROSS}as
LD= ${CROSS}ld
OBJCOPY= ${CROSS}objcopy
LDOPTS= # eg. linker script
xxx.srec: xxx
${OBJCOPY} -O srec xxx $@
xxx: mist.o
${LD} ${LDOPTS} mist.o -o $@
.s.o:
${AS} $< -o $@
(use gcc instead of as if you want to use cpp)
best regards
Matthias
Home |
Main Index |
Thread Index |
Old Index