[fpc-devel] fpc binary for OpenBSD 4.4

Tomas Hajny XHajT03 at mbox.vol.cz
Sat Mar 14 13:43:18 CET 2009


On 13 Mar 09, at 20:57, Constantine Cusulos wrote:

 .
 .
> In any case, if anybody has a few pointers on how i could begin a fresh 
> start, please submit them.

Sorry, I skipped this part yesterday. Considering the fact that 
there's at least partial support of OpenBSD in the compiler (there 
may be still some missing bits and pieces, but basically it's there), 
your best bet is probably starting with the RTL. First, 
/rtl/Makefile.fpc doesn't include reference to the (already existing) 
openbsd directory (after adding that reference, you need to 
regenerate the Makefile file using an up to date fpcmake binary). 
Second, you need either to fix the current content of that directory 
(it is not even compilable at the moment as you can easily find using 
"make all 'OS_TARGET=openbsd' 'OPT=-s'" in directory /rtl/openbsd) or 
possibly recreate the content of that directory completely based on 
some similar target like FreeBSD - that's what Marco suggested with 
his "better start from fresh" and he as the maintainer of the FreeBSD 
target probably knows very well what is talking about).

Hope this helps

Tomas




More information about the fpc-devel mailing list