Thanks for your answer.
Maybe my PC is too slow, ^_^
Beacuse I'm on the develop and debug, so I think I can't add options "--disable-debug-symbols", I think I can build code in two dirctory, one for code change without debug symbol, If error happen I debug on other dirctory, but this will speed my develop down. Now I'm trying to change moz.config file, to build mailnew into separate shared library (libmail.so) which shouldn't link to libxul, Or first I should change a faster computer. Thanks for your answer again, I think my appreciation is more than words that I can say!


在 2015/4/25 1:31, Gregory Szorc 写道:
libxul is the main library used by Gecko. It is possible to not compile
it after changes by running `mach build <directory>` or `make -C
<directory>`, but changes won't be visible in Thunderbird. i.e. this
mode is only useful as a compilation check.

If libxul takes 10-20 minutes to link, your system is likely running
into hardware limitations (slow I/O, swapping, slow CPU, etc). You can
try reducing the system requirements to build and link by disabling
debug symbols. "ac_add_options --disable-debug-symbols" Of course,
debugging won't be easy if you go this route.


On Thu, Apr 23, 2015 at 7:07 PM, 梁栋 <liangdong1...@163.com
<mailto:liangdong1...@163.com>> wrote:

    I'm an thunderbird developer, I develop in the source code comm-release.
    In the past, I had alredy download source code and finish compile,
    but the problem is: everytime I change the source code and in the
    recompile process, I will spend 10~20
    minutes in linking libxul.so.
    After some search , I find we uesd to have an option
    --disable-libxul, but this options could not use now.
    I also try add options "ac_add_options --enable-static",
    "ac_add_options --with-ccache=/usr/bin/ccache" in .mozconfig, but
    nothing change!
    Is there any way to disable libxul.so to be compile or reduce
    recompile time?
    _______________________________________________
    dev-builds mailing list
    dev-builds@lists.mozilla.org <mailto:dev-builds@lists.mozilla.org>
    https://lists.mozilla.org/listinfo/dev-builds




_______________________________________________
dev-builds mailing list
dev-builds@lists.mozilla.org
https://lists.mozilla.org/listinfo/dev-builds

Reply via email to