Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 6 Nov 2003 15:10:25 +0100 (CET)
From:      marcov@stack.nl (Marco van de Voort)
To:        freebsd-hackers@freebsd.org
Subject:   Re: Kylix in FreeBSD
Message-ID:  <20031106141025.C9C0493@toad.stack.nl>

next in thread | raw e-mail | index | archive | help

> I do not know about the C++ part of Kylix, but about the Delphi part, maybe
> it could be replaced with FreePascal (http://www.freepascal.org/).  There
> are even some projects that try to produce an IDE similar to Delphi
> (http://www.freepascal.org/links.html).
> 
> Has anyone gived a try to FreePascal?

I maintain it, the FPC on *BSD ports I mean. (but I'm  not the FreeBSD ports
tree entry maintainer).

I just uploaded the first public beta from the future 2.0.x branch to the FTP
FPC site last night.

Bindings for several database types included.

The GUI RAD project (Lazarus.freepascal.org) is gtk1.2 based and works with
FreeBSD, however the conversion of lazarus to the future 2.0.x branch was
only done a few days ago, so it might be wise to wait a month till the next
version, or obtain a snapshot when lazarus is stabilized. (there is some minor problem
in the pipe handling that connects the RAD to the compiler and debugger, which was fixed
in the old branch, but not yet in the new one,)

The new branch supports near the entire Delphi language set in principle
(and is threadsafe), the one major exception I know of are dispinterfaces.

Installation of the commandline compiler is very easy. Download the .tar,
run sh install.sh, and answer yes on everything. (which will install most
into /usr/local/lib/fpc, throw a few bins in /usr/local/bin, and some
manpages and docs where it hopefully should be). Compiling and installing
the RAD is somewhat more involved, but that is mainly because it is a moving
target. Should be doable for a freebsd-hacker ( :-) )

People interested in FPC on *BSD can always contact me.

P.s.1
German speakers: an article about installing lazarus + working (1.0.x) snapshots was
		published in the most recent FreeX (the one from oct 1th) 
		http://www.cul.de/freex.html
P.s.2
     Matthew West added a compat_4 flag to the lang/fpc port. I would like to know what
     the reason for this is. (iow what do I have to change to make it FreeBSD native?)

P.s.3 The new branch is multi architecture, though due to the preparing and
	debugging of the 1.9beta, all non-x86 archs (ARM,PPC,Sparc V8) are broken. 
	However I did run Delphi code on NetBSD/macppc before it broke!



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