[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Creating win32 .dll whith auto exporting symbols
From: |
Sergey L. Kachanuk |
Subject: |
Creating win32 .dll whith auto exporting symbols |
Date: |
Thu, 11 Aug 2005 12:08:41 +0300 |
User-agent: |
Mozilla Thunderbird 1.0.6 (Windows/20050716) |
Hi!
I'm having problem porting project to MingW. It already compiles with
MSVC++ on Win32 and gcc on Unices.
Created during compilation has no symbols exported. I tried passing
--enable-runtime-pseudo-reloc and --export-all-symbols to libtool - same
thing :(
C:\home\serzh\src\SIM>sh libtool --version
ltmain.sh (GNU libtool) 1.5.6 (1.1220.2.94 2004/04/10 16:27:27)
here is command line for creating library:
$ /bin/sh ../libtool --tag=CXX --mode=link g++ -no-undefined
--enable-runtime-pseudo-reloc --export-all-symbols -Wnon-virtual-dtor
-Wno-long-long -Wundef -Wall -W -Wpointer-arith -Wwrite-strings -O2
-fno-exceptions -fno-check-new -fno-common -mthreads -Wall -O2
-fexceptions -frtti -DUNICODE -DQT_DLL -DQT_THREAD_SUPPORT
-DQT_NO_DEBUG -fno-strict-aliasing -o libsim.la -rpath /c/SIM/lib
-L/c/Qt/3.3.4/lib -L/c/Qt/3.3.4/lib -D_THREAD_SAFE -pthread
aboutdata.lo ballonmsg.lo buffer.lo cfg.lo cmddef.lo contacts.lo
country.lo datepicker.lo editfile.lo exec.lo fetch.lo fontedit.lo
icons.lo intedit.lo linklabel.lo listview.lo log.lo message.lo
plugins.lo preview.lo qchildwidget.lo qcolorbutton.lo qkeybutton.lo
qzip.lo sax.lo simapi.lo socket.lo sockfactory.lo sslclient.lo
textshow.lo toolbtn.lo translit.lo unquot.lo xsl.lo ltdl.lo unzip.lo
html.lo -lqt-mt -lz -L/mingw/lib -lxml2 -lz -L/mingw/lib -lxslt
-lxml2 -lz -lkernel32 -luser32 -lgdi32 -lcomdlg32 -ladvapi32
-lshell32 -lole32 -loleaut32 -luuid -limm32 -lwinmm -lws2_32 -lwinspool
And here is output of nm on resulted library:
C:\home\serzh\src\SIM\sim\.libs>nm libsim.dll.a
d000003.o:
00000000 i .idata$4
00000000 i .idata$5
00000000 i .idata$7
00000000 I _libsim_0_dll_iname
d000000.o:
00000000 i .idata$2
00000000 i .idata$4
00000000 i .idata$5
00000000 I __head_libsim_0_dll
U _libsim_0_dll_iname
d000002.o:
00000000 i .idata$4
00000000 i .idata$5
00000000 i .idata$6
00000000 i .idata$7
00000000 t .text
U __head_libsim_0_dll
00000000 I __imp__lt_dlmalloc
00000000 I __nm__lt_dlmalloc
d000001.o:
00000000 i .idata$4
00000000 i .idata$5
00000000 i .idata$6
00000000 i .idata$7
00000000 t .text
U __head_libsim_0_dll
00000000 I __imp__lt_dlfree
00000000 I __nm__lt_dlfree
--
Best regards,
Sergey L. Kachanuk
Jabber address@hidden
ICQ 262581267
- Creating win32 .dll whith auto exporting symbols,
Sergey L. Kachanuk <=