Setting up toolchain help

SGDK only sub forum

Moderator: Stef

Post Reply
matteus
Very interested
Posts: 336
Joined: Mon Feb 04, 2008 1:41 pm

Setting up toolchain help

Post by matteus » Tue Jan 28, 2014 5:22 pm

I'm presently trying to setup a toolcahin using the sgdk in eclipse using the tutorial.

https://code.google.com/p/sgdk/wiki/UseSGDKWithEclipse

I've followed all the instructions but still seem to be getting compile errors:

C:/Dev/md/sdk/bin/gcc -n -T C:/Dev/md/sdk/md.ld -nostdlib out/sega.o @out/cmd_ C:/Dev/md/sdk/lib/libmd.a C:/Dev/md/sdk/lib/libgcc.a -o out/rom.out
C:/Dev/md/sdk/lib/libmd.a(sys.o): In function `_start_entry':
sys.c:(.text+0x23e): undefined reference to `main'
C:/Dev/md/sdk/lib/libmd.a(sys.o): In function `_reset_entry':
sys.c:(.text+0x24c): undefined reference to `main'
make: *** [out/rom.out] Error 1

Any ideas?[/url]

Post Reply