Search found 5 matches

by greymouser
Fri Jan 20, 2006 10:28 am
Forum: PSP Development
Topic: Porting glib (some progress, could use some help)
Replies: 7
Views: 2534

Okay, things are actually really coming along. Much of glib is compiled. Mainly I'm having to munge some of the stuff where G_OS_WIN32 meant "not UNIX" rather than "hi, I'm Windows". One thing, linking this particular file: /bin/sh ../libtool --mode=link psp-gcc -G0 -Wall -L/home...
by greymouser
Fri Jan 20, 2006 10:03 am
Forum: PSP Development
Topic: Porting glib (some progress, could use some help)
Replies: 7
Views: 2534

Ahh, good point, a quick: # find . -name "dirent.h" and a scan of the file proved things should be working. ... brain lockup on my part. ugh, looks like my glibintl.h / gettext stub isn't going to cut it, which uses #defines ... i may have to write a "real" intl library stub ... ...
by greymouser
Fri Jan 20, 2006 9:50 am
Forum: PSP Development
Topic: Porting glib (some progress, could use some help)
Replies: 7
Views: 2534

So, I managed to add iconv support to newlib -- thanks for the hint! I munged the GLIB code a bit ... they took out --disable-nls, so it really does require gettext...there was old code in glibintl.h that did the work for the old --disable-nls option, which I have reenabled, for now (at least). The ...
by greymouser
Fri Jan 20, 2006 6:58 am
Forum: PSP Development
Topic: Porting glib (some progress, could use some help)
Replies: 7
Views: 2534

Okay, I fixed my R_MIPS_GPREL16 error in gettext. Passing -G0 to C[XX]FLAGS helped, atlhough I'm sure that comes at a theoretical performance hit (not that I really care about gettext speed). However, now I got a legit compilation error, in gettext: msgfmt.c:795: error: syntax error before 'sigfpe_e...
by greymouser
Fri Jan 20, 2006 6:00 am
Forum: PSP Development
Topic: Porting glib (some progress, could use some help)
Replies: 7
Views: 2534

Porting glib (some progress, could use some help)

Last night I spent many an hour trying to port glib-2.8.6 to the PSP. I reached some major roadblocks. - Newer glib releases seem to require iconv, as well as gettext --+ iconv functions are referenced in the pspsdk headers, but I can't find the symbols in the psp sdk libs, so presumbably it's eithe...