From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from lists.gentoo.org ([140.105.134.102] helo=robin.gentoo.org) by nuthatch.gentoo.org with esmtp (Exim 4.43) id 1DsoS8-0000tX-SX for garchives@archives.gentoo.org; Wed, 13 Jul 2005 21:07:38 +0000 Received: from robin.gentoo.org (localhost [127.0.0.1]) by robin.gentoo.org (8.13.4/8.13.4) with SMTP id j6DL6MQu010844; Wed, 13 Jul 2005 21:06:22 GMT Received: from lennier.cc.vt.edu (lennier.cc.vt.edu [198.82.162.213]) by robin.gentoo.org (8.13.4/8.13.4) with ESMTP id j6DL6Ln5029677 for ; Wed, 13 Jul 2005 21:06:22 GMT Received: from vivi.cc.vt.edu (IDENT:mirapoint@[10.1.1.12]) by lennier.cc.vt.edu (8.12.11/8.12.11) with ESMTP id j6DL7AdR010186 for ; Wed, 13 Jul 2005 17:07:21 -0400 Received: from [192.168.1.2] (68-232-96-93.chvlva.adelphia.net [68.232.96.93]) by vivi.cc.vt.edu (MOS 3.6.4-CR) with ESMTP id DQD00627 (AUTH spbecker); Wed, 13 Jul 2005 17:07:09 -0400 (EDT) Message-ID: <42D5827D.9020302@gentoo.org> Date: Wed, 13 Jul 2005 17:07:09 -0400 From: "Stephen P. Becker" User-Agent: Mozilla Thunderbird 1.0.2 (X11/20050625) X-Accept-Language: en-us, en Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-mips@gentoo.org Reply-to: gentoo-mips@lists.gentoo.org MIME-Version: 1.0 To: gentoo-mips@lists.gentoo.org Subject: Re: [gentoo-mips] n32 userland References: In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Archives-Salt: fb6d583a-b688-44da-a45d-90ff5be0cc14 X-Archives-Hash: 1dd6021a75e9080d37bb8d7cbe7b04a2 David Cummings wrote: > I have a couple of questions I hope someone can shed some light on. > First, if I did a stage1 install using -mabi=32, I am using a o32 > userland? Yes. > Second, if I wanted to move to a n32 userland, without > reinstalling from netboot, what would be the steps involved? A change > of profile, emerge system && emerge world? or emerge --newuse --deep > world all in itself. Currently, this would require a complete reinstall. In any case, n32 userland is really not ready for general consumption yet. There are known bugs that we haven't squashed, and that could cause serious pain to end users. > And thirdly, if I want to compile a 64-bit > binary, the gcc I am currently using, mips-unknown-linux-gnu, claims > it is unable to produce an executable. Of course it can't. It has no 64-bit library to link the binary against. However, you should still be able to build 64-bit object files, and other programs that don't need a libc (like the kernel). > Will the -mabi=n32 one be OK? If you do install n32 userland, your toolchain will be mips64-unknown-linux-gnu, and will produce n32 userland binaries just fine via -mabi=n32. However, then -mabi=32 and -mabi=64 won't work, since there are no o32 or n64 libs to link against. Makes sense, yes? -Steve -- gentoo-mips@gentoo.org mailing list