wiki:WikiStart

firefox-3.7 with JIT Javascript engine for Loongson

contact project's owner by zhou_shuchang AT sina DOT com

If you have any issues, login and create a newticket

A discussion thread (Chinese) is at http://lemote.com/bbs/viewthread.php?tid=26687&extra=page%3D1

Some introduction is at http://www.lingcc.com/2009/12/24/10451/

Install binary (Debian package)

Current binary package is at http://dev.lemote.com/cgit/firefox-3.7-loongson-jit.git/tree/mozilla_1-1_mipsel.deb.

Just

dpkg -i mozilla_1-1_mipsel.deb
cd /usr/local/lib/thunderbird-3.1a1pre/
sudo ln -s libmozsqlite3.so libsqlite3.so

to install the package to /usr/local/bin, and

dpkg -r mozilla

to uninstall it.

Build from source

Follow instructions at https://developer.mozilla.org/en/Simple_Firefox_build

Current source is at http://dev.lemote.com/cgit/firefox-3.7-loongson-jit.git/tree/mozilla-central.l51.

Do release-build with mozconfig

. $topsrcdir/browser/config/mozconfig
mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-ff-release
mk_add_options MOZ_MAKE_FLAGS="-j2"
ac_add_options --disable-necko-wifi
ac_add_options --disable-ipc

Thunderbird 3

Current binary package is at http://dev.lemote.com/cgit/firefox-3.7-loongson-jit.git/tree/thunderbird3-ls_1-1_mipsel.deb.

Just

dpkg -i thunderbird3-ls_1-1_mipsel.deb

to install the package to /usr/local/bin, and

dpkg -r thunderbird3-ls

to uninstall it.

To install from source:

cp -r mozilla-central.l51 comm-central/mozilla

Then create a .mozconfig in comm-central with

mk_add_options MOZ_OBJDIR=@TOPSRCDIR@/objdir-tb-release
mk_add_options MOZ_MAKE_FLAGS="-j2"
ac_add_options --disable-necko-wifi
ac_add_options --disable-ipc
ac_add_options --enable-application=mail
ac_add_options --enable-static --disable-libxul --disable-tests
ac_add_options --enable-calendar

Then

make -f client.mk

When it is reported that -lmozsqlite3 cannot be found do

cp comm-central/mozilla/objdir-ff-release/db/sqlite3/src/libmozsqlite3.so comm-central/objdir-tb-release/mozilla/dist/bin/libmozsqlite3.so

Also see https://developer.mozilla.org/en/Simple_Thunderbird_build

Source

Access git repository:

  • git://dev.lemote.com/firefox-3.7-loongson-jit.git (git protocal, anonymous)
  • http://dev.lemote.com/http_git/firefox-3.7-loongson-jit.git (http protocal, if the git protocal is blocked by firewall)
  • git@dev.lemote.com:firefox-3.7-loongson-jit.git (ssh protocal, if you are this project's owner)
  • Browser source code

Recommend building with Lemote's tool-chain http://dev.lemote.com/files/binary/toolchain/gcc4ls2f.tar to avoid a potential bug http://sourceware.org/ml/binutils/2009-11/msg00387.html.

Last modified 4 years ago Last modified on Jan 14, 2010 10:38:13 AM