This is the mail archive of the crossgcc@sources.redhat.com 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: Croostools cript fails to compile GCC in cygwin. What am i missing?


Ryan Churches wrote:
I ran the crosstools script in an attempt to build a crosscompiler for
gcc.  after some time it failed.

At some point (I fell asleep) I got a bunch of:

/usr/src/crosstool-0.32/build/i686-pc-linux-gnu/gcc-3.3.4-glibc-2.3.3/build-glib
c/elf/librtld.os(.text+0xe660): In function `mmap':
: undefined reference to `errno'

Maybe glibc-2.3.3/glibc-2.3.3-cygwin.patch isn't doing its job.


Can you try building in a case-sensitive directory?  You can
achieve that by creating an empty directory, then mounting it
with the mount command using -o managed.  See
http://cygwin.com/cygwin-ug-net/using-utils.html#mount

e.g.

mount -f -u -b -o managed "C:/cygwin/home/ryan/managed" "/home/ryan/managed"
cd /home/ryan/managed
(build your toolchain here)

That will verify whether the problem is case sensitivity, and
will incidentally let you get some work done.

In any case, please log the output of the build script to a file, e.g.
   sh demo-i686.sh > log 2>&1
in case it fails.  That makes it easier to analyse.
- Dan

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


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