This is the mail archive of the crossgcc@sourceware.org mailing list for the crossgcc project.
See the CrossGCC FAQ for lots more information.
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |
Other format: | [Raw text] |
I actually have a working build on the Linux box, it was created by someone else, which I have the full build for, however it doesn't build in the cygwin environment. Hence the reason I was using the crosstools script. I have been using the NPTL patch from Martin Guy's website, that patches crosstools http://www.freaknet.org/martin/crosstool/crosstool-0.42-mg2.patch and reviewing the build log I see the following patch is applied during build time.: applying patch /usr/mybuild/crosstool-0.42/patches/gcc-4.1.0/gcc-4.1-fix-fixincl.patch -- Matt Snoby matt.snoby@yahoo.com ----- Original Message ---- From: Nye Liu To: Matt Snoby Cc: crossgcc@sourceware.org Sent: Tuesday, September 5, 2006 10:47:31 PM Subject: Re: cygwin -> mips GCC_NO_EXECUTABLES error 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
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |