Re: [Pkg-lyx-devel] Linking with gold

2009-12-10 Thread Per Olofsson
Jean-Marc Lasgouttes skrev: BTW, is linking with gold a win with LyX? It's supposed to be faster, although I haven't tried it. I don't think it affects runtime speed though, only build speed. -- Pelle

Re: [Pkg-lyx-devel] Linking with gold

2009-12-10 Thread Per Olofsson
Hi, Jean-Marc Lasgouttes skrev: Abdelrazak Younes writes: Because QtGui is a dynamic library it handles its dependency alone. What you say would be try if we did static linking. It seems to me that, in the old days, dynamic libraries requires extra -lFoo too. I think it depends on which OS

Re: [Pkg-lyx-devel] Linking with gold

2009-12-10 Thread Jean-Marc Lasgouttes
Abdelrazak Younes writes: > Because QtGui is a dynamic library it handles its dependency alone. > What you say would be try if we did static linking. It seems to me that, in the old days, dynamic libraries requires extra -lFoo too. BTW, are we sure we cannot get rid of the X11 code? Is Qt failin

Re: [Pkg-lyx-devel] Linking with gold

2009-12-10 Thread Abdelrazak Younes
Jean-Marc Lasgouttes wrote: Per Olofsson writes: Hi Sven, Sven Hoexter skrev: Oh and I've no profound knowledge of the issue so it's possible that the better solution would be to fix something in Qt's pkg-config in Debian. It's not Qt's fault -- lyx uses X11 libs directly in

Re: [Pkg-lyx-devel] Linking with gold

2009-12-10 Thread Jean-Marc Lasgouttes
uses X11 libs directly in at least one place: > src/frontends/qt4/GuiApplication.cpp Could someone explain to me how this works? QtGui has to link to X11 somewhere, right? How come pkg-config does not need to specify an explicit -lX11? BTW, is linking with gold a win with LyX? JMarc

Re: [Pkg-lyx-devel] Linking with gold

2009-12-06 Thread Per Olofsson
Hi Sven, Sven Hoexter skrev: Oh and I've no profound knowledge of the issue so it's possible that the better solution would be to fix something in Qt's pkg-config in Debian. It's not Qt's fault -- lyx uses X11 libs directly in at least one place: src/frontends/qt4/GuiApplication.cpp -- Pelle

Linking with gold

2009-12-06 Thread Sven Hoexter
Hi, a few weeks ago we received a bugreport that LyX currently fails to link with gold in Debian (Google provided a new implementation of ld some time ago for those who haven't heard of it so far). http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=80 This is not much of an issue currently and e