| delorie.com/archives/browse.cgi | search |
| Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
| List-Subscribe: | <mailto:cygwin-subscribe AT cygwin DOT com> |
| List-Archive: | <http://sources.redhat.com/ml/cygwin/> |
| List-Post: | <mailto:cygwin AT cygwin DOT com> |
| List-Help: | <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs> |
| Sender: | cygwin-owner AT cygwin DOT com |
| Mail-Followup-To: | cygwin AT cygwin DOT com |
| Delivered-To: | mailing list cygwin AT cygwin DOT com |
| content-class: | urn:content-classes:message |
| Subject: | RE: Succsessfull GCC 3.1 with Cygwin and GNAT |
| MIME-Version: | 1.0 |
| X-MimeOLE: | Produced By Microsoft Exchange V6.0.5762.3 |
| Date: | Tue, 4 Jun 2002 14:26:39 +1000 |
| Message-ID: | <FAC87D7C874EAB46A847604DA4FD5A6403473B@crtsmail.corp.riotinto.org> |
| X-MS-Has-Attach: | |
| X-MS-TNEF-Correlator: | |
| From: | "Billinghurst, David (CRTS)" <David DOT Billinghurst AT riotinto DOT com> |
| To: | "Andre Leis" <a DOT leis AT gmx DOT net>, <gcc AT gcc DOT gnu DOT org> |
| Cc: | <cygwin AT cygwin DOT com> |
| X-OriginalArrivalTime: | 04 Jun 2002 04:28:14.0439 (UTC) FILETIME=[3E0A7F70:01C20B80] |
| X-MIME-Autoconverted: | from quoted-printable to 8bit by delorie.com id g544SED27870 |
OK. This works for me too.
Some additional details:
- the bootstrap compiler is the gnat-3.14p-nt.exe package
- it works by configuring with a relative path, so that
the native win32 bootstrap compiler isn't confused by
cygwin paths
- the same trick doesn't work with gcc-3.2 as gnatmake chokes
The resulting cygwin 3.1 gcc works nicely as a bootstrap
compiler, so I will attempt to build ada as part of my
regular testing.
-----Original Message-----
From: Andre Leis [mailto:a DOT leis AT gmx DOT net]
Sent: Tuesday, 28 May 2002 7:01
To: gcc AT gcc DOT gnu DOT org
Subject: Succsessfull GCC 3.1 with Cygwin and GNAT
Hello!
I used the lastest version of cygwin to build gcc3.1.I expirenced some
problems wich mainly where caused by myself. I renamed /gnat/bin/gcc to
/gnat/bin/gnatgcc and had gnat/bin/ in my path.
../gcc-3.1/configure --enable-threads=win32
During the configure run I checked, that a ada compiler was found and
objdir/gcc/ada was created.
After the make run with :
make CFLAGS='-O' LIBCFLAGS='-g -O2'
LIBCXXFLAGS='-g -O2 -fno-implicit-templates' bootstrap
I tried to make the ada-libs and tools with
cd gcc
make gnatlib_and_tools
This make run always ended up in an error in sysdep.c.
ICANON was not defined.
I tried to change in sysdep.c.
#if defined (linux) || defined (sun) || defined (sgi) || defined (__EMX__) \
|| (defined (__osf__) && ! defined (__alpha_vxworks)) || defined (WINNT) \
|| defined (__MACHTEN__)
#include <termios.h>
into
#if defined (linux) || defined (sun) || defined (sgi) || defined (__EMX__) \
|| (defined (__osf__) && ! defined (__alpha_vxworks)) || defined (WINNT) \
|| defined (__MACHTEN__) || defined (__CYGWIN32__)
#include <termios.h>
With this new sysdep.c I could succsessfull build and install the ada libs
and tools.
Btw.
$ ../gcc-3.1/config.guess
i686-pc-cygwin
$ gcc -v
Reading specs from /usr/local/lib/gcc-lib/i686-pc-cygwin/3.1/specs
Configured with: ../gcc-3.1/configure --enable-threads=win32 :
(reconfigured) ..
/gcc-3.1/configure --enable-threads=win32
Thread model: win32
gcc version 3.1
$ uname -a
CYGWIN_NT-5.0 SLARTIBARTFASS 1.3.10(0.51/3/2) 2002-02-25 11:14 i686 unknown
André
--
Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
Bug reporting: http://cygwin.com/bugs.html
Documentation: http://cygwin.com/docs.html
FAQ: http://cygwin.com/faq/
| webmaster | delorie software privacy |
| Copyright © 2019 by DJ Delorie | Updated Jul 2019 |