-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 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. > I patched packages/extra/gtk/gdk/gdk.pp packages/extra/gtk/gdk/gdk.pp packages/extra/gtk/glib/glib.pp 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? Bob -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.2.2 (FreeBSD) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org iD8DBQFEuygWAexE5bK/mHkRAmoXAJwIpLvEqBxi6NCSXZtlmFG99iC1wgCfVuGw SR+WySQahOIX+0GtDmwQ+Js= =bNo7 -----END PGP SIGNATURE----- _______________________________________________ fpc-devel maillist - fpc-devel@lists.freepascal.org http://lists.freepascal.org/mailman/listinfo/fpc-devel