delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2007/02/04/18:30:25

X-Spam-Check-By: sourceware.org
From: "Dave Korn" <dave DOT korn AT artimi DOT com>
To: <cygwin AT cygwin DOT com>
Subject: Eliminating -mno-cygwin from gcc.
Date: Sun, 4 Feb 2007 23:29:59 -0000
Message-ID: <020d01c748b4$62d8b170$2e08a8c0@CAM.ARTIMI.COM>
MIME-Version: 1.0
X-Mailer: Microsoft Office Outlook 11
Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Id: <cygwin.cygwin.com>
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sourceware.org/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sourceware.org/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


  There have been no serious objections, so I think we should go ahead.
Perhaps we should replace the gcc, g++, g77 etc. drivers with shell scripts
that look for -mno-cygwin on the command line and redirect to
i686-pc-mingw-{gcc,g++,etc} or to i686-pc-cygwin-{gcc,g++,etc}, just to make
life easier for the backwardly-compatible, but I don't see any reason not to
go ahead and remove the option from the driver.  (Then again, that happens
upstream on trunk anyway, so unless/until I backport it to a
cygwin-package-local patch and reissue 3.4.4 it's not going to make a
difference; and if I was going to have to have some kind of local patch, it
might be equally nice to emit a deprecation warning and then immediately
re-exec the cross-toolchain driver with the mno-cygwin edited out of argc/v).

  By an astonishingly well-timed coincidence, the mingw project has just
recently released a really rather nice bunch of shell scripts to help build
mingw-targeted cross-compilers (and indeed the entire toolchain).

  I'm just trying a build now, and if it works well I'll figure out a way to
bundle it up into cygwin packages and formally ITP it.  Once we /have/ the
cross-toolchain, then we can finally figure out exactly how we want to
integrate it.


    cheers,
      DaveK
-- 
Can't think of a witty .sigline today....


--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Problem reports:       http://cygwin.com/problems.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