[fpc-pascal] FPC on NetBSD (i386)

Jonas Maebe jonas.maebe at elis.ugent.be
Wed Apr 19 11:23:10 CEST 2006

On 18 apr 2006, at 22:53, Adrian Maier wrote:

> NetBSD is not on fpc's list of supported operating systems,  
> although there
> is an older version available (1.0.10)  which works fine, at least  
> for my
> purposes.
> I've tried to compile the latest sources (svn), but :
> system.pp(23,6) Error: Illegal unit name: SYSTEM
> systemh.inc(26,4) Fatal: User defined: You need at least FPC 2.0.0

Yes, the current svn version requires minimally 2.0 as starting version.

> My questions are:
> - is there interest in having a fpc binary package for NetBSD ?  I  
> would be
> glad to dig in this direction.

If you provide patches to get the NetBSD port back up to speed, we'll  
happily integrate them. And if you can provide a binary package,  
we'll gladly put it on the ftp site.

> - could someone give me some hints about how to compile  
> freepascal ? I am
> assuming that i should build some intermediary versions of fpc  
> (step by step
> from one version to a newer one) .  Which is the newset fpc that can
> be compiled by fpc 1.0.10?

FPC 2.0.

> (or should i better consider cross compiling it from linux ?)

It depends. If you get 2.0 running, there's probably not that much  
you have to change to your patches to get 2.0.2 and 2.1.1 running as  
wel. The downside is that you have to download the 2.0 sources. The  
upside is that you don't have to mess with cross binutils etc.


More information about the fpc-pascal mailing list