Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT sourceware DOT cygnus DOT com Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com Message-Id: <200005141353.PAA19072@dimail.epfl.ch> Date: Sun, 14 May 2000 15:53:07 +0200 (MET DST) From: Germain Ivanoff-Trinadtzaty Reply-To: Germain Ivanoff-Trinadtzaty Subject: Building a CrossGCC To: cygwin AT sourceware DOT cygnus DOT com MIME-Version: 1.0 Content-Type: TEXT/plain; charset=US-ASCII Content-MD5: 05hUS53k4JwhjQqJsDfZNw== X-Mailer: dtmail 1.3.0 @(#)CDE Version 1.3.5 SunOS 5.7 sun4u sparc Content-Transfer-Encoding: 8bit X-MIME-Autoconverted: from QUOTED-PRINTABLE to 8bit by delorie.com id IAA17771 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 and 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 AT sourceware DOT cygnus DOT com