On Fri, Mar 15, 2002 at 12:36:56PM +0100, Jean-Marc Lasgouttes wrote: > >>>>> "Kayvan" == Kayvan A Sylvan <[EMAIL PROTECTED]> writes: > > Kayvan> In regards to the WinXP build problem reported earlier (See > Kayvan> http://bugzilla.lyx.org/show_bug.cgi?id=260 for details), I > Kayvan> have some more info. > > Kayvan> It looks like "ld -r" used by ``libtool --mode=link'' just > Kayvan> does not work on Cygwin. > > Did you have more info on the subject, or is this assertion based on > the fact that LyX does not link under cygwin?
I have read some messages in the cygwin mailing list archives that talk about similar problems with "ld -r", but no response to my specific question from the Cygwin people. > Kayvan> Since I managed to build the latest CVS after some work, I > Kayvan> thought I would share the procedure (and a small patch) in the > Kayvan> hopes that someone who understands the build process (Lars) > Kayvan> will go ahead and fix this for Cygwin. > > Kayvan> 1) Apply the small patch (attached). This patch is safe. > Kayvan> Please apply to CVS. > > It looks safe indeed. Lars, could you have a quick look? I want to > make sure I will not break the compilation for other frontends. At > least the first hunk is fine. I checked on all the targets I build on and there was no effect. > Kayvan> 4) Add the following to src/Makefile (right before the all: > Kayvan> rule) > > Kayvan> AM_MAKEFLAGS='CXXLINK=arhack $$@' > > Why can't you do > make CXXLINK=arhack That did not work. Also, you need the target library as the first argument (hence, the $$@ which gets resolved to $@). -- Kayvan A. Sylvan | Proud husband of | Father to my kids: Sylvan Associates, Inc. | Laura Isabella Sylvan | Katherine Yelena (8/8/89) http://sylvan.com/~kayvan | "crown of her husband" | Robin Gregory (2/28/92)
msg34481/pgp00000.pgp
Description: PGP signature