X-Spam-Check-By: sourceware.org From: "Dave Korn" To: References: <658bce1a0706071213q7e1209abp3cdbe6689fcac90c AT mail DOT gmail DOT com> <002a01c7a939$de7c8140$2e08a8c0 AT CAM DOT ARTIMI DOT COM> <658bce1a0706071341u1708c013oa4dc292c386467e3 AT mail DOT gmail DOT com> Subject: RE: Problem compiling with gpc and "Uses Crt" statement in crtc.c Date: Thu, 7 Jun 2007 23:45:36 +0100 Message-ID: <006b01c7a955$904454a0$2e08a8c0@CAM.ARTIMI.COM> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Office Outlook 11 In-Reply-To: <658bce1a0706071341u1708c013oa4dc292c386467e3@mail.gmail.com> 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 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/