Recent

Author Topic: FreeBSD: system.pp(37,2) Fatal: Cannot open include file "sysunixh.inc"  (Read 4060 times)

trev

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 2020
  • Former Delphi 1-7, 10.2 user
Now that I'm back home, I checked and yes, I can build the cross compiler on macOS, I just cannot build the required FreeBSD units. That is:

Code: [Select]
ls -l usr/local/share/fpc-3.1.1/rtl/units/
drwxr-xr-x  200 root  wheel  6400 10 Jul 16:31 x86_64-darwin <<-- OK
drwxr-xr-x    2 root  wheel    64 10 Jul 16:31 x86_64-freebsd   <<-- EMPTY :(

The problem is:

Code: [Select]
make[5]: x86_64-freebsd-as: No such file or directory

which seems to suggest to me that macOS is looking for a FreeBSD x86_64 (cross?) assembler that does not exist.

marcov

  • Administrator
  • Hero Member
  • *
  • Posts: 11452
  • FPC developer.
When crosscompiling you need to provide crossbinutils, yes.

Usually, linux and *bsd crossbinutils build fairly easily.

 

TinyPortal © 2005-2018