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

Graeme Geldenhuys mailinglists at geldenhuys.co.uk
Fri Sep 9 10:17:45 CEST 2016


On 2016-09-06 00:42, fredvs wrote:
> With fpc 3.0.0, on my system, the smart-link is wrong, it calls ld-elf.so.1
> in place of ld-elf*32*.so.1.


My 32-bit FreeBSD VM only has FPC 2.6.2, but on it I managed to compile
and use -XX -Xs -O2 compiler parameters without problems.


[goofy] ~/devel/wiki> fpc @fpc.cfg -XX -Xs -O2 scms.pas
Free Pascal Compiler version 2.6.2 [2013/02/06] for i386
Copyright (c) 1993-2012 by Florian Klaempfl and others
Target OS: FreeBSD/ELF for i386
Compiling scms.pas
...snip...
htmout.pas(78,3) Note: Local variable "k" not used
Linking wiki.cgi
19691 lines compiled, 2.8 sec
11 warning(s) issued
6 note(s) issued


Unfortunately I don't have any other 32-bit FreeBSD VM where I can
install FPC 3.0.0 on.

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