From owner-freebsd-questions@FreeBSD.ORG Tue Jul 19 11:26:42 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id ABFED16A41C for ; Tue, 19 Jul 2005 11:26:42 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from server.t-hosting.hu (server.t-hosting.hu [217.20.133.7]) by mx1.FreeBSD.org (Postfix) with ESMTP id C481B43D53 for ; Tue, 19 Jul 2005 11:26:41 +0000 (GMT) (envelope-from gabor.kovesdan@t-hosting.hu) Received: from localhost (localhost [127.0.0.1]) by server.t-hosting.hu (Postfix) with ESMTP id 84980997928; Tue, 19 Jul 2005 13:26:39 +0200 (CEST) Received: from server.t-hosting.hu ([127.0.0.1]) by localhost (server.t-hosting.hu [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 55253-03; Tue, 19 Jul 2005 13:26:36 +0200 (CEST) Received: from [80.98.156.20] (catv-50629c14.catv.broadband.hu [80.98.156.20]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by server.t-hosting.hu (Postfix) with ESMTP id EC2959975B7; Tue, 19 Jul 2005 13:26:35 +0200 (CEST) Message-ID: <42DCE367.9090507@t-hosting.hu> Date: Tue, 19 Jul 2005 13:26:31 +0200 From: =?ISO-8859-1?Q?K=F6vesd=E1n_G=E1bor?= User-Agent: Mozilla Thunderbird 1.0.2 (Windows/20050317) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Chris Hodgins References: <63c3899e05071902531118007b@mail.gmail.com> In-Reply-To: <63c3899e05071902531118007b@mail.gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: amavisd-new at t-hosting.hu Cc: freebsd-questions Subject: Re: Cross-compiling for other architectures 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: Tue, 19 Jul 2005 11:26:42 -0000 Chris Hodgins wrote: >Is it possible to cross-compile the base system for the sparc >architecture from an x86 machine? I thought I had seen an article on >setting this sort of thing up before but I can no longer find it. > > You should use the TARGET_ARCH macro. See release(7). Cheers, Gábor Kövesdán