On 9/26/06, alberto hernando <[EMAIL PROTECTED]> wrote:
Here it goes:
about:buildconfig
Build platform
target
i686-pc-linux-gnu
Build tools
Compiler Version Compiler flags
gcc gcc version 4.1.1 -Wall -W -Wno-unused -Wpointer-arith
-Wcast-align -Wno-long-long -pedantic -O3 -march=athlon-tbird -pipe
-ffast-math -fomit-frame-pointer -fPIC -pthread -pipe
I would try losing some of the optimization flags. Lower them or unset
them. Just use --enable-optimize (I think it's on by default). I know
you're probably trying to speed it up, but -O3, -ffast-math and
-fomit-frame-pointer can bring in a lot of issues.
The Mozilla build documentation even says not to use specific
optimization flags unless you really know what you're doing. What it
doesn't say is that if you have C{,XX}FLAGS set, they come in the
command line after the defaults, so you can override the defaults with
more than --enable-optimize="-fcrazy-flag".
http://developer.mozilla.org/en/docs/Configuring_Build_Options#Optimization
I'm not running my system right now, but here's the contents of
about:buildconfig from chrome/toolkit.jar:
<h1>about:buildconfig</h1>
<p> </p>
<h2>Build platform</h2>
<table>
<tbody>
<tr>
<th>target</th>
</tr>
<tr>
<td>i686-pc-linux-gnu</td>
</tr>
</tbody>
</table>
<p> </p>
<h2>Build tools</h2>
<table>
<tbody>
<tr>
<th>Compiler</th>
<th>Version</th>
<th>Compiler flags</th>
</tr>
<tr>
<td>gcc</td>
<td>gcc version 4.0.3</td>
<td>-Wall -W -Wno-unused -Wpointer-arith -Wcast-align
-Wno-long-long -pedantic -O2 -pipe -pthread -pipe</td>
</tr>
<tr>
<td>c++</td>
<td>gcc version 4.0.3</td>
<td>-fno-rtti -fno-exceptions -Wall -Wconversion -Wpointer-arith
-Wcast-align -Woverloaded-virtual -Wsynth -Wno-ctor-dtor-privacy
-Wno-non-virtual-dtor -Wno-long-long -pedantic -O2 -pipe -fshort-wchar
-pthread -pipe </td>
</tr>
</tbody>
</table>
<p> </p>
<h2>Configure arguments</h2>
--enable-application=browser --prefix=/usr --disable-tests
--disable-installer --enable-strip --with-system-jpeg
--with-system-zlib --with-system-png --enable-system-cairo
--with-system-nss --with-system-nspr --enable-svg --enable-canvas
--enable-extensions=default,xforms,schema-validation --enable-ldap
--enable-official-branding
--with-default-mozilla-five-home=/usr/lib/firefox
--disable-accessibility
</body>
</html>
C{,XX}FLAGS were only -O2 -pipe, and it works pretty much fine. And
this is on a PIII 500, so I know it's possible. Try building with
lesser flags.
I'll try spidermonkey and links+javascript when I have some time.
Obviously, these aren't long term solutions if you're used to a
graphical web browser, like me. Links is something of a solution
because you can build the gui frontend and javascript, but it's
nowhere near as fully featured as firefox/konqueror/epiphany/etc.
But I've found that elinks + spidermonkey is nice to have when I can't
use X. Elinks has got some pretty cool features for a text-mode
browser.
--
Dan
--
http://linuxfromscratch.org/mailman/listinfo/blfs-support
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page