delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2000/05/14/13:19:43

Mailing-List: contact cygwin-help AT sourceware DOT cygnus DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT sourceware DOT cygnus DOT com>
List-Archive: <http://sourceware.cygnus.com/ml/cygwin/>
List-Post: <mailto:cygwin AT sourceware DOT cygnus DOT com>
List-Help: <mailto:cygwin-help AT sourceware DOT cygnus DOT com>, <http://sourceware.cygnus.com/ml/#faqs>
Sender: cygwin-owner AT sourceware DOT cygnus DOT com
Delivered-To: mailing list cygwin AT sourceware DOT cygnus DOT com
Message-ID: <000201bfbdd1$7eaa2e80$0100000a@TIMYX18EWDT6RQ>
From: "Tim Prince" <tprince AT computer DOT org>
To: "Germain Ivanoff-Trinadtzaty" <Germain DOT Ivanoff-Trinadtzaty AT studi DOT epfl DOT ch>,
<cygwin AT sourceware DOT cygnus DOT com>
References: <200005141353 DOT PAA19072 AT dimail DOT epfl DOT ch>
Subject: Re: Building a CrossGCC
Date: Sun, 14 May 2000 07:55:49 -0700
MIME-Version: 1.0
X-Priority: 3
X-MSMail-Priority: Normal
X-Mailer: Microsoft Outlook Express 5.00.2919.5600
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.5600

The setup.exe program for cygwin-1.1.0 should download each file
individually from the web.
It must be installed before you can install the snapshot.

I simply went to the head of the cygwin installation tree 'cd /'
and untarred it.  The snapshot install over-writes the
equivalent files from the original snapshot, except for
cygwin1.dll, which "fails" to over-write since it is busy.  I
extract that file separately, close cygwin, and copy it using
Windows.

For the cross compile, you must supply the include directory for
the target, for example by the argument to --with-headers.  The
newlib source should be available on cygwin mirrors.  Sorry,
beyond that I'm no expert on your porject.

----- Original Message -----
From: "Germain Ivanoff-Trinadtzaty"
<Germain DOT Ivanoff-Trinadtzaty AT studi DOT epfl DOT ch>
To: <cygwin AT sourceware DOT cygnus DOT com>
Sent: Sunday, May 14, 2000 6:53 AM
Subject: Building a CrossGCC


I have installed Cygwin 1.1.0 (from cygwin/latest) under Windows
2K.

*  how to install snapshots ?
   ~~~~~~~~~~~~~~~~~~~~~~~~


   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 AT sourceware DOT cygnus DOT com




--
Want to unsubscribe from this list?
Send a message to cygwin-unsubscribe AT sourceware DOT cygnus DOT com

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019