Results 1 to 3 of 3

Thread: Running Elf on a cd

                  
   
  1. #1
    DCEmu Rookie
    Join Date
    Dec 2007
    Posts
    159
    Rep Power
    0

    Default Running Elf on a cd

    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?

  2. #2
    DCEmu Newbie
    Join Date
    Aug 2007
    Location
    Corrientes - Argentina
    Posts
    93
    Rep Power
    0

    Default

    if you take a look into a makefile:

    Code:
    $(TARGET).bin: $(TARGET).elf
    	$(KOS_OBJCOPY) -R .stack -O binary $(TARGET).elf $(TARGET).bin
    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:
    sh-elf-objcopy -R .stack -O binary prog.elf
    and it will give you a file called "prog.bin".

    Bye!

  3. #3
    Sega Dreamcast Support Basile's Avatar
    Join Date
    Jun 2007
    Location
    right there
    Posts
    113
    Rep Power
    0

    Default

    How can i convert it from ELF to BIN?
    http://sbibuilder.dc-france.com/down...dsys=2&idcat=7

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •