I want to run a cd with multiple binaries using DCHakker with some examples from the DDEr4.
How can i convert it from ELF to BIN?
Printable View
I want to run a cd with multiple binaries using DCHakker with some examples from the DDEr4.
How can i convert it from ELF to BIN?
if you take a look into a makefile:
In the DDEr4, if you run "env", the KOS_OBJCOPY is sh-elf-objcopy, so i think that if you got (for example) prog.elf, you can run:Code:$(TARGET).bin: $(TARGET).elf
$(KOS_OBJCOPY) -R .stack -O binary $(TARGET).elf $(TARGET).bin
and it will give you a file called "prog.bin".Code:sh-elf-objcopy -R .stack -O binary prog.elf
Bye!
http://sbibuilder.dc-france.com/down...dsys=2&idcat=7Quote:
How can i convert it from ELF to BIN?