delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/07/07:33:45

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
From: "Christoph" <chr_news AT gmx DOT net>
To: <cygwin AT cygwin DOT com>
Subject: RE: Available for test: gcc-3.1.1-1, gcc2-2.95.3-6, and gcc-mingw-3_1-20020516-1
Date: Sun, 7 Jul 2002 13:30:58 +0200
Message-ID: <000501c225a9$c7436a20$0100a8c0@lony>
MIME-Version: 1.0
X-Priority: 3 (Normal)
X-MSMail-Priority: Normal
In-Reply-To: <20020707032010.GA22463@redhat.com>
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2600.0000
Importance: Normal

> From: Christopher Faylor

...

> Subject: Available for test: gcc-3.1.1-1, gcc2-2.95.3-6, and
gcc-mingw-3_1-20020516-1


Yeah!


> I've just uploaded a test version of gcc 3.1.1 based on the main gcc
> 3.1.1 branch.
> Danny Smith has put a lot of work into this release and currently has
an
> older version of gcc 3.1 available for testing in mingw.  This 3.1.1
> version incorporates more bug fixes from him as well as from normal
gcc
> folk.
> 
> Danny reports that exception handling should work ok in this release
> although I believe that there are still issues with exception handling
> in dlls.

Hm - being utterly ignorant about Cygwin dll internals, I can at
least report that it seems to be possible to compile (and link
them to the corresponding libstdc++.a and libgcc.a libraries) the
Cygwin dll itself without the standard option -fno-rtti -fno-exceptions.
 

By re-adding the --fno-exceptions  option to the compilation of
winsup/cygwin/lib/_cygwin_crt0_common.cc one seems to also get
a  fully functional  libcygwin.a library - i.e. running the 
test suite resulted in nine failures and no pthread failure. 

(Without re-adding the option -fno-exceptions to the compilation
of _cygwin_crtO_common.cc one gets a link error ala
.. libcygwin.a(_cygwin_crt0_common.o):
In function `_cygwin_crt0_common':
.. /src/winsup/cygwin/lib/_cygwin_crt0_common.cc:41: 
undefined reference to `___gxx_personality_v0'.)

> 
...
> gcc 3.1.1 has been built with thread support enabled.  It also
includes
> the java compiler but I haven't actually verified that either works.
> Theoretically, this could also include ada support, but if I do decide

Cool ... using basically the same options and sources I was able to 
compile the Ada extension + libs + tools (the compilation of gnatdll
required a minor tweak).
 
> to make this available, it will probably be as a separate package.  I
> may do this with java eventually, too.

I take that that it is still not possible to compile libgjc?

> 
...

> 2002-01-06  Christopher Faylor  <cgf AT redhat DOT com>
> 
>         * config/i386/cygwin.h: Fix to allow -nostdinc to drop cygwin
includes.
> 	Only search for cyg library prefix when not -mno-cygwin
> 	* t-cygwin: Add -lintl as an auxilliary library.
> 	* x-cygwin: Ditto.

For my native bootstrap I had to explicitly copy cygming.h into
the build directory  Objdir/gcc/gcc to make things work.


/Christoph 


--
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/

- Raw text -


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