delorie.com/archives/browse.cgi | search |
X-Recipient: | archive-cygwin AT delorie DOT com |
X-SWARE-Spam-Status: | No, hits=2.8 required=5.0 tests=AWL,BAYES_00,FREEMAIL_ENVFROM_END_DIGIT,FREEMAIL_FROM,RCVD_IN_DNSWL_NONE,T_RP_MATCHES_RCVD,T_TO_NO_BRKTS_FREEMAIL |
X-Spam-Check-By: | sourceware.org |
Message-ID: | <4D7CEF9C.7030902@gmx.net> |
Date: | Sun, 13 Mar 2011 17:23:56 +0100 |
From: | Christoph Schlegel <modula2 AT gmx DOT net> |
User-Agent: | Mozilla/5.0 (Windows; U; Windows NT 6.0; de; rv:1.9.2.13) Gecko/20101207 Thunderbird/3.1.7 |
MIME-Version: | 1.0 |
To: | cygwin AT cygwin DOT com |
Subject: | Re: GNU Modula-2 |
References: | <4D7CE027 DOT 5020507 AT gmx DOT net> <20110313155852 DOT GB7064 AT calimero DOT vinschen DOT de> |
In-Reply-To: | <20110313155852.GB7064@calimero.vinschen.de> |
X-IsSubscribed: | yes |
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 |
Am 13.03.2011 16:58, schrieb Corinna Vinschen: > On Mar 13 16:17, Christoph Schlegel wrote: >> I am wondering about GNU Modula-2. The frontend is listed in the >> Cygwin Package List http://cygwin.com/packages/ but the >> corresponding directory is empty. Are there plans to add the package >> soon? >> >> GNU Modula-2 has reached version 1.0 some time ago. The compiler can >> be built after commenting out a few lines in string.h - I learned >> this from the following message: >> >> http://cygwin.com/ml/cygwin/2008-06/msg00368.html >> >> By the way, another message documents that the problem is there for >> years now. >> >> http://cygwin.com/ml/cygwin/2008-06/msg00369.html > > The mails are from 2008, and the problem they are refering to has been > fixed for quite some time now. The definition of strsignal in string.h > is correct and aligned to the POSIX definition. It's the same as on > Linux, too. If that results in a problem building GNU Modula-2, it's a > problem in GNU Modula-2. > > And since you wrote "after commenting out a *few* lines", it's probably > not this problem at all. I'm sure with a few more details (error > messages, which lines exactly you commented out, stuff like that) your > problem became clearer. > > > Corinna > Hi! This is the error message: Compiling /gm2-cvs-latest/libiberty/strsignal.c:409: error: conflicting types for 'strsignal' /usr/include/string.h:91: error previous declaration of 'strsignal' was here As mentioned in the messages from 2008 I commented out #ifndef DEFS_H /* Kludge to work around problem compiling in gdb */ char *_EXFUN(strsignal, (int __signo)); #endif I think the problem is that GNU Modula-2 is developed on the base of gcc-4.1.2 (which was released 2007) which leads to the conflict shown above. I'll try to graft the gm2 frontend onto the sourcetree of the latest gcc and I guess the problem will be gone. Thanks Christoph -- Problem reports: http://cygwin.com/problems.html FAQ: http://cygwin.com/faq/ Documentation: http://cygwin.com/docs.html Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple
webmaster | delorie software privacy |
Copyright © 2019 by DJ Delorie | Updated Jul 2019 |