Another toolchain question [message #146834] |
Tue, 14 June 2005 09:05 |
Eclipse User |
|
|
|
Originally posted by: Han . Hoekstra . WirelessValue . Nl
Hello,
I have another question about the custom toolchain that I'm creating for my
compiler.
I have the linker and compiler up and running (not completely to my linking,
but workig on that), but now I want to add objcopy to the toolchain. So I
have created another tool in the toolchain which accepts .elf files as input
and produces .hex files as output, my linker creates .elf files from .o
files and the compiler creates the .o files from .c files. But when I set my
project output to a .hex file, what happens is that the managed make creates
a .hex file based on .o files, the makefile looks like this :
RS232_CableReplacement.hex: $(OBJS)
@echo 'Building target: $@'
avr-objcopy.exe -O ihex $@ $(OBJS) $(USER_OBJS) $(LIBS)
@echo 'Finished building: $@'
What is also strange is that I have set the commandLinePattern for the tool
as follows :
${COMMAND} ${FLAGS} ${INPUTS} ${OUTPUT_FLAG}${OUTPUT_PREFIX}${OUTPUT}
But I don't see this format in the makefile.
Any ideas anyone ?
Greetings,
Han
|
|
|
Powered by
FUDForum. Page generated in 0.04056 seconds