Search found 6 matches

by Lousyphreak
Sat Aug 23, 2008 12:17 am
Forum: PSP Development
Topic: newlib opened files patch
Replies: 0
Views: 911

newlib opened files patch

I am currently writing a patch to allow more than the psp kernels maximum number of opened files to ease porting (I'm working on exult, everything running up to the point where I run into the files problem). My current approach is wrapping the file functions (open, close, read, write, seek), to chec...
by Lousyphreak
Thu Jan 27, 2005 9:04 am
Forum: PS2 Development
Topic: pausing execution
Replies: 3
Views: 1866

dont know if it helps but this is taken straight from the scummvm port im working on: uint32 getMillis() { int* sec; int* usec; SifCallRpc(&client,0,0,(void*)(&rpcBuffer[0]),0,(void*)(&am...
by Lousyphreak
Thu Jan 27, 2005 8:59 am
Forum: PS2 Development
Topic: Getting g++ to work
Replies: 30
Views: 10948

the -lc workaround doesnt work for me :( i just search for the compiled .o's which contain the needed function and add them to the linker, currently there are 13 files i need to link to manually. (im toying with scummvm using an old ps2 port and getting it up2date) for now its working but still it b...
by Lousyphreak
Wed Jan 26, 2005 5:22 pm
Forum: PS2 Development
Topic: Getting g++ to work
Replies: 30
Views: 10948

now built with toolchain.sh: bash-2.05b$ ee-g++ test.cpp -D_EE -O2 -c bash-2.05b$ ee-gcc -T/usr/local/ps2dev/ps2sdk/ee/startup/linkfile -L$PS2SDK/ee/lib test.o -lkernel -lstdc++ -lc -lkernel -lsyscall /usr/local/ps2dev/ee/lib/gcc-lib/ee/3.2.2/libgcc.a(unwind-dw2.o)(.text+0x38...
by Lousyphreak
Wed Jan 26, 2005 12:08 am
Forum: PS2 Development
Topic: Getting g++ to work
Replies: 30
Views: 10948

i forgot to mention that i'm at work so i dont have access to my dev pc's, but in the meantime i installed ps2dev here@work and voila the exact same errors. 1. i installed the ps2sdk found here: http://ps2dev.org/kb.x?T=1081 2. set paths accordingly 3. cd to ps2dev\ps2lib\ee\samples\hello_c++ 4. mak...
by Lousyphreak
Tue Jan 25, 2005 8:19 pm
Forum: PS2 Development
Topic: Getting g++ to work
Replies: 30
Views: 10948

Getting g++ to work

ive done some ps2 toolchain installs the past days (1 on linux, 2 on cygwin) but with neither g++ was working... everything works fine with c, i made testfiles with a plain main(), adding a class, and using new. plain main() works (using ee-g++), but as soon as i add a c++ feature the linker complai...