Page 1 of 1

Questions on GSKit and LlibPlanar

Posted: Thu Mar 24, 2005 9:17 am
by bbchazz
I was playing around with the PS2Dev stuff a few months back and as soon as I got comfortable with gslib, gskit came out. I have some spare time now and was wondering what the easiest way to make my gslib code compile using gskit.

Also, I have no spanish skills at all (since im canadian) and also want to test out LlibPlanar. When I go into the makefile.pref most everything looks familiar except for the following.

"SHELL" (which i have found in my cygwin/bin directory just don't know if I leave it there or move it)
"TOOLCHAIN_DIR"

Im using cygwin with Windows XP and have ps2dev installed using the newest toolchain from oopos site (March 20th i think)

Posted: Thu Mar 24, 2005 10:30 am
by bbchazz
I got a little further with the help of some translation websites, but here is the error im getting.

$ make
Building Planar
Building Samples
00_basicGFX1....
ee-ld: cannot find -lgcc
make[2]: *** [all] Error 1
make[1]: *** [all] Error 2
make: *** [ee-build-samples] Error 2


Any help would be appreciated

Posted: Thu Mar 24, 2005 6:31 pm
by Shazz
Yep I've got some problems too, I fixed it in setting the good paths in the file makefile.pref

Code: Select all

PS2DEV_Dir = $(PS2DEV)

SHELL         = /usr/bin/sh
LALIB_DIR     = D:/Dev/DevC/projects/PS2/lalib
#TOOLCHAIN_DIR = $(PS2DEV)/ee/lib/gcc-lib/ee/3.2.2/include
PLANAR_DIR = D:/Dev/DevC/projects/PS2/LlibPlanar1b

EE_PREFIX  = ee-
EE_CC      = $(EE_PREFIX)gcc
EE_AS      = $(EE_PREFIX)gcc
EE_LD      = $(EE_PREFIX)ld
EE_AR      = $(EE_PREFIX)ar
DVPASM     = $(PS2DEV)/dvp/bin/dvp-as
EE_OBJCOPY = $(EE_PREFIX)objcopy
EE_STRIP   = $(EE_PREFIX)strip
then it compiled...

Posted: Fri Mar 25, 2005 12:16 am
by bbchazz
Thanks Shazz....that got me a little further but im getting a new error now if anyone can help me.

$ make
Building Planar
Building Samples
00_basicGFX1....
make[2]: *** No rule to make target `/lalib-0.1s2/common/crt0.o', needed by `all
'. Stop.
make[1]: *** [all] Error 2
make: *** [ee-build-samples] Error 2



Thanks in advance