From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 7D63B138010 for ; Wed, 31 Oct 2012 00:28:59 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 128A121C0D8; Wed, 31 Oct 2012 00:28:36 +0000 (UTC) Received: from nm17-vm0.access.bullet.mail.mud.yahoo.com (nm17-vm0.access.bullet.mail.mud.yahoo.com [66.94.236.21]) by pigeon.gentoo.org (Postfix) with ESMTP id D1FF121C003 for ; Wed, 31 Oct 2012 00:26:46 +0000 (UTC) Received: from [66.94.237.195] by nm17.access.bullet.mail.mud.yahoo.com with NNFMP; 31 Oct 2012 00:26:45 -0000 Received: from [98.138.84.212] by tm6.access.bullet.mail.mud.yahoo.com with NNFMP; 31 Oct 2012 00:26:45 -0000 Received: from [127.0.0.1] by smtp101.sbc.mail.ne1.yahoo.com with NNFMP; 31 Oct 2012 00:26:45 -0000 X-Yahoo-Newman-Id: 773413.20622.bm@smtp101.sbc.mail.ne1.yahoo.com X-Yahoo-Newman-Property: ymail-3 X-YMail-OSG: poz4r.IVM1nx3sRb6nlr8ixTGxE9alTkic1_Ow73wQGNkJD .GqzbCpmL8N2xhztvZGwhVLdW1S6dNjQhuoRDNuzdcPEKKI7GIof_cz6BL8l UJNFa0KJZKcnE.6RuLvf7whZ6h_7qIX8WAwQmItISx3zEYqYKipId1zdJpnC fnZCAD6WuDpELVrj.RJgR9RD8mXaEcBjHU64rVdxt17uqGQveHxCyhXfYESY zXcH1yqlXGJX9IJ.gQg1fduQDaefRbqtvgNBD_HX_38vEwNq_WdSb_qaNyDX OsyUb3QWii6a9OdgzXRum0ulxPpjqGkByjr.kdMWi3kwq1MXHGetsqpMeXPU jRx4XkfbnWk.p56Hb6MvOt17xHlPfPd5RMeCAvu6Cn4BReO9_lPBoaSq935. vdz_qwtBkANXuC9ehZDVQAjanLJJug2c4yP_b63JfsNZxfUyKwAFAnY5Ky1. mO5fZXq9CR6l0e_uU4SX7Bqs.EUVVZCJCgf82qYaNGWAZ2cKCgWsl1pn3qju S1GHok3OgYKjxqbuW5H3M38MviiioHX0VyGIs3DKS6JH8rQXhLW1FtHugOVZ 7bzVwM3E- X-Yahoo-SMTP: oM3WcDSswBC7zv73TQKEsi7eAZ0- Received: from [192.168.1.2] (w41ter@69.234.192.162 with plain) by smtp101.sbc.mail.ne1.yahoo.com with SMTP; 30 Oct 2012 17:26:45 -0700 PDT Message-ID: <50907045.2090502@gmail.com> Date: Tue, 30 Oct 2012 17:26:45 -0700 From: walt User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/17.0 Thunderbird/17.0 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-user@lists.gentoo.org Reply-to: gentoo-user@lists.gentoo.org MIME-Version: 1.0 To: gentoo-user@lists.gentoo.org Subject: [gentoo-user] Re: [OT] Questions about building from source tarball References: <20121030085650.GB7402@waltdnes.org> In-Reply-To: <20121030085650.GB7402@waltdnes.org> Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Archives-Salt: e4d6b1c5-784f-4686-8b5d-f039ac9adac1 X-Archives-Hash: 2687f5852e9280b97b54dc13a4fff9c9 On 10/30/2012 01:56 AM, Walter Dnes wrote: > Several years ago, back in the days of Mozilla 0.9x and Phoenix, I > used to build Mozilla and/or Pheonix from the source tarball. Me too :) Every morning I'd pull from their source repo and build my own and then file bug reports (there were thousands of bugs to report) until I got tired of adding to the mile-high stack of other ignored bug reports and quit. Amazing how much I've forgotten since then :( https://developer.mozilla.org/en-US/docs/Configuring_Build_Options About halfway down that webpage I spotted this line, and it rang a bell: ac_add_options --enable-optimize=-O2 (I think I recall adding CFLAGS to that line, but it's pretty fuzzy now. And you would probably want to set this to $HOME, as you mentioned: ac_add_options --prefix=/usr You can also add mk_add_options="-j4" and similar stuff to .mozconfig if you want. You can try entering 'about:buildconfig' in firefox or seamonkey to see what sort of stuff the mozilla devs use to build their own binaries.