delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-Spam-Check-By: | sourceware.org |
From: | "Dave Korn" <dave DOT korn AT artimi DOT com> |
To: | <cygwin AT cygwin DOT com> |
References: | <47F1B87A DOT 3050709 AT gmail DOT com> <47F538F3 DOT CAFABB19 AT dessent DOT net> <47F71B44 DOT 8030404 AT gmail DOT com> <47F72A42 DOT C56BC03F AT dessent DOT net> <47F7F17E DOT 1090202 AT gmail DOT com> |
Subject: | RE: Compiling Cygwin on Linux |
Date: | Tue, 8 Apr 2008 13:19:38 +0100 |
Message-ID: | <003901c89972$d08f41b0$2708a8c0@CAM.ARTIMI.COM> |
MIME-Version: | 1.0 |
X-Mailer: | Microsoft Office Outlook 11 |
In-Reply-To: | <47F7F17E.1090202@gmail.com> |
Mailing-List: | contact cygwin-help AT cygwin DOT com; run by ezmlm |
List-Id: | <cygwin.cygwin.com> |
List-Unsubscribe: | <mailto:cygwin-unsubscribe-archive-cygwin=delorie DOT com AT cygwin DOT 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 |
Robert Eckhoff wrote on 05 April 2008 22:39: > directories. Winsup also had some source problems that I corrected. > > ~/cygwin-1.5.25-11/winsup/cygwin/winsup.h:276 > -extern bool wsock_started; > +extern "C" bool wsock_started; > > ~/cygwin-1.5.25-11/winsup/cygwin/winsup.h:156 > -extern int __api_fatal_exit_val; > +extern "C" int __api_fatal_exit_val; > > ~/cygwin-1.5.25-11/winsup/cygwin/environ.h:46 > -extern char **__cygwin_environ, ***main_environ; > +extern "C" char **__cygwin_environ, ***main_environ; Last time I checked, putting extern "C" on a variable declaration was meaningless, since variable names don't get mangled anyway. What makes you think these changes are necessary? > ~/cygwin-1.5.25-11/winsup/cygwin/syscall.cc:3238 > Uses goto's which breaks the build with gcc4.3. I rewrote the function > to use if statements. What kind of problem does gcc4.3 have with gotos? There's nothing wrong with them in general and lots of other functions in that file have them, so maybe there's some underlying problem which is the actual thing that needs fixing? 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/
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |