Re: [gtkmm] building dll for windows using cygwin
- From: Cedric Gustin <cedric gustin swing be>
- To: "Manjit Dua" <manjit_dua indiainfo com>, gtkmm-list gnome org
- Subject: Re: [gtkmm] building dll for windows using cygwin
- Date: Fri, 04 Jul 2003 11:49:44 +0200
At 09:18 PM 7/3/2003 +0530, Manjit Dua wrote:
what i tried is trying to make dll to have work on windows by using the
src code files in src folder in libgnomecanvas folder there are .lo and .o
files and i used these command
$ gcc -shared -o cyglibgnomecanvasmm-2.dll
-Wl,--out-implib=libgnomecanvasmm-2.
dll.a -Wl,--export-all-symbols -Wl,--enable-auto-import
-Wl,--whole-archive can
vas.o ellipse.o rect.o group.o item.o line.o polygon.o rect-ellipse.o
shape.o p
ixbuf.o rich-text.o text.o widget.o path-def.o bpath.o -Wl,--no-whole-archive
-L/d/Manjit/Cygwin/usr/lib -lgtkmm-2.0 -lgnomecanvas-2 -lgdkmm-2.0 -latkmm-1.0
-lpangomm-1.0 -lglibmm-2.0 -lsigc-1.2 -lart_lgpl_2 -lpangoft2-1.0
-lgtk-win32-2
.0 -lgdk-win32-2.0 -latk-1.0 -lgdk_pixbuf-2.0 -lpangowin32-1.0 -lgdi32
-lpango-
1.0 -lgobject-2.0 -lgmodule-2.0 -lglib-2.0 -lintl -liconv -lm
it bombarded with many undefined refernces. i have downloaded the the
binaries from
http://web.sfc.keio.ac.jp/~s01397ms/cygwin/index.html.en
CAN ANY 1 WOULD SUGGEST WHAT TO DO FOR HAVING DLL FILE FOR WINDOWS.
Please try again with the following tarball.
Just untar then ./configure --disable-static;make
http://www.mapr.ucl.ac.be/~gustin/win32_ports/source/libgnomecanvasmm-2.0.0-cygwin.tar.gz
I slightly patched configure.in and build_shared/Makefile*. I also used the
development branch of the cygwin autotools. Just diff against the original
tarball to see the changes.
It works on my machine (Win2k SP4, latest cygwin + the binaries from
http://web.sfc.keio.ac.jp/~s01397ms/cygwin/).
Cedric
P.S. : I just do this once for libgnomecanvasmm. If you want to port other
libgnome*mm library, you'll have to work it out yourself. That would be
nice if you could then submit your patches related to this cygwin-port
business.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]