On Wed, 19 Mar 2003, Max Bian wrote:

> I am impressed by the time required to compile LyX.  Gcc is slow, but I
> felt it took much shorter time to build linux kernel with all the
> modules.
>
> Any config time option to speed up the build process besides turning
> off -O2?
>
> Max
>

I lurk the list and thought I'd mention my experiences. 1) 1.3.1 compiled
without problems on my Slack system, perhaps because I point out the misc
libs it might need. (This is my way of saying that I think RPMs stink
because you're semi-beholden to a script that might not be what you need.
Try using the raw source; it might be what you need (it was back in my
LinuxPPC days.))

And 2) Who cares how long it takes to compile? Why turn off any
optimizations? You compile once. You use it many times; _that's_ where the
benefits are.

Finally, here's my config string for raw source on Slackware. God knows
Slack's different from RH, so it might not work, but enjoy my largesse ;)

configure --with-extra-lib=/lib:/usr/lib:/usr/X11R6/lib
--with-extra-inc=/usr/include:/usr/src/linux-2.4.20/include

This is all given in the sourcecode tarball the lyx people have been kind
enough to prepare. You may enjoy their largesse too...

rl

Reply via email to