CRUX-Contrib

Contributed ports (contrib collection)
Tasklist

FS#1717 - [fpc] update to 3.0.4

Attached to Project: CRUX-Contrib
Opened by Erich Eckner (deepthought) - Wednesday, 06 February 2019, 18:55 GMT
Last edited by Danny Rawlins (Romster) - Saturday, 04 May 2019, 05:11 GMT
Task Type Bug Report
Category ports
Status Closed
Assigned To Danny Rawlins (Romster)
Operating System CRUX
Severity Low
Priority Normal
Reported Version 3.4
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 0
Private No

Details

fpc 3.0.4 is out and it looks, like it comes with new definitions which I need for compiling the recent version of the cross compiler.
This task depends upon

Closed by  Danny Rawlins (Romster)
Saturday, 04 May 2019, 05:11 GMT
Reason for closing:  Fixed
Comment by Erich Eckner (deepthought) - Friday, 08 February 2019, 06:57 GMT
It seems (to me), that fpc 3.0.4 cannot be compiled directly with fpc 2.x, but I succeeded to compile fpc 3.0.0 with minimal changes of your Pkgfile:

========================================================
--- /usr/ports/contrib/fpc/Pkgfile 2015-11-01 15:11:23.438469389 +0100
+++ Pkgfile 2019-02-08 07:52:38.920711790 +0100
@@ -4,7 +4,7 @@
# Maintainer: Danny Rawlins, crux at romster dot me

name=fpc
-version=2.6.4
+version=3.0.0
release=1
source=(ftp://ftp.freepascal.org/pub/fpc/dist/$version/source/fpcbuild-$version.tar.gz
http://crux.ster.zone/downloads/fpc/md5/2f440a0e40d134ed67db2fbf58c6e30a/x86_64-linux-ppcx64.bz2
@@ -30,7 +30,7 @@
make -j 1 PP=$SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64 rtl packages_all utils

set -- PP=$SRC/fpcbuild-$version/fpcsrc/compiler/ppcx64 \
- FPCMAKE=$SRC/fpcbuild-$version/fpcsrc/utils/fpcm/fpcmake \
+ FPCMAKE=$SRC/fpcbuild-$version/fpcsrc/utils/fpcm/bin/x86_64-linux/fpcmake \
INSTALL_PREFIX=$PKG/usr \
INSTALL_DOCDIR=$PKG/usr/share/doc/fpcbuild \
INSTALL_MANDIR=$PKG/usr/share/man \
========================================================

according to the fpc wiki, I should now be able to compile fpc 3.x with that fpc :-) I'll report back ...
Comment by Erich Eckner (deepthought) - Friday, 08 February 2019, 07:19 GMT
I was able to compile the fpc-cross compiler (version 3.0.4) with the fpc-3.0.0, I didn't try to compile fpc itself (as your Pkgfile uses some binary which you compiled, I assume).

Loading...