Hi, I have some problem with binutils. I'm trying to build binutils for psp but a make configure doesn't work :
----------------- bash-3.2# make configure ===> Verifying specs: c c ===> found c.50.1 ===> Checking files for psp-binutils-2.16.1 `/usr/ports/distfiles/binutils-2.16.1.tar.gz' is up to date. >> (SHA256) binutils-2.16.1.tar.gz: OK ===> Extracting for psp-binutils-2.16.1 ===> Patching for psp-binutils-2.16.1 ===> Configuring for psp-binutils-2.16.1 loading site script /usr/ports/infrastructure/db/config.site creating cache ./config.cache checking host system type... i386-unknown-openbsd4.5 checking target system type... Invalid configuration `psp': machine `psp' not recognized checking build system type... i386-unknown-openbsd4.5 checking for a BSD compatible install... /usr/bin/install -c -o root -g bin checking whether ln works... yes checking whether ln -s works... yes checking for gcc... cc checking whether the C compiler (cc -O2 -pipe ) works... yes checking whether the C compiler (cc -O2 -pipe ) is a cross-compiler... no checking whether we are using GNU C... (cached) yes checking whether cc accepts -g... (cached) yes checking for gnatbind... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16 checking for correct version of gmp.h... no checking for bison... bison checking for bison... bison -y checking for gm4... gm4 checking for flex... flex checking for flex... flex checking for makeinfo... makeinfo checking for i386-unknown-openbsd4.5-ar... no checking for ar... ar checking for i386-unknown-openbsd4.5-as... no checking for as... as checking for i386-unknown-openbsd4.5-dlltool... no checking for dlltool... dlltool checking for i386-unknown-openbsd4.5-ld... no checking for ld... ld checking for i386-unknown-openbsd4.5-nm... no checking for nm... nm checking for i386-unknown-openbsd4.5-ranlib... no checking for ranlib... ranlib checking for i386-unknown-openbsd4.5-windres... no checking for windres... windres checking for i386-unknown-openbsd4.5-objcopy... no checking for objcopy... objcopy checking for i386-unknown-openbsd4.5-objdump... no checking for objdump... objdump checking for psp-ar... no /usr/ports/mystuff/devel/psp/binutils/w-psp-binutils-2.16.1/binutils-2.16.1/configure[4327]: test: =: missing second argument checking for psp-as... no /usr/ports/mystuff/devel/psp/binutils/w-psp-binutils-2.16.1/binutils-2.16.1/configure[4399]: test: =: missing second argument checking for psp-dlltool... no /usr/ports/mystuff/devel/psp/binutils/w-psp-binutils-2.16.1/binutils-2.16.1/configure[4471]: test: =: missing second argument checking for psp-ld... no /usr/ports/mystuff/devel/psp/binutils/w-psp-binutils-2.16.1/binutils-2.16.1/configure[4543]: test: =: missing second argument checking for psp-nm... no /usr/ports/mystuff/devel/psp/binutils/w-psp-binutils-2.16.1/binutils-2.16.1/configure[4615]: test: =: missing second argument checking for psp-ranlib... no /usr/ports/mystuff/devel/psp/binutils/w-psp-binutils-2.16.1/binutils-2.16.1/configure[4687]: test: =: missing second argument checking for psp-windres... no /usr/ports/mystuff/devel/psp/binutils/w-psp-binutils-2.16.1/binutils-2.16.1/configure[4759]: test: =: missing second argument checking whether to enable maintainer-specific portions of Makefiles... no checking if symbolic links between directories work... yes updating cache ./config.cache creating ./config.status creating Makefile ------------- If I patch and then i do manually a configure it's work : --------- bash-3.2# make clean patch ===> Cleaning for psp-binutils-2.16.1 ===> Verifying specs: c c ===> found c.50.1 ===> Checking files for psp-binutils-2.16.1 `/usr/ports/distfiles/binutils-2.16.1.tar.gz' is up to date. >> (SHA256) binutils-2.16.1.tar.gz: OK ===> Extracting for psp-binutils-2.16.1 ===> Patching for psp-binutils-2.16.1 bash-3.2# cd w-psp-binutils-2.16.1/binutils-2.16.1/ bash-3.2# ./configure --target=psp --enable-install-libbfd creating cache ./config.cache checking host system type... i386-unknown-openbsd4.5 checking target system type... mipsallegrexel-psp-elf checking build system type... i386-unknown-openbsd4.5 checking for a BSD compatible install... /usr/bin/install -c checking whether ln works... yes checking whether ln -s works... yes checking for gcc... gcc checking whether the C compiler (gcc ) works... yes checking whether the C compiler (gcc ) is a cross-compiler... no checking whether we are using GNU C... yes checking whether gcc accepts -g... yes checking for gnatbind... no checking whether compiler driver understands Ada... no checking how to compare bootstrapped objects... cmp $$f1 $$f2 16 16 checking for correct version of gmp.h... no checking for bison... bison checking for bison... bison -y checking for gm4... gm4 checking for flex... flex checking for flex... flex checking for makeinfo... makeinfo checking for i386-unknown-openbsd4.5-ar... no checking for ar... ar checking for i386-unknown-openbsd4.5-as... no checking for as... as checking for i386-unknown-openbsd4.5-dlltool... no checking for dlltool... dlltool checking for i386-unknown-openbsd4.5-ld... no checking for ld... ld checking for i386-unknown-openbsd4.5-nm... no checking for nm... nm checking for i386-unknown-openbsd4.5-ranlib... no checking for ranlib... ranlib checking for i386-unknown-openbsd4.5-windres... no checking for windres... windres checking for i386-unknown-openbsd4.5-objcopy... no checking for objcopy... objcopy checking for i386-unknown-openbsd4.5-objdump... no checking for objdump... objdump checking for psp-ar... no checking for psp-as... no checking for psp-dlltool... no checking for psp-ld... no checking for psp-nm... no checking for psp-ranlib... no checking for psp-windres... no checking whether to enable maintainer-specific portions of Makefiles... no checking if symbolic links between directories work... yes updating cache ./config.cache creating ./config.status creating Makefile ----------------------- Any Idea ? Thanks, BSDManiak
psp-toolchain.tar.gz
Description: application/tgz
