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]

Re: Cygwin->linux crosscompiler make problem


Dan Kegel wrote:
On 1/26/06, Jake Goulding <goulding@vivisimo.com> wrote:
Sure. I am invoking the (modified) demo-i386.sh script from the normal
cygwin bash prompt. I moved the crosstool folder to /ct/ in the hopes
that maybe some length was being maxed. It is building now... any more
information I can give in the short term?

post the demo-i386.sh script say whether you've followed the hints in http://kegel.com/crosstool/crosstool-0.38/doc/crosstool-howto.html#cygwin and whether you've mounted /ct in "managed mode", cf. http://barnson.org/node/295 - Dan

My Cygwin directory is in C:\cygwin, so no spaces there. I have the
latest cygwin so shouldn't have the mentioned problem with glib.
/ct isn't mounted, it is simply a directory on the cygwin root
(c:\cygwin\ct in Windows-land).

<<< Contents of demo-i386.sh

#!/bin/sh
set -ex
TARBALLS_DIR=/tmp
RESULT_TOP=/gcc
export TARBALLS_DIR RESULT_TOP
GCC_LANGUAGES="c,c++"
export GCC_LANGUAGES

# 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.
#
#eval `cat i386.dat gcc-2.95.3-glibc-2.1.3.dat` sh all.sh --notest
#eval `cat i386.dat gcc-2.95.3-glibc-2.2.2.dat` sh all.sh --notest
#eval `cat i386.dat gcc-3.2.3-glibc-2.2.3.dat`  sh all.sh --notest
#eval `cat i386.dat gcc-3.2.3-glibc-2.2.5.dat`  sh all.sh --notest
eval `cat i386.dat gcc-3.2.3-glibc-2.3.2.dat`  sh all.sh --notest
#eval `cat i386.dat gcc-3.3.3-glibc-2.1.3.dat`  sh all.sh --notest
#eval `cat i386.dat gcc-3.3.3-glibc-2.2.5.dat`  sh all.sh --notest
...snipped comments...

echo Done.

END LISTING

-j




------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.org


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]