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

Sven Barth pascaldragon at googlemail.com
Thu Sep 1 20:02:31 CEST 2016


Am 01.09.2016 18:56 schrieb "fredvs" <fiens at hotmail.com>:
>
> > With fpc's -k parameter, you can pass parameters directly to the linker.
> > If you need to pass multiple parameters, use -k several times
> > (e.g.-k-para1 -kvalue1)
>
> Wow, many thanks Jonas.
>
> I will try it and write you the result.
>
> But, imagine, with FreeBSD, you could:
> Compile and run on same system (no need virtual-box to test it):
> - FreeBSD 64 bit programs.
> - FreeBSD 32 bit programs.
> - Linux 64 bit programs.
> - Linux 32 bit programs.
> - Windows 64 bit programs (via wine).
> - Windows 32 bit programs (via wine).
> - Maybe other program-system too (via emulator).

Keep in mind however that such emulators are never perfect and thus it
might be necessary nevertheless to test on a real system.

Regards,
Sven
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.freepascal.org/pipermail/fpc-pascal/attachments/20160901/9a98b212/attachment.html>


More information about the fpc-pascal mailing list