On Sun, May 07, 2006 at 06:00:42PM -0500, Bo Peng wrote: > Windows troubles: > > 1. the ...rdata file used to build cygwin seems to be a libtool thing, > I have tried to pass script=... option to g++ but failed. I guess one > can run till the last step, get the link command from scons_lyx.log > and try different options....
No, it is not. The "-Wl,--script,/path/to/i386pe.x-no-rdata" option is indeed meant for libtool which then translates it to "-Wl,--script -Wl,/path/to/i386pe.x-no-rdata" when calling g++. This is how the g++ invocation looks for me in the final link step: g++ -fno-exceptions -O2 -Wl,--enable-runtime-pseudo-reloc \ -Wl,--script -Wl,/usr/local/qt-x11/lib/i386pe.x-no-rdata \ -o lyx-qt.exe main.o Bidi.o ... Please, don't forget "-Wl,--enable-runtime-pseudo-reloc". -- Enrico