Setting Variables w/Cygwin WinXP for GSLib

Discuss the development of software, tools, libraries and anything else that helps make ps2dev happen.

Moderators: cheriff, Herben

Post Reply
bbchazz
Posts: 34
Joined: Thu Jan 13, 2005 12:38 am

Setting Variables w/Cygwin WinXP for GSLib

Post by bbchazz »

Can someone direct me to, or help me here with setting the variables for GSlib using Cygwin. I have Cygwin all set up properly and working but since I used the toolchain I didn't have to set veriables to begin with so I have no idea where to now.

Thx
bbchazz
Posts: 34
Joined: Thu Jan 13, 2005 12:38 am

Post by bbchazz »

OK...I found one problem for starters. When I run 'make' it is looking for the makefiles in /PS2lib directory...which is wrong cause im setup with PS2sdk. So once I find out how to make these changes to have 'makefile' look differently things might go a little smoother.
bbchazz
Posts: 34
Joined: Thu Jan 13, 2005 12:38 am

Post by bbchazz »

Ok guys I really need some help....I am getting even closer but this is boggling my mind. Heres the error im getting when compiling the samples with gslib

$ make
ee-g++ -D_EE -O2 -G0 -Wall -fno-exceptions -fno-rtti -I/usr/local/ps2dev/ps2sd
k/ee/include -I/usr/local/ps2dev/ps2sdk/common/include -I. -I/ps2dev/gslib/sour
ce -I/ps2dev/ee/lib/gcc-lib/ee/3.2.2/include -c example.cpp -o example.o
ee-gcc -mno-crt0 -T/usr/local/ps2dev/ps2sdk/ee/startup/linkfile -L/usr/local/ps2
dev/ps2sdk/ee/lib -L/ps2dev/gslib/lib -L/ps2dev/ee/lib/gcc-lib/ee/3.2.2 -L/usr/
local/ps2dev/ps2sdk/ee/lib -L/ps2dev/ee/ee/lib \
-o example.elf /usr/local/ps2dev/ps2sdk/ee/startup/crt0.o example.o -lke
rnel -lsyscall -lc -lsupc++ -lgcc -lgs -lkernel
/usr/local/ps2dev/ee/lib/gcc-lib/ee/3.2.2/../../../../ee/bin/ld: cannot find -lg
s
collect2: ld returned 1 exit status
make: *** [example.elf] Error 1
ole
Posts: 92
Joined: Sat May 08, 2004 11:14 pm
Location: Czech Republic

Post by ole »

Check this out: -L/ps2dev/gslib/lib :-)
ps2dev / ps2sdk :)
bbchazz
Posts: 34
Joined: Thu Jan 13, 2005 12:38 am

Post by bbchazz »

Thx ole,

but i switched over to try setting up gskit instead. So if someone can tell me how to setup the GSKit env variables in bash_profile that would be great...or anywhere else to make it work for me.
blackdroid
Posts: 564
Joined: Sat Jan 17, 2004 10:22 am
Location: Sweden
Contact:

Post by blackdroid »

export GSKIT=/path/to/gsKit

jut like the other needed env variables.
Kung VU
Post Reply