X-Spam-Check-By: sourceware.org Message-ID: <658bce1a0706080458j521d07fq4f79b177093eb2d1@mail.gmail.com> Date: Fri, 8 Jun 2007 07:58:58 -0400 From: "Bruce Mahfood" To: cygwin AT cygwin DOT com Subject: Re: Problem compiling with gpc and "Uses Crt" statement in crtc.c In-Reply-To: <006b01c7a955$904454a0$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <658bce1a0706071213q7e1209abp3cdbe6689fcac90c AT mail DOT gmail DOT com> <002a01c7a939$de7c8140$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <658bce1a0706071341u1708c013oa4dc292c386467e3 AT mail DOT gmail DOT com> <006b01c7a955$904454a0$2e08a8c0 AT CAM DOT ARTIMI DOT COM> X-IsSubscribed: yes Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm Precedence: bulk List-Id: List-Unsubscribe: List-Subscribe: List-Archive: List-Post: List-Help: , Sender: cygwin-owner AT cygwin DOT com Mail-Followup-To: cygwin AT cygwin DOT com Delivered-To: mailing list cygwin AT cygwin DOT com Will do. Thanks Dave. On 6/7/07, Dave Korn wrote: > On 07 June 2007 21:41, Bruce Mahfood wrote: > > > Hey thanks. I recognised that the problem was in a system level C > > file, when I was trying to compile a Pascal file. The thing is that > > gpc is a Pascal compiler that is linked against the gcc backend. > > Heh, yes, I know. I'm the maintainer of the cygwin gcc packages. > > > The > > GNU Pascal page > > (http://directory.fsf.org/devel/prog/pascal/GNUPascal.html) states > > that it implements ISO Pascal, Borland Pascal 7.0, and parts of other > > Pascal standards or de-facto standards. > > We used to have a gpc build and then it got dropped and when I took over gcc > maintainership I threw together a newer version. It's entirely possible I did > something wrong, although it passes most of the gpc testsuite: > > === gpc tests === > > Running target any > Running testsuite ... > > UNSUPPORTED: agettext2test.pas > UNSUPPORTED: aregextest.pas > FAIL: aturbo3test.pas > FAIL: avo7.pas > FAIL: crttest.pas > FAIL: dialec3.pas > FAIL: dialec5.pas > FAIL: dialec6.pas > FAIL: dialec7.pas > FAIL: fjf1021d.pas > FAIL: fjf1021h.pas > FAIL: fjf1021i.pas > FAIL: fjf1021j.pas > FAIL: fjf1021k.pas > FAIL: fjf1042b.pas > FAIL: fjf1042c.pas > UNSUPPORTED: fjf165a.pas > FAIL: fjf186.pas > UNSUPPORTED: gmptest.pas > UNSUPPORTED: longr2.pas > FAIL: mir047h.pas > > === gpc Summary === > > # of tests 4946 > # of expected passes 4925 > # of unexpected failures 16 > # of unsupported tests 5 > > > > I tried removing the call to Use Crt, and have other errors. I am > > going to ask my question on the GNU-Pascal mailing list, since you do > > not seem to feel that this is a Cygwin issue, but a) since gpc speaks > > Borland, I would assume that it is not being messed up with the Uses > > Crt, and b) since gpc comes as a part of the Cygwin install, and since > > I installed it using the Cygwin Setup executable, I would think that > > there should be no problem with it finding the correct object file, > > but in this case it didn't. Why would gpc start a gcc compile of the > > crtc.c file? I don't know that answer to that question. > > No, I was guessing wrongly about the purpose of the crt.* files in > .../units/. I don't know what the problem is, so please do report back what > you find out from the pascal list and if there's a bug in the way I ported the > newer gpc to gcc-3.3.3, I'll fix 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/ > > -- 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/