How to use SGDK from command line

SGDK only sub forum

Moderator: Stef

Post Reply
zhengyaxin_8bit
Very interested
Posts: 101
Joined: Thu Sep 04, 2008 2:57 am
Location: China

How to use SGDK from command line

Post by zhengyaxin_8bit »

I read the help from this http://code.google.com/p/sgdk/wiki/HowToUseSGDK
After run "%GDK_WIN%\bin\make -f %GDK_WIN%\makelib.gen",
I can't create %GDK%/lib/sega.o and %GDK%/lib/libgendev.a,Why?
My environment variable be setting as you said.
Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef »

These tutorial need some updates.

Running this command :
"%GDK_WIN%\bin\make -f %GDK_WIN%\makelib.gen"
will produce %GDK%/lib/libmd.a
the sega.o is now build with your project when you use this command :
"%GDK_WIN%\bin\make -f %GDK_WIN%\makefile.gen"
zhengyaxin_8bit
Very interested
Posts: 101
Joined: Thu Sep 04, 2008 2:57 am
Location: China

Post by zhengyaxin_8bit »

Thanks stef.
Now, I can use command line to bulit my program. :D
Stef
Very interested
Posts: 3131
Joined: Thu Nov 30, 2006 9:46 pm
Location: France - Sevres
Contact:

Post by Stef »

Glad you get it :)
Post Reply