How to set the QT_DLL macro?
Angus Leeming
leeming at lyx.org
Fri Apr 22 10:00:37 CEST 2005
Angus Leeming wrote:
> I see that when linking designer.exe you pass a bunch of flags to the
> linker:
>
> i386-mingw32-g++ -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import
> -Wl,-enable-runtime-pseudo-reloc -Wl,-s -Wl,-subsystem,windows -e
> __Z19QtWinMainCRTStartupv
> -o ../../../bin/designer.exe .obj/release-shared/main.o
>
> I'm currently building LyX as a console app, so guess that I don't need
> the
> -Wl,-subsystem,windows -e __Z19QtWinMainCRTStartupv
> right?
>
> We've already discussed "-Wl,-enable-auto-import" and
> "-Wl,-enable-runtime-pseudo-reloc".
>
> What do "-Wl,-enable-stdcall-fixup" and "-Wl,-s" do?
'man ld' :) I worked it out. Currently rebuilding and will see whether
these linker flags allow me to run the binary.
Angus
More information about the kde-cygwin
mailing list