Recent

Author Topic: FPC + Lazarus on FreeBSD  (Read 1063 times)

trev

  • Full Member
  • ***
  • Posts: 220
  • Former Delphi 7 and Delphi 10.2 User
Re: FPC + Lazarus on FreeBSD
« Reply #15 on: August 20, 2019, 10:45:30 am »
Unfortunately the old system calls are still present. Looks like you need to use the GENERIC  kernel or include the following options in your custom kernel:

Code: [Select]
options       COMPAT_FREEBSD6         # Compatible with FreeBSD6
options       COMPAT_FREEBSD7         # Compatible with FreeBSD7 (or kernel does not compile)

FreeBSD10 may be necessary if running 11.x; FreeBSD11 may be necessary if running 12.x.

I've logged details on FreeBSD's bugzilla.
o Lazarus v2.1.0 r61775, FPC v3.3.1 r42640, macOS 10.14.6 (with sup update), Xcode 10.3
o Lazarus v2.1.0 r61574, FPC v3.3.1 r42318, FreeBSD 12.0 (Parallels VM)
o Lazarus v2.1.0 r61574, FPC v3.0.4, Ubuntu 18.04 (Parallels VM)

hunghung

  • New Member
  • *
  • Posts: 20
Re: FPC + Lazarus on FreeBSD
« Reply #16 on: November 15, 2019, 12:18:00 pm »
Fpcupdeluxe still not work on FreeBSD now  :(

marcov

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 7504
Re: FPC + Lazarus on FreeBSD
« Reply #17 on: November 15, 2019, 02:18:07 pm »
The Lazarus port was updated today (15/16 August depending on your timezone) to remove the FPC compiler's dependence on old FreeBSD system calls and to also install the FPC source automatically.

I don't see any RTL modifications for old syscalls in that post. They just hardcode some linker paths.


Thaddy

  • Hero Member
  • *****
  • Posts: 9184
Re: FPC + Lazarus on FreeBSD
« Reply #18 on: November 15, 2019, 03:24:04 pm »
Question is: are the recommended calls available? YES.
Should the old calls maybe marked as deprecated? Yes. Should they still be there? Yes....as long as supported. It is still supported by FreeBSD.
@trev
You can't simply remove support for that, unless the OS itself removes it. That is not the case.
« Last Edit: November 15, 2019, 03:27:02 pm by Thaddy »
also related to equus asinus.