When cross-compiling for the PSP, I found that this command line
worked best: It looks like the psp linker is not multi-pass, so I had
to repeatedly add the various libraries. I'll get the order right
sometime.
LDFLAGS='-L/usr/local/psp/sdk/lib/ -lsupc++ -lc -lpspkernel -lpspsdk -lpspuser -lpsplibc -lpspkernel -lpspsdk -lpspuser' ./configure --target=psp --host=i386-linux-gnu