This is the mail archive of the
cygwin@sourceware.cygnus.com
mailing list for the Cygwin project.
Building a CrossGCC
- To: cygwin at sourceware dot cygnus dot com
- Subject: Building a CrossGCC
- From: Germain Ivanoff-Trinadtzaty <Germain dot Ivanoff-Trinadtzaty at studi dot epfl dot ch>
- Date: Sun, 14 May 2000 15:53:07 +0200 (MET DST)
- Reply-To: Germain Ivanoff-Trinadtzaty <Germain dot Ivanoff-Trinadtzaty at studi dot epfl dot ch>
I have installed Cygwin 1.1.0 (from cygwin/latest) under Windows 2K.
* how to install snapshots ?
~~~~~~~~~~~~~~~~~~~~~~~~
The setup.exe contained in cygwin-inst-20000511.tar does nothing
when I run it.
I tried to dispatch the files myself, but then my compils go wrong.
Where to put the (310k) lib/libiberty.a ?
Where go i686-cygwin/* ?
To / or to /usr or to /usr/local ?
* I'm still trying to compile a CrossGCC i686-pc-cygwin32 -> m68k
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
I choosed target=m68k-coff; what is m68k-aout ?
I could configure/build/install binutils-19990818 (there are many
warnings at compile-time).
BUT I CANNOT BUILD THE gcc-2.95.2-1-src (from cygwin/latest)
nor the gcc-2.95.2 (from gnu/gcc).
my commands:
cd build-gcc
../gcc-2.95.2/configure --target=m68k-coff \
--with-gnu-as \
--with-gnu-ld \
--enable-languages="c c++" \
--with-headers=?????
make all
I don't have any dir called sys-include. So I tried to put there
several dirs from ../glibc-2.1.3 (those whose path contain 'm68k')
but I always get these:
- warning in libiberty/pexecute.c:379
- warning in gcc/fixinc/fixincl.c:349: 'SIGIOT' undeclared in
function 'initialize'
make[2]: *** [fixincl.o] Error 1
- warning in gcc/libgcc2.c:41: stdlib.h: not found
gcc/libgcc2.c:42: unistd.h: not found
make[3]: *** [libgcc2.o] Error 1
- ...
make: *** [all-gcc] Error 2
I tried to comment out these #include <stdlib.h> and <unistd.h>
in file gcc/libgcc2.c and in gcc/frame.c, but then I get this:
- warning in gcc/libgcc1-test.c:101: conflicting types for
built-in function 'memcpy'
- gcc/cpp.texi: Error 0
make[1]: *** [cpp.info] Error 2
make: *** [all-gcc] Error 2
I don't know what to do. May be look for newlib ?
What options, or what patch to apply ?
I really need this cross-compiler for my project at school.
Anyone could help ?
Thank you very much.
Germain Ivanoff
--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe@sourceware.cygnus.com