[fpc-pascal] Linking to Linux on a FreeBSD system with Linux emulated ?
fredvs
fiens at hotmail.com
Mon Sep 12 03:15:19 CEST 2016
Gooooaaal.
$ uname -a
----> FreeBSD 10.3-RELEASE #0 amd64
$ /usr/local/lib/fpc/3.0.0/ppcx64_linux test.pas
--->
Free Pascal Compiler version 3.0.0 [2015/11/20] for x86_64
Copyright (c) 1993-2015 by Florian Klaempfl and others
(1002) Target OS: Linux for x86-64
(3104) Compiling /usr/local/share/ideu/prj_test/test.pas
...
(9015) Linking ./test
/usr/bin/ld: warning: ./link.res contains output sections; did you forget
-T?
(1008) 53964 lines compiled, 9.8 sec
(1021) 51 warning(s) issued
(1022) 319 hint(s) issued
(1023) 32 note(s) issued
---> Tested that X graphic application on a Linux 64 bit and it works. ;-)
Now, last thing, is to make that Linux graphic application run by the
FreeBSD system (because it fails to run.)
But that is a other story and is no more the problem of fpc.
To resume:
On a FreeBSD 64 bit system, you may, thanks to fpc, without virtual machine:
- Compile and run 64 bit FreeBSD applications.
- Compile and run 32 bit FreeBSD applications.
- Compile and run 32 bit Windows applications.
- Compile (and run) 64 bit Linux applications.
Sure that with some more white nights you could:
- Compile and run 64 bit Windows applications.
- Compile and run 32 bit Linux applications.
Well done, one more time, fpc.
Many, many thanks for your perfect help.
PS: On new polYdev release, all that will work out of the box.
Fre;D
-----
Many thanks ;-)
--
View this message in context: http://free-pascal-general.1045716.n5.nabble.com/Linking-to-Linux-on-a-FreeBSD-system-with-Linux-emulated-tp5726205p5726332.html
Sent from the Free Pascal - General mailing list archive at Nabble.com.
More information about the fpc-pascal
mailing list