[fpc-devel] LinkLib Issues In Lazarus and in FPC-2.0.2
bob at tania.servebbs.org
Mon Jul 17 08:03:02 CEST 2006
-----BEGIN PGP SIGNED MESSAGE-----
Ale? Katona wrote:
> Btw. fpc 2.0.2 is in ports now.
Just a binary distribution right? I did not see the sources in ports,
which would have to be patched to fix the lib naming errors.
> You need to symlink those libraries or patch manualy, but we can't
> change it to the new ones since anyone with FreeBSD 6.0 or older (if
> they didn't portupgrade) won't work then.
in the 2.0.2 source tree to reflect the proper lib names
I then port-installed graphics/gdk-pixbuf, which provided the last
missing lib (/usr/X11R6/lib/libgdk_pixbuf.a)
Then Lazarus compiled and linked without error, and seems to run fine.
Are you saying that code produced by this Lazarus/FPC setup will not run
properly on older freebsd systems?
Seems to me that FPC-2.0.2 is broken as far as freebsd is concerned. It
can't be just lazarus which needs those libs properly defined; so what
we have here is essentially a bug fix to FPC itself.
> FPC 2.0.4 will have a new mechanism of "libalias" which will enable us
> to fix this by just adding either command line params (eg: fpc
> -Laglib=glib-12.so) or changing it in fpc.cfg for all compilations
> (preffered and porters can do this)
I don't understand, why not just fix the missing "-" in the IFDEF
FreeBSD statement, and produce a working FPC?
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v184.108.40.206 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org
-----END PGP SIGNATURE-----
More information about the fpc-devel