From owner-freebsd-questions@FreeBSD.ORG Fri Mar 13 14:06:49 2015 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1.2 with cipher AECDH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C5790BCC for ; Fri, 13 Mar 2015 14:06:49 +0000 (UTC) Received: from sola.nimnet.asn.au (paqi.nimnet.asn.au [115.70.110.159]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 1A028DA2 for ; Fri, 13 Mar 2015 14:06:48 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by sola.nimnet.asn.au (8.14.2/8.14.2) with ESMTP id t2DE6iVj033167; Sat, 14 Mar 2015 01:06:44 +1100 (EST) (envelope-from smithi@nimnet.asn.au) Date: Sat, 14 Mar 2015 01:06:43 +1100 (EST) From: Ian Smith To: Mehmet Erol Sanliturk Subject: Re: Any pascal-source programs in the ports tree? In-Reply-To: Message-ID: <20150314003138.J29188@sola.nimnet.asn.au> References: <20150313005804.L42290@sola.nimnet.asn.au> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Cc: FreeBSD Questions Mailing List X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Mar 2015 14:06:49 -0000 On Thu, 12 Mar 2015 09:17:04 -0700, Mehmet Erol Sanliturk wrote: > On Thu, Mar 12, 2015 at 8:55 AM, Ian Smith wrote: > > > Hi all, > > > > Does anyone know of any ports written IN freepascal (fpc)? I've spent > > some time trolling through ports (other than fpc itself) that mention > > 'pascal' anywhere, but so far have found nothing with pascal sources. > > > > I hope to publish two going on three programs (one of them pretty big) > > in the coming months, written largely in ol' Turbo Pascal dialect and > > compiled with fpc 2.6, via the fp IDE. These are console-mode programs, > > essentially a series of astronomical calculations leading to generation > > of RIFF wave audio files. That all works without drama. > > > > Build dependency would require installing (relevant bits of) fpc and > > coming up with a sane Makefile etc for which I'd need lots of guidance, > > without immersing myself too deeply in the deep and wide ports world, so > > I was hoping to find another port for a monkey-see monkey-do template. > > > > If making a port isn't pretty straightforward I'm not too fussed; I have > > little extra time so will probably just publish sources and i386 & amd64 > > binaries (maybe for linux too) and text docs for the few people who may > > be interested, but a port might be a good way to give something back. > > > > Anyone suggesting p2c will be politely ignored :) > > > > cheers, Ian (please cc me; I'm subscribed to questions-digest) > > _______________________________________________ > The ports tree is full of fpc-* ( fpc parts and units are separately > prepared as packages ) and Lazarus and its some parts . > > Therefore , you may imitate these ports by using them as samples . > > In > > http://www.freshports.org/ > > search > > fpc > lazarus > > and see found parts for how they can be build from the sources . Thankyou Mehmet, but that's not what I'm looking for. All the fpc-* ports (and Lazarus) are part of the freepascal infrastructure itself, but what I'm after is something using fpc (or gpc, I suppose) to build programs outside of that infrastructure. I did browse freshports, but didn't find any fpc* standalone programs, just add-on units, libraries and such. fpc itself, from what I can make of the Makefile, needs to download and install a bootstrap binary of the compiler before it can then compile the compiler (ppc386 or ppcx64) and all of the (considerable) rest of it, which is way out of my scope. And sure, I'd use Lazarus if I were writing graphics programs to run in X, but I'm not - these are commandline-driven static-linked utilities. Might anyone know a way to search the ports tree for anything with a build dependency of fpc (or gpc, I guess) that is not called fpc-* ? cheers, Ian