Linking against libX11

2005-04-22 Thread Angus Leeming
Can't we get rid of the automatic X11 thing? I don't want it and I don't need it to build LyX/Win using the mingw cross compiler. i386-mingw32-g++ -g -O -W -Wall -mms-bitfields -Wl,-enable-stdcall-fixup -Wl,-enable-auto-import -Wl,-enable-runtime-pseudo-reloc -Wl,-s -Wl,--export-all-symbols -o lyx

Re: Linking against libX11

2005-04-22 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Can't we get rid of the automatic X11 thing? I don't want it Angus> and I don't need it to build LyX/Win using the mingw cross Angus> compiler. configure --without-x. This is needed by qt/mac too; we may want to try to make it the

Re: Linking against libX11

2005-04-22 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> Can't we get rid of the automatic X11 thing? I don't want it > Angus> and I don't need it to build LyX/Win using the mingw cross > Angus> compiler. > > configure --without-x. Excellent! The switch works! > This is needed by qt/mac too; we may want to > try t

Re: Linking against libX11

2005-04-22 Thread Angus Leeming
Angus Leeming wrote: > Jean-Marc Lasgouttes wrote: >> Angus> Can't we get rid of the automatic X11 thing? I don't want it >> Angus> and I don't need it to build LyX/Win using the mingw cross >> Angus> compiler. >> >> configure --without-x. > > Excellent! The switch works! > >> This is needed by

Re: Linking against libX11

2005-04-22 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> Just for information, the attached script allows me to build a Angus> cross-compiled LyX/Win 1.3.x, although at the moment I mush use Angus> the natively compiled qt3.dll if the executable is to actually Angus> run. Still working on

Re: Linking against libX11

2005-04-22 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: > Angus> Just for information, the attached script allows me to build a > Angus> cross-compiled LyX/Win 1.3.x, although at the moment I mush use > Angus> the natively compiled qt3.dll if the executable is to actually > Angus> run. Still working on that one. > > Two smal

Re: Linking against libX11

2005-04-22 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: >> Isn't it enough to just define QTDIR? Angus> But I'm not 'exporting' QTDIR, I'm passing it to the configure Angus> script in a format it will understand and *store*. Thereafter, Angus> I can run make at my leisure without worrying whet

Re: Linking against libX11

2005-04-22 Thread Angus Leeming
Jean-Marc Lasgouttes wrote: >>> Did you succeed with static linking? > > Angus> Nope. Haven't tried. > > Angus> Do I need to re-compile (witness the QT_DIR, > Angus> __declspec(dllimport) discussion) or can I just redo the > Angus> linking step? If the latter, what flags should I pass to the > A

Re: Linking against libX11

2005-04-23 Thread Michael Schmitt
Angus Leeming wrote: In a moment of clear thinking, I tried to force the linker to load the qt libraries statically. G. Try two. ... back again. The bloody error dialog popped up again, warning me that it couldn't find qt3.dll. I have NO idea where the linker is getting info about qt3.dll

Re: Linking against libX11

2005-04-24 Thread Angus Leeming
On Saturday 23 April 2005 16:55, Michael Schmitt wrote: > Angus Leeming wrote: > >In a moment of clear thinking, I tried to force the linker to load > > the qt libraries statically. > > > >G. > > > >Try two. > > > >... back again. The bloody error dialog popped up again, warning > > me that