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 :
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 OH: 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 !!!! 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 ?
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