Code: Select all
$ LDFLAGS="-L$(psp-config --pspsdk-path)/lib -lc -lpspuser" \
> ./configure --host psp --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 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... psp-strip
checking for style of include used by make... GNU
checking for psp-gcc... psp-gcc
checking for C compiler default output file name... a.out
checking whether the C compiler works... yes
checking whether we are cross compiling... yes
checking for suffix of executables...
checking for suffix of object files... o
checking whether we are using the GNU C compiler... yes
checking whether psp-gcc accepts -g... yes
checking for psp-gcc option to accept ANSI C... none needed
checking dependency style of psp-gcc... gcc3
checking for library containing strerror... no
checking for psp-gcc... (cached) psp-gcc
checking whether we are using the GNU C compiler... (cached) yes
checking whether psp-gcc accepts -g... (cached) yes
checking for psp-gcc option to accept ANSI C... (cached) none needed
checking dependency style of psp-gcc... (cached) gcc3
checking build system type... i686-pc-cygwin
checking host system type... Invalid configuration `psp': machine `psp' not reco
gnized
configure: error: /bin/sh ./config.sub psp failed