[fpc-pascal] Linking to Linux on a FreeBSD system with Linux emulated ?

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Mon Sep 12 11:30:01 CEST 2016


On 2016-09-11 23:54, fredvs wrote:
> Did you add, in your /boot/loader.conf:
> 
> linux64_load="YES"

No, I don't have any linux[32|64]_load="YES" entries in my loader.conf

> 
> PS: You need this kernel: /boot/kernel/linux64.ko

Interestingly, kldstat output shows I have a linux.ko and linux64.ko
module loaded.


> PS2: I wonder that you are able to run 32 bit Linux apps... (hum, how did
> you do ? )

The FreeBSD I'm running was originally FreeBSD 9.0, and I've upgraded
(not fresh installed) my OS after every FreeBSD release up to the
current 10.3. I don't believe Linux 64-bit support was available back in
FreeBSD 9.0 days, only 32-bit support. Maybe that is why 32-bit Linux
binaries still work - I don't know. :-)

Either way, I'm not too bothered - I don't really need to run much Linux
applications these days. Only the Beyond Compare 3 Linux binary, as they
don't support FreeBSD at this point.


Regards,
  Graeme

-- 
fpGUI Toolkit - a cross-platform GUI toolkit using Free Pascal
http://fpgui.sourceforge.net/

My public PGP key:  http://tinyurl.com/graeme-pgp



More information about the fpc-pascal mailing list