[fpc-devel] gtk1 linklib directive under FreeBSD

Ales Katona ales at chello.sk
Thu May 18 11:28:45 CEST 2006


On ut , 2006-05-09 at 09:35 +0200, Mattias Gaertner wrote:
> I heard that the gtk1 libs under FreeBSD are libglib-12.so, libgdk-12.so and
> libgtk-12.so.
> But at the moment the linklib directive for FreeBSD defines
>     {$ifdef FreeBSD}
>       gtkdll='gtk12';
>       {$linklib gtk12}
> without the '-'.
> 
> Can someone with FreeBSD please test if changing
> 
> packages/extra/gtk/gtk/gtk.pp
> packages/extra/gtk/gdk/gdk.pp
> packages/extra/gtk/glib/glib.pp
> 
> fixes the issue.
> 
> 
> Mattias
> _______________________________________________

A but old I know but I think we should remake the "glib and friends"
unit to lazy linkers. Anyone using them uses libc anyhow (which = ld in
fBSD) so once they use lazy linking, a simple "try the old name, then
the new name" in initialization section would fix this and other future
freeBSD-porters fuckups.

I tried converting them, I even talked Loesje into giving me his tool
but I didn't find the time for it yet. If anyone has anything which can
simply do this, or has the time to do it manualy it'd be great.

Ales

P.S: I'm ofcourse willing to test it once it's done/ and or help with
the init part.




More information about the fpc-devel mailing list