Re: [gnome-db] Building libgda on Windows



On Wed, 2002-10-16 at 14:28, Daniel Morgan wrote:
> 
> Another possibility, I have mentioned to Rodrigo before, is to create make
> files by hand for Cygwin.  Call these files makefile.cygwin and they would
> have to be manually updated to point to your prefix, database libraries,
> dependencies such as glib-2.0, and libxml2, etc...
>
you should also be making use of pkg-config, so that manual editing is
not needed.

> I don't know where to start on this.  It would probably be best to create
> makefiles by hand to build on Linux, and with these makefiles, base the
> Cygwin makefiles off of the Linux makefiles.
> 
> Here is something I could use to build libgda on Cygwin:
> gcc -shared -fPIC -DPIC libgda_objects.o -o libgda-2.dll
> `pkg-config --cflags --libs glib-2.0` -lany_other_libs
> 
yes

> Need to take account for -DDEFINES switches too.
> 
yes

> The last time I tried to build libgda on cygwin, it could not find the
> PostgreSQL nor MySQL headers/libraries even though I provided the path to
> them.
> 
what do you mean?

cheers




[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]