From owner-freebsd-ports@FreeBSD.ORG Wed Jun 1 22:54:46 2011 Return-Path: Delivered-To: ports@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 3570D1065670 for ; Wed, 1 Jun 2011 22:54:46 +0000 (UTC) (envelope-from rugxulo@gmail.com) Received: from mail-pz0-f54.google.com (mail-pz0-f54.google.com [209.85.210.54]) by mx1.freebsd.org (Postfix) with ESMTP id 105738FC08 for ; Wed, 1 Jun 2011 22:54:45 +0000 (UTC) Received: by pzk27 with SMTP id 27so169023pzk.13 for ; Wed, 01 Jun 2011 15:54:45 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:date:message-id:subject:from:to :content-type; bh=rblo/Zocb4Y7P6bwrN3v/ravANz/OCGyGifTogT4Rfk=; b=x//f/7cW4vtKbL6gzANHPqYC185wStejasJ1xvzudhk0AxkWQIC3EfaKWfN4gw8i8n 7S6o7IInktlOeyGejOnffUhSHweBRd85qfWEt5HJQGm/KvfOiEV9ic8n0+Pq4rN3AmcP T91hn7Z2rm405sDRHYBqJaX5Vs8lteY+osN5M= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:date:message-id:subject:from:to:content-type; b=Vk1Olu0ccxR5iK6rXh6sDukpZvMkKK7+zn9mK+VhKsKL8MCe38zYcT+GGzDuDvi/MF ubst9B9/nlUQwqlKn2xSfd6g5hNn4l426rkUK7q1qZ93kjvDf9qyXYCGc2Fv04dW649Q 4qMYP13SxQNGOJjbyLfG+b2nqOTIZJCHVi38w= MIME-Version: 1.0 Received: by 10.142.242.16 with SMTP id p16mr1096614wfh.424.1306967017562; Wed, 01 Jun 2011 15:23:37 -0700 (PDT) Received: by 10.142.68.6 with HTTP; Wed, 1 Jun 2011 15:23:37 -0700 (PDT) Date: Wed, 1 Jun 2011 17:23:37 -0500 Message-ID: From: Rugxulo To: ports@freebsd.org Content-Type: text/plain; charset=ISO-8859-1 Cc: Subject: GPC 2006 (Pascal) -- deprecated or "expired"?? X-BeenThere: freebsd-ports@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting software to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2011 22:54:46 -0000 Hi, (more details far below) It seems somebody isn't very knowledgeable about GPC. :-( Here's the real deal: *BSD hates GPL, esp. GPLv3, and I think GPC is indeed v3 (though it's only using GCC 3.4.4 or buggy newer 4.1.2 backends, nothing beyond that). Since there are backend bugs that cannot (easily) be fixed (and no help from GCC or GNU upstream), the project has basically died for lack of updates since 2007. (It's fully written in C except for RTL. Stupid "tree nodes", heh.) They did barely attempt a revival late last year, but nothing came of it (yet). In other words, without major changes or fixes, it cannot live on as-is. And nobody really ships GCC 3.x anymore. Plus, 4.1.2 is just too buggy (says Frank) to use, even compared to older 3.4.4. BTW, two more corrections: the latest version is not from 2006 but instead "20070904". Oddly enough, that refers to the patches and not the GCC versions. So you can indeed (accidentally) be using GCC 3.4.4 with older GPC (2006), which isn't as good. In fact, I'm not sure P5 will compile with it. GCC is kinda a pain. Note that technically I've almost never used BSD at all (except very very barely in VirtualBox). But I know that you need pretty much the same version (or near enough) to rebuild itself. I would indeed like to have latest / last GPC "20070904" on FreeBSD, even if it means using old FreeBSD 6.4. That's the version I barely have installed in VirtualBox. (It can't be that impossible to build, can it?) P5 is Scott Moore's (very recent) update of P4 (subset) to fully support ISO 7185 only ("standard" Pascal, the unextended original Wirth dialect). Unlike FreePascal, GPC supports ISO 7185 (classic/standard Pascal) and ISO 10206 (Extended Pascal, which is fairly rare). So suggesting FPC isn't a very decent alternative if someone needs true standard(s) compatibility. I'm not saying FPC is bad, just totally different!! In other words, so far, GPC 2007 is the only (easy) way I know of compiling P5 for FreeBSD!! P5 is "only" ISO 7185 and doesn't support files (yet) except prd and prr, which means you can't really open any extra files (yet). It "compiles" and "interprets" itself, though. Basically, it's two files: pcom (from pcom.pas) and pint (from pint.pas). BTW, did I mention it's "public domain"? Oh, I forgot, BSD supports Linux emulation, so you could technically just use that (though that's not ideal). Heck, I'm personally more interested in a DJGPP binary than any other. But having it on FreeBSD wouldn't hurt either. See below URL for Scott's work. (Yes, he plans to extend it to P6, which will be a "true compiler", but that hasn't started just yet, at least not publically.) http://www.standardpascal.com/p5.html ========== http://www.freshports.org/lang/gpc/ gpc 20060325_2 lang Deleted on this many watch lists=1 search for ports that depend on this port Deprecated DEPRECATED: development has ceased; use lang/fpc instead Expired This port expired on: 2011-04-11 GNU Pascal compiler There is no maintainer for this port. Any concerns regarding this port should be directed to the FreeBSD Ports mailing list via ports@FreeBSD.org search for ports maintained by this maintainer Port Added: 29 May 2000 01:05:51 License: GPLv2