forums.ps2dev.org Forum Index forums.ps2dev.org
Homebrew PS2, PSP & PS3 Development Discussions
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Setting Variables w/Cygwin WinXP for GSLib

 
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development
View previous topic :: View next topic  
Author Message
bbchazz



Joined: 13 Jan 2005
Posts: 34

PostPosted: Mon Feb 14, 2005 11:57 pm    Post subject: Setting Variables w/Cygwin WinXP for GSLib Reply with quote

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
View user's profile Send private message
bbchazz



Joined: 13 Jan 2005
Posts: 34

PostPosted: Tue Feb 15, 2005 3:55 am    Post subject: Reply with quote

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
View user's profile Send private message
bbchazz



Joined: 13 Jan 2005
Posts: 34

PostPosted: Tue Feb 15, 2005 5:19 am    Post subject: Reply with quote

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
View user's profile Send private message
ole



Joined: 08 May 2004
Posts: 92
Location: Czech Republic

PostPosted: Wed Feb 16, 2005 5:05 am    Post subject: Reply with quote

Check this out: -L/ps2dev/gslib/lib :-)
ps2dev / ps2sdk :)
Back to top
View user's profile Send private message
bbchazz



Joined: 13 Jan 2005
Posts: 34

PostPosted: Wed Feb 16, 2005 7:20 am    Post subject: Reply with quote

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
View user's profile Send private message
blackdroid



Joined: 17 Jan 2004
Posts: 564
Location: Sweden

PostPosted: Wed Feb 16, 2005 8:55 pm    Post subject: Reply with quote

export GSKIT=/path/to/gsKit

jut like the other needed env variables.
_________________
Kung VU
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forums.ps2dev.org Forum Index -> PS2 Development All times are GMT + 10 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group