jesusxp@jesusxp:~/SDL$ sudo ./autogen.sh
Generating build information using aclocal, automake and autoconf
This may take a while ...
configure.in: installing `./install-sh'
configure.in: installing `./mkinstalldirs'
configure.in: installing `./missing'
src/Makefile.am: installing `./depcomp'
Now you are ready to run ./configure
jesusxp@jesusxp:~/SDL$ sudo LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" ./configure --host psp --prefix=$(psp-config --psp-prefix)
sudo: LDFLAGS=-L/usr/local/pspdev/psp/sdk/lib -lc -lpspuser: command not found
jesusxp@jesusxp:~/SDL$
jesusxp@jesusxp:~/SDL$ sudo env LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" ./configure --host psp --prefix=$(psp-config --psp-prefix)
Password:
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... i686-pc-linux-gnu
checking host system type... mipsallegrexel-psp-elf
checking target system type... mipsallegrexel-psp-elf
checking for a BSD-compatible install... /usr/bin/install -c
checking whether build environment is sane... yes
checking for gawk... gawk
checking whether make sets $(MAKE)... yes
checking for psp-strip... no
checking for strip... strip
checking for style of include used by make... GNU
checking for psp-gcc... no
checking for gcc... gcc
checking for C compiler default output file name... configure: error: C compiler cannot create executables
See `config.log' for more details.
root@jesusxp:~# echo $PATH
/usr/local/sbin:/usr/local/bin:/usr/sbin:/usr/bin:/sbin:/bin:/usr/X11R6/bin
is my path's configured properly? It doesn't look like my root path is, but my regular user path should be correct, right?
know where to get psp-ranlib? shouldn't it already be with the sdk? I am pretty up to date, i updated the toolchain not too long ago.. Is there a similar method to update the pspsdk? I am just lost..