From owner-freebsd-questions@FreeBSD.ORG Thu Jun 26 20:56:07 2008 Return-Path: Delivered-To: freebsd-questions@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id E0CDC1065672 for ; Thu, 26 Jun 2008 20:56:07 +0000 (UTC) (envelope-from millenia2000@hotmail.com) Received: from bay0-omc2-s11.bay0.hotmail.com (bay0-omc2-s11.bay0.hotmail.com [65.54.246.147]) by mx1.freebsd.org (Postfix) with ESMTP id BCCBB8FC13 for ; Thu, 26 Jun 2008 20:56:07 +0000 (UTC) (envelope-from millenia2000@hotmail.com) Received: from BAY126-DS6 ([65.55.131.33]) by bay0-omc2-s11.bay0.hotmail.com with Microsoft SMTPSVC(6.0.3790.3959); Thu, 26 Jun 2008 13:56:07 -0700 X-Originating-IP: [69.243.62.200] X-Originating-Email: [millenia2000@hotmail.com] Message-ID: From: "Sean Cavanaugh" In-Reply-To: <4863F317.6010701@tundraware.com> <4863F4A7.1070909@FreeBSD.org><4863F5A3.6050209@tundraware.com> <4863FC2A.5040909@FreeBSD.org> <4864015C.7010805@tundraware.com> To: "Tim Daneliuk" , "Kris Kennaway" , "FreeBSD Mailing List" References: <4863F317.6010701@tundraware.com> <4863F4A7.1070909@FreeBSD.org><4863F5A3.6050209@tundraware.com> <4863FC2A.5040909@FreeBSD.org> <4864015C.7010805@tundraware.com> X-Unsent: 1 Date: Thu, 26 Jun 2008 16:55:58 -0400 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 12.0.1606 X-MimeOLE: Produced By Microsoft MimeOLE V12.0.1606 X-OriginalArrivalTime: 26 Jun 2008 20:56:07.0377 (UTC) FILETIME=[0E099410:01C8D7CF] Cc: Subject: Re: Making World For amd64 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jun 2008 20:56:08 -0000 -------------------------------------------------- From: "Tim Daneliuk" Sent: Thursday, June 26, 2008 4:51 PM To: "Kris Kennaway" ; "FreeBSD Mailing List" Subject: Re: Making World For amd64 > Kris Kennaway wrote: >> Tim Daneliuk wrote: >>> Kris Kennaway wrote: >>>> Tim Daneliuk wrote: >>>>> Is there anything special one has to do when doing a make world >>>>> intended for 64-bit FreeBSD or is it sufficient to build the 64-bit >>>>> kernel and make world as everywhere else? >>>> The same as everywhere else. >>>> >>>> Kris >>> >>> So, I take it that this means that all the userspace programs, ports, >>> packages, utilities, etc. do *not* take advantage of the 64-bit >>> extensions. That is, only the kernel gets the benefit of the >>> wider word. Is that correct? >>> >> >> No, everything is 100% native. >> >> Kris >> > > OK, these may be really stupid questions but: > > 1) How does make world know whether to build 32-bit or 64-bit binaries? > > 2) Can a binary from a 32-bit FreeBSD system be run unmodified on the > 64-bit system? > > 3) If I reboot with 32-bit or 64-bit kernels, does the system magically > somehow make the userland stuff work natively at the word width? > If so, how? > > TIA, I take this to mean you have an i386 install and want to compile amd64 on it.