| View previous topic :: View next topic |
| Author |
Message |
bbchazz
Joined: 13 Jan 2005 Posts: 34
|
Posted: Mon Feb 14, 2005 11:57 pm Post subject: Setting Variables w/Cygwin WinXP for GSLib |
|
|
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 |
|
| Back to top |
|
 |
bbchazz
Joined: 13 Jan 2005 Posts: 34
|
Posted: Tue Feb 15, 2005 3:55 am Post subject: |
|
|
| 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. |
|
| Back to top |
|
 |
bbchazz
Joined: 13 Jan 2005 Posts: 34
|
Posted: Tue Feb 15, 2005 5:19 am Post subject: |
|
|
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 |
|
| Back to top |
|
 |
ole
Joined: 08 May 2004 Posts: 92 Location: Czech Republic
|
Posted: Wed Feb 16, 2005 5:05 am Post subject: |
|
|
Check this out: -L/ps2dev/gslib/lib :-)
ps2dev / ps2sdk :) |
|
| Back to top |
|
 |
bbchazz
Joined: 13 Jan 2005 Posts: 34
|
Posted: Wed Feb 16, 2005 7:20 am Post subject: |
|
|
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. |
|
| Back to top |
|
 |
blackdroid
Joined: 17 Jan 2004 Posts: 564 Location: Sweden
|
Posted: Wed Feb 16, 2005 8:55 pm Post subject: |
|
|
export GSKIT=/path/to/gsKit
jut like the other needed env variables. _________________ Kung VU |
|
| Back to top |
|
 |
|