I think I'm being thick, but I can't figure out the 'configure' parameters to set it to use the PSP architecture as a target.
Anyone built it already, and can offer any help?
Thanks,
Fanj.
Has anyone tried building the GBA source?
Has anyone tried building the GBA source?
Got a v2.0-v2.80 firmware PSP? Download the eLoader here to run homebrew on it!
The PSP Homebrew Database needs you!
The PSP Homebrew Database needs you!
That's the tricky part, following the build process for SDL doesn't seem to work for me.
It looks like the 'configure' script doesn't include any support for '--host psp', so I'm guessing that either some files are missing, or there's another trick to it.
I'm not too familiar with how configure works, so although I'm playing around with trying to hack something together, I'm flailing around in the dark somewhat.
It looks like the 'configure' script doesn't include any support for '--host psp', so I'm guessing that either some files are missing, or there's another trick to it.
I'm not too familiar with how configure works, so although I'm playing around with trying to hack something together, I'm flailing around in the dark somewhat.
Got a v2.0-v2.80 firmware PSP? Download the eLoader here to run homebrew on it!
The PSP Homebrew Database needs you!
The PSP Homebrew Database needs you!
Uh... doing:
worked just fine for me, and that's straight from SDL's README.PSP (minus -lpsputility which is no longer needed). Did you run autogen.sh first?
Code: Select all
LDFLAGS="-L`psp-config --pspsdk-path`/lib -lc -lpspuser" ./configure --host psp --with-sdl-prefix=`psp-config --psp-prefix`
There is no autogen.sh included in the archive.
Yeah, looks like there is a file missing or the configure script is old.
pspgba_v1.1_src $ LDFLAGS="-L`psp-config --pspsdk-path`/lib -lc -lpspuser" ./configure --host psp --with-sdl-prefix=`psp-config --psp-prefix`
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... Invalid configuration `psp': machine `psp' not recognized
configure: error: /bin/sh ./config.sub psp failed
The config.log doesnt leave any more interesting messages:
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1370: checking build system type
configure:1388: result: x86_64-unknown-linux-gnu
configure:1396: checking host system type
configure:1405: error: /bin/sh ./config.sub psp failed
Danzel.
Edit: Quick bit of hacking I've managed to get it a little further (possibly bad hacking, we'll see)
It now gets up to: (When ran with the command line above)
checking whether psp-g++ accepts -g... yes
checking dependency style of psp-g++... gcc3
checking for psp-ranlib... psp-ranlib
checking for nasm... no
checking for gzopen in -lz... no
configure: error: *** Cannot compile without zlib.
grab my modified files from:
http://localhost.geek.nz/crap/config.tar.bz2
Bed Time (2:22AM :( ) Might play some more tomorow, looks like it may need just a bit more.
Yeah, looks like there is a file missing or the configure script is old.
pspgba_v1.1_src $ LDFLAGS="-L`psp-config --pspsdk-path`/lib -lc -lpspuser" ./configure --host psp --with-sdl-prefix=`psp-config --psp-prefix`
configure: WARNING: If you wanted to set the --build type, don't use --host.
If a cross compiler is detected then cross compile mode will be used.
checking build system type... x86_64-unknown-linux-gnu
checking host system type... Invalid configuration `psp': machine `psp' not recognized
configure: error: /bin/sh ./config.sub psp failed
The config.log doesnt leave any more interesting messages:
## ----------- ##
## Core tests. ##
## ----------- ##
configure:1370: checking build system type
configure:1388: result: x86_64-unknown-linux-gnu
configure:1396: checking host system type
configure:1405: error: /bin/sh ./config.sub psp failed
Danzel.
Edit: Quick bit of hacking I've managed to get it a little further (possibly bad hacking, we'll see)
It now gets up to: (When ran with the command line above)
checking whether psp-g++ accepts -g... yes
checking dependency style of psp-g++... gcc3
checking for psp-ranlib... psp-ranlib
checking for nasm... no
checking for gzopen in -lz... no
configure: error: *** Cannot compile without zlib.
grab my modified files from:
http://localhost.geek.nz/crap/config.tar.bz2
Bed Time (2:22AM :( ) Might play some more tomorow, looks like it may need just a bit more.