On Tue, Mar 19, 2002 at 12:21:52AM +0100, Lars Gullik Bjønnes wrote:
> 
> Ok, this is work in progress. I'd like those of you having problems
> with ld -r on cygwin to try this. (Kayvan!)
> 
> I also need some help to finish the LYX_CHECK_LDR function...
> (Jean-Marc?)
> 
> autogen and a configure is needed.
> 

This works a lot better, but there are a few bugs:

1) in src/Makefile.am, make frontend/ into frontends/

2) Running ./autogen.sh, I get the following messages:

   src/Makefile.am:24: lyx_DEPENDENCIES was already defined in condition TRUE,
   which implies condition USE_LD_R_TRUE
   
     lyx_DEPENDENCIES (User, where = 24) =
     {
       TRUE => $(LYX_CONV_LIBS) \
           @INCLUDED_SIGC@
   
     }
   src/Makefile.am:24: lyx_DEPENDENCIES was already defined in condition TRUE,
   which implies condition USE_LD_R_FALSE
   
     lyx_DEPENDENCIES (User, where = 24) =
     {
       TRUE => $(LYX_CONV_LIBS) \
           @INCLUDED_SIGC@
   
       USE_LD_R_TRUE => mathed/libmathed.o insets/libinsets.o frontends/libfrontends.o 
graphics/libgraphics.o support/libsupport.o
     }
    
3) The resulting src/Makefile contains 2 separate lyx_DEPENDENCIES:

   lyx_DEPENDENCIES = $(LYX_CONV_LIBS) \
      ${top_builddir}/sigc++/libsigc.la
   
   [... later ...]
   
   #lyx_DEPENDENCIES = mathed/libmathed.o insets/libinsets.o \
   #       frontends/libfrontends.o graphics/libgraphics.o \
   #       support/libsupport.o
   
   lyx_DEPENDENCIES = mathed/libmathed.la \
      insets/libinsets.la frontends/libfrontends.la \
      graphics/libgraphics.la support/libsupport.la
   
   Commenting out the last one and leaving the first one works for me,
   with the following small change:
   
4) Unrelated to your change, but probably due to some other recent
   change (Jean-Marc?) lyx.exe now needs -ljpeg to link:

   I put "-ljpeg" in between -lforms and -lXpm in the lyx_ADD line

This is a lot closer!

                        ---Kayvan

-- 
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)

Attachment: msg34603/pgp00000.pgp
Description: PGP signature

Reply via email to