delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/07/12/00:43:25

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
Date: Fri, 12 Jul 2002 00:43:19 -0400
From: Christopher Faylor <cgf AT redhat DOT com>
To: cygwin AT cygwin DOT com
Subject: Re: Available for test: gcc-3.1.1-2 gcc2-2.95.3-8
Message-ID: <20020712044319.GA10089@redhat.com>
Reply-To: cygwin AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
References: <20020711044304 DOT GA3292 AT redhat DOT com> <3D2D3205 DOT 7080606 AT ece DOT gatech DOT edu> <20020711162955 DOT GA11047 AT redhat DOT com> <3D2DBE07 DOT 3040909 AT ece DOT gatech DOT edu> <20020712000601 DOT GA11148 AT redhat DOT com> <3D2E51ED DOT 3080902 AT ece DOT gatech DOT edu> <20020712040949 DOT GB2057 AT redhat DOT com> <3D2E5C1B DOT 9050604 AT ece DOT gatech DOT edu>
Mime-Version: 1.0
In-Reply-To: <3D2E5C1B.9050604@ece.gatech.edu>
User-Agent: Mutt/1.3.23.1i

On Fri, Jul 12, 2002 at 12:33:31AM -0400, Charles Wilson wrote:
>'Course, for my cygwin-host, mingw-target cross compiler, I'll need to 
>respin 
>it so that it coexists with the official gcc and gcc2 and gcc-mingw 
>packages...sigh.

Do you need this anymore, though?  You could get by with this, couldn't
you:

i686-pc-mingw32-gcc is:
#!/bin/sh
gcc -mno-cygwin $(@+"$@"}

Or, should I not be coopting the i686-pc-mingw32 target directory?
Maybe it really should be something like i686-pc-mingw32-cygwin.  Bleah.

>Say, where do you change gcc(2.95.3) so that g++-2 links against 
>libstdc++-2.a instead of libstdc++.a?  (Ditto g77).  It doesn't seem to 
>be in the specs file, so I dunno WHERE that is done...

It is in the last two lines of the specs file:

#define LIBSTDCXX "-lstdc++-2"
#define FORTRAN_LIBRARY "-lg2c-2"

The files themselves get munged by mknetrel's extra/gcc2 script.

Btw, I moved that libstdc++.a.whatever file out of /usr/lib for the next
release.  Although, actually, if I had just moved it into the
/usr/i686-pc-cygwin/lib directory, I might not have had to add the -2
part.  Argh.  Not going to change it now...

cgf
(Who's off for the 4000th rebuild of these packages...)

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