cygwin -> mips GCC_NO_EXECUTABLES error
Nye Liu
nyet@mrv.com
Wed Sep 6 02:47:00 GMT 2006
oh one more thing, im assuming you have the nptl patch?
On Tue, Sep 05, 2006 at 05:41:04PM -0700, Matt Snoby wrote:
> Hi CrossTools mail list,
> For the past couple of weeks I???ve been trying to create a mips gcc 4.1.0 tool chain that runs under a cygwin environment. I've gotten a 3.4.4 toolchain to build, however not a 4.1 tool chain. I???ve worked past quite a few issues, but I???ve finally run into one that I just can???t seem to get past. I???ve consulted the almighty google and the mail list, but have yet to find a solution.
> The build fails while configuring for the libstdc++-V3 (If you need more of a log I can reply with that, I just didn't want to make the msg too long).
>
> checking for shared libgcc... configure: error: Link tests are not allowed after GCC_NO_EXECUTABLES.
> make[1]: *** [configure-target-libstdc++-v3] Error 1
> make[1]: Leaving directory `/usr/mybuild/crosstool-0.42/build/mips-linux/gcc-4.1.0-glibc-2.4/build-gcc-core
>
> I???ve searched on the net and after consulting Martin Guy???s website, ( I applied his ports and nptl patch)I thought all I had to do was add:
> GCC_EXTRA_CONFIG=--disable-multilib
>
> to the mips.dat file, however this had no effect.
> I did the following steps to create this build:
>
> 1.) created a gcc-4.1.0-glibc-2.4.dat file
> BINUTILS_DIR=binutils-2.16.91.0.7
> GCC_DIR=gcc-4.1.0
> GLIBC_DIR=glibc-2.4
> LINUX_SANITIZED_HEADER_DIR=linux-libc-headers-2.6.12.0
> GLIBCPORTS_FILENAME=glibc-ports-2.4
> GLIBC_ADDON_OPTIONS=ports,nptl
> GDB_DIR=gdb-6.3
>
> 2.) Modified the mips.dat file
> KERNELCONFIG=`pwd`/mips.config
> TARGET=mips-linux
> TARGET_CFLAGS="-O2 -finline-limit=10000"
> GCC_EXTRA_CONFIG=--disable-multilib
>
> 3.) Modified the demo-mips.sh file:
> #!/bin/sh
> set -ex
> # Big-endian MIPS
> TARBALLS_DIR=$HOME/downloads
> RESULT_TOP=/opt/crosstool
> export TARBALLS_DIR RESULT_TOP
> GCC_LANGUAGES="c,c++"
> export GCC_LANGUAGES
> BINUTILS_EXTRA_CONFIG=--disable-werror
> export BINUTILS_EXTRA_CONFIG
> CYGWIN_DIR=cygwin-1.5.21-2
> #should give it a place to download the cygwin source.... but
> #I just put it in the download directory.
> export CYGWIN_DIR
> QUIET_EXTRACTIONS=1
> export QUIET_EXTRACTIONS
>
>
> # Really, you should do the mkdir before running this,
> # and chown /opt/crosstool to yourself so you don't need to run as root.
> mkdir -p $RESULT_TOP
> # Build the toolchain. Takes a couple hours and a couple gigabytes.
>
> ## This works for 3.4.4 tool chain
> #eval `cat mips.dat gcc-3.4.4-glibc-2.3.5.dat` sh all.sh --notest
> ## This is for the 4.1.0 toolchain
> eval `cat mips.dat gcc-4.1.0-glibc-2.4.dat` sh all.sh --notest
> echo Done.
>
> Any suggestions on how to get past this?
> Thanks,
>
>
> --
> Matt Snoby
> matt.snoby@yahoo.com
>
>
>
>
>
>
>
>
>
>
>
>
>
>
>
> --
> For unsubscribe information see http://sourceware.org/lists.html#faq
--
Nye Liu
nliu@mrv.com
(818) 772-6235x248
(818) 772-0576 fax
"Who would be stupid enough to quote a fictitious character?"
-- Don Quixote
--
For unsubscribe information see http://sourceware.org/lists.html#faq
More information about the crossgcc
mailing list