Well, I have started compiling some examples using GCC (the one downloaded from KPIT) but when I noticed that KPIT also provided a GUI that is very similar to MS Visual C 6.0 (HEW), I downloaded it.
The problem is that I couldn't be able to compile anything. I have started a project and I have also put the correct directories for the compiler and linker phase.
However, after succeeding in the compiler phase (it finds all the *.h)the linker is unable to create an executable. It cannot find the .o and .a archives in the SGL lib directory (well, at least that's what I though after seeing the "unresolved symbol message for all the SEGA related functions).
I tried to add them manually and I got the following message:
Well, any ideas on what to do ?
The problem is that I couldn't be able to compile anything. I have started a project and I have also put the correct directories for the compiler and linker phase.
However, after succeeding in the compiler phase (it finds all the *.h)the linker is unable to create an executable. It cannot find the .o and .a archives in the SGL lib directory (well, at least that's what I though after seeing the "unresolved symbol message for all the SEGA related functions).
I tried to add them manually and I got the following message:
Code:
Building - prova - Debug
Phase Compiler starting
Nothing to do - skipping
Phase Compiler finished
Phase Linker starting
sh-coff-ld.exe: warning: cannot find entry symbol _start; defaulting to 00001000
c:\program files\renesas\hew22\tools\kpit cummins\gnush-coff\v0303\sh-coff\sgl\lib\libsgl.a(sglI00.o)(SLSTART+0x24):fake: undefined reference to `main'
Phase Linker finished
Build Finished
1 Error, 1 Warning
Well, any ideas on what to do ?