Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 14 Mar 2015 01:06:43 +1100 (EST)
From:      Ian Smith <smithi@nimnet.asn.au>
To:        Mehmet Erol Sanliturk <m.e.sanliturk@gmail.com>
Cc:        FreeBSD Questions Mailing List <freebsd-questions@freebsd.org>
Subject:   Re: Any pascal-source programs in the ports tree?
Message-ID:  <20150314003138.J29188@sola.nimnet.asn.au>
In-Reply-To: <CAOgwaMsRifCGKjvObe5Kp4yxO9E7JFbQg5OD5dDDW0ceAxhheQ@mail.gmail.com>
References:  <20150313005804.L42290@sola.nimnet.asn.au> <CAOgwaMsRifCGKjvObe5Kp4yxO9E7JFbQg5OD5dDDW0ceAxhheQ@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, 12 Mar 2015 09:17:04 -0700, Mehmet Erol Sanliturk wrote:
 > On Thu, Mar 12, 2015 at 8:55 AM, Ian Smith <smithi@nimnet.asn.au> 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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20150314003138.J29188>