Results 1 to 5 of 5

Thread: Please help with Katana SDK

  1. #1

    Please help with Katana SDK

    Hi , I'm trying to compile some Samples with Katana r10 SDK.
    I'm using CodeWarrior IDE.
    The problem is that seems that CW can't find the Libs folder , because it give Linking errors :banghead:
    I've tried to configure the ide , but I can't find any linker options menu ...

    Anybody can set me to the right way ? thanks !:thumbsup:

    EDIT: I've uploaded an image of the errors :
    Last edited by Avanaboy; 06-19-2011 at 04:09 PM.

  2. #2
    You don't have to use CW to build the samples. I'm not familiar with CW's interface, so I can't offer help there.

    If you want to compile them without CW, from the command line, make sure you run the setpaths batch file, then navigate to the example's directory and type "make."

  3. #3
    Quote Originally Posted by Dreamcast View Post
    You don't have to use CW to build the samples. I'm not familiar with CW's interface, so I can't offer help there.

    If you want to compile them without CW, from the command line, make sure you run the setpaths batch file, then navigate to the example's directory and type "make."
    I'm tring to do this too , but when I run make , it says that it cant find "shc.exe" ... please can u help me ? I've already ran setpath.bat :DOH:

    EDIT: I've found shc.exe in the HITACHI dir ... mmm ... I'm going to modify setpath.bat in order to use that path ... cross the finger !

    EDIT 2 : WOOOOOW I GOT IT !!!! :D
    I've add the HITACHI sub folder to my PATH and it works !! I compiled and linket successfully an ELF file ;)

    Uhm , sorry for this stupid question , but what is the best dc emu to test elf files ? :rolleyes:
    Last edited by Avanaboy; 06-19-2011 at 04:33 PM.

  4. #4
    NullDC, but you won't be able to run them directly. You'll have to convert the ELF to a BIN, then make a selfboot CDI and run that (at least, that's what I have to do).

    Here's the command for converting the ELF using elf2bin found in the SDK:

    C:\KATANA\Utl\Dev\Hitachi\elf2bin.exe -s 8C010000 C:\1st_read.elf
    Last edited by Dreamcast; 06-19-2011 at 08:31 PM.

  5. #5
    8C010000
    Uhm thank you , but what is this number ? is it the Stack Entry point ?

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
  •