Oh and in the test "Toto" project, if i add --assume-stdcall to gendef for
creating the delayload lib for TotoLib, i get linker error on TotoApp:
20:31:13: Starting: "C:\MinGW\mingw-w64\bin\mingw32-make.exe"
C:/MinGW/mingw-w64/bin/mingw32-make.exe -f Makefile.Debug
mingw32-make.exe[1]: Entering directory
`C:/Home/Administrator/Desktop/Debug/TotoApp'
g++ -c -g -frtti -fexceptions -mthreads -Wall -DUNICODE -DQT_LARGEFILE_SUPPORT
-DQT_DLL -DQT_CORE_LIB -DQT_HAVE_MMX -DQT_HAVE_3DNOW -DQT_HAVE_SSE
-DQT_HAVE_MMXEXT -DQT_HAVE_SSE2 -DQT_THREAD_SUPPORT
-I"c:\QtSdk\Desktop\Qt\4.8.1\mingw-w64\include\QtCore"
-I"c:\QtSdk\Desktop\Qt\4.8.1\mingw-w64\include" -I"..\TotoLib\include"
-I"c:\QtSdk\Desktop\Qt\4.8.1\mingw-w64\include\ActiveQt" -I"debug"
-I"..\..\Test\TotoApp" -I"."
-I"c:\QtSdk\Desktop\Qt\4.8.1\mingw-w64\mkspecs\win32-g++" -o debug\main.o
..\..\Test\TotoApp\main.cpp
g++ -Wl,-subsystem,console -mthreads -o ..\..\Test\Debug\TotoApp.exe
debug/main.o -L"c:\QtSdk\Desktop\Qt\4.8.1\mingw-w64\lib"
-LC:/Home/Administrator/Desktop/Test/Debug -lTotoLib.delayed -lQtCored4
mingw32-make.exe[1]: Leaving directory
`C:/Home/Administrator/Desktop/Debug/TotoApp'
debug/main.o: In function `main':
C:\Home\Administrator\Desktop\Debug\TotoApp/../../Test/TotoApp/main.cpp:6:
undefined reference to `_imp___ZN7TotoLibC1Ev@4'
collect2: ld returned 1 exit status
mingw32-make.exe[1]: *** [..\..\Test\Debug\TotoApp.exe] Error 1
mingw32-make.exe: *** [debug] Error 2
20:31:14: The process "C:\MinGW\mingw-w64\bin\mingw32-make.exe" exited with
code 2.
------------------------------------------------------------------------------
Better than sec? Nothing is better than sec when it comes to
monitoring Big Data applications. Try Boundary one-second
resolution app monitoring today. Free.
http://p.sf.net/sfu/Boundary-dev2dev
_______________________________________________
Mingw-w64-public mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/mingw-w64-public