Is there a upgrade of the toolchain.sh for linux available
that use the gcc 4.3.0 or gcc 4.3.1 as target cross compiler ?
Help to compile psp gcc 4.3.0 on linux
-
- Posts: 203
- Joined: Sat Jul 05, 2008 8:03 am
Help to compile psp gcc 4.3.0 on linux
Last edited by sauron_le_noir on Sun Aug 24, 2008 7:19 am, edited 1 time in total.
-
- Posts: 203
- Joined: Sat Jul 05, 2008 8:03 am
i have downloade gcc 4.3.0 patch with the patch found on the forum
create a psp-build directory
launch this script:
#!/bin/sh
LANGUAGES="c,c++"
CFLAGS="-O2 -fomit-frame-pointer " \
BOOT_CFLAGS="-O2 -fomit-frame-pointer " \
BOOT_CXXFLAGS="-mthreads -fno-omit-frame-pointer -O2" \
BOOT_LDFLAGS=-s \
../configure \
--enable-languages=$LANGUAGES \
--disable-multilib \
--with-gcc --with-gnu-ld --with-gnu-as \
--disable-shared --disable-win32-registry --disable-nls \
--enable-cxx-flags="-G0 --disable-werror" \
--target=psp \
--with-newlib \
--prefix=/usr/local/pspdev \
--with-gmp \
--with-mpfr
the compiler is generated without problem but when he must genereated the libgcc
i've got this error
Checking multilib configuration for libgcc...
mkdir -p -- psp/libgcc
Configuring in psp/libgcc
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking build system type... i686-pc-linux-gnu
checking host system type... mipsallegrexel-psp-elf
checking for psp-ar... psp-ar
checking for psp-lipo... psp-lipo
checking for psp-nm... /home/f731/psp-gcc-4.3.0/gcc-4.3.0/build-psp/./gcc/nm
checking for psp-ranlib... psp-ranlib
checking for psp-strip... psp-strip
checking whether ln -s works... yes
checking for psp-gcc... /home/f731/psp-gcc-4.3.0/gcc-4.3.0/build-psp/./gcc/xgcc -B/home/f731/psp-gcc-4.3.0/gcc-4.3.0/build-psp/./gcc/ -B/usr/local/pspdev/psp/bin/ -B/usr/local/pspdev/psp/lib/ -isystem /usr/local/pspdev/psp/include -isystem /usr/local/pspdev/psp/sys-include
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Erreur 1
make[1]: quittant le répertoire « /home/f731/psp-gcc-4.3.0/gcc-4.3.0/build-psp »
make: *** [all] Erreur 2
any ideas
create a psp-build directory
launch this script:
#!/bin/sh
LANGUAGES="c,c++"
CFLAGS="-O2 -fomit-frame-pointer " \
BOOT_CFLAGS="-O2 -fomit-frame-pointer " \
BOOT_CXXFLAGS="-mthreads -fno-omit-frame-pointer -O2" \
BOOT_LDFLAGS=-s \
../configure \
--enable-languages=$LANGUAGES \
--disable-multilib \
--with-gcc --with-gnu-ld --with-gnu-as \
--disable-shared --disable-win32-registry --disable-nls \
--enable-cxx-flags="-G0 --disable-werror" \
--target=psp \
--with-newlib \
--prefix=/usr/local/pspdev \
--with-gmp \
--with-mpfr
the compiler is generated without problem but when he must genereated the libgcc
i've got this error
Checking multilib configuration for libgcc...
mkdir -p -- psp/libgcc
Configuring in psp/libgcc
configure: creating cache ./config.cache
checking for --enable-version-specific-runtime-libs... no
checking for a BSD-compatible install... /usr/bin/install -c
checking for gawk... gawk
checking build system type... i686-pc-linux-gnu
checking host system type... mipsallegrexel-psp-elf
checking for psp-ar... psp-ar
checking for psp-lipo... psp-lipo
checking for psp-nm... /home/f731/psp-gcc-4.3.0/gcc-4.3.0/build-psp/./gcc/nm
checking for psp-ranlib... psp-ranlib
checking for psp-strip... psp-strip
checking whether ln -s works... yes
checking for psp-gcc... /home/f731/psp-gcc-4.3.0/gcc-4.3.0/build-psp/./gcc/xgcc -B/home/f731/psp-gcc-4.3.0/gcc-4.3.0/build-psp/./gcc/ -B/usr/local/pspdev/psp/bin/ -B/usr/local/pspdev/psp/lib/ -isystem /usr/local/pspdev/psp/include -isystem /usr/local/pspdev/psp/sys-include
checking for suffix of object files... configure: error: cannot compute suffix of object files: cannot compile
See `config.log' for more details.
make[1]: *** [configure-target-libgcc] Erreur 1
make[1]: quittant le répertoire « /home/f731/psp-gcc-4.3.0/gcc-4.3.0/build-psp »
make: *** [all] Erreur 2
any ideas