~/downloads/psplibs/freetype$ LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" ./configure --host psp --prefix=$(psp-config --psp-prefix)
cd builds/unix; ./configure --host psp --prefix=/usr/local/pspdev/psp
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... /bin/bash: ./config.guess: No such file or directory
configure: error: cannot guess build type; you must specify one
make: *** [builds/unix/unix-def.mk] Error 1
The stuff using configure in the ps2dev repo have been patched in this manner, but going "straight to the source" means you have to do this patch yourself.
After that, a common configure command would be like this:
I'm trying the trick and i post results when done...
EDIT: "psp)" section is already in config.sub....
As I said before, psp will be in "our" version of libraries. It's when you get the "real" library straight from the source that the psp stuff will all be missing. Many libs can be configured and compiled merely by adding the psp info, doing the configure as mentioned earlier, then making like normal. Some need much more patching, like SDL.
If you're just trying to make the standard libs, just checkout psplibraries and run the script. It'll checkout all the libraries in the psp repo, build them, and install them to the proper place in the pspdev toolchain.
But with your trick, it's not possible to compile => config.guess is still missing.
The only way to make it is to run "automake --add-missing" in builds/unix and then run ./configure withe good params...
And that's ok for me..
J.F. wrote:
adrenalinedj wrote:yes i think...
I'm trying the trick and i post results when done...
EDIT: "psp)" section is already in config.sub....
As I said before, psp will be in "our" version of libraries. It's when you get the "real" library straight from the source that the psp stuff will all be missing. Many libs can be configured and compiled merely by adding the psp info, doing the configure as mentioned earlier, then making like normal. Some need much more patching, like SDL.
If you're just trying to make the standard libs, just checkout psplibraries and run the script. It'll checkout all the libraries in the psp repo, build them, and install them to the proper place in the pspdev toolchain.
nope all is wrong i got it to work by copying config.sub from the freetype/unix directory into the freetype/ directory because there was not one and the psp) misps thing was already there