[gtkada] How do I link?

marcos.sanchez at ferrovial.es marcos.sanchez at ferrovial.es
Wed Aug 23 16:51:49 CEST 2000


> -----Mensaje original-----
> De: gtkada-admin at gtkada.eu.org [mailto:gtkada-admin at gtkada.eu.org]En
> nombre de Chris Sparks
> Enviado el: miércoles 23 de agosto de 2000 15:41
> Para: gtkada at gtkada.eu.org
> Asunto: Re: [gtkada] How do I link?
>
>
> Hi Marcos,
>
> > I am developing some tools platform independant for linux
> and windoze and I
> > dont have any problem to compile and link.
>
> Compiling is easy, however, the linking process doesn't seem
> to find the "Gtk"
> archive? files.  or is that DLL? files under Windoze.

it seems that your link does not connect properly with the library
path (I am guessing)
try to compile under command line even executing gnatbind manually,
should be something like:

d:\myprogram> gnatbind -aO./ -aOd:/usr/lib/gtkada/. -I- -x myprog.ali

where again d:\usr\lib\gtkada\ is your gtkada library path

The DLL's are only needed in runtime. That means that if you have a compiled
exe file but DLL's (Dinamic Linked Libraries) are NOT in your path
you wont be able to execute the file.

Good luck
>
> > I am using GNAT3.12 and Emacs under WINNT. All I have done
> is to copy all
>
> I am using GNAT3.12 and Adagide under Windoze 2000.
>
> > *.ad* .ali and .o files of gtkada libs to
> D:\usr\lib\gtkada-1.2.8\ for version
> > control
> > purposes but you could do it usign the gtkada installation
> directory.
>
> This shouldn't be necessary since we should be able to use
> -I... or -Largs ...
>
> > All I have to write in my emacs config menu or at command line is:
> >
> > d:\myprogram\gnatmake  myprogram -ID:\usr\lib\gtkada-1.2.8
> -ID:\usr\lib\mylibs
>
> This is what I effectively am doing.
>
> > and it works almost as fine as in linux (well, as fine as
> it cant work under
> > M$).
>
> How does it find the Gtk stuff?
>
> Chris Sparks
>
>
> _______________________________________________
> gtkada mailing list
> gtkada at gtkada.eu.org
> http://gtkada.eu.org/cgi-bin/mailman/listinfo/gtkada
>





More information about the gtkada mailing list