From owner-freebsd-current@FreeBSD.ORG Mon May 1 21:39:34 2006 Return-Path: X-Original-To: current@freebsd.org Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 43DCD16A400; Mon, 1 May 2006 21:39:34 +0000 (UTC) (envelope-from mi+mx@aldan.algebra.com) Received: from aldan.algebra.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 25AFE43D45; Mon, 1 May 2006 21:39:29 +0000 (GMT) (envelope-from mi+mx@aldan.algebra.com) Received: from corbulon.video-collage.com (static-151-204-231-237.bos.east.verizon.net [151.204.231.237]) by aldan.algebra.com (8.13.6/8.13.6) with ESMTP id k41LdEu8093066 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK); Mon, 1 May 2006 17:39:23 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) Received: from [172.21.130.86] (mx-broadway [38.98.68.18]) by corbulon.video-collage.com (8.13.6/8.13.6) with ESMTP id k41Ld8Rw077828 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Mon, 1 May 2006 17:39:08 -0400 (EDT) (envelope-from mi+mx@aldan.algebra.com) From: Mikhail Teterin Organization: Virtual Estates, Inc. To: Paul Allen Date: Mon, 1 May 2006 17:39:02 -0400 User-Agent: KMail/1.9.1 References: <200605011604.26507.mi+mx@aldan.algebra.com> <20060501212539.GA24193@regurgitate.ugcs.caltech.edu> In-Reply-To: <20060501212539.GA24193@regurgitate.ugcs.caltech.edu> MIME-Version: 1.0 Content-Type: text/plain; charset="koi8-u" Content-Transfer-Encoding: 8bit Content-Disposition: inline Message-Id: <200605011739.02920.mi+mx@aldan.algebra.com> X-Virus-Scanned: ClamAV 0.88/1434/Mon May 1 15:51:00 2006 on corbulon.video-collage.com X-Virus-Status: Clean X-Scanned-By: MIMEDefang 2.43 X-Mailman-Approved-At: Tue, 02 May 2006 02:17:34 +0000 Cc: stable@freebsd.org, current@freebsd.org Subject: Re: cc can't build 32-bit executables on amd64 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 01 May 2006 21:39:34 -0000 понед╕лок 01 травень 2006 17:25, Paul Allen написав: > This was originally mentioned in amd64/76224 which was closed by obrien > with the terse remark: "We don't yet support building 32-bit apps on a > 64-bit system. We only barely support *running* them at this point." I may be missing something huge, but, it seems to me, that my little patch is sufficient to point cc to the right direction. With it I can create 32-bit executables. Thus created lame, for example (from the audio/lame port) works and happily converts mp3 files (using assembler-optimized routines available only for 32-bit i386). Maybe, there was more to it, when the amd64/76224 was closed, but there is so little now... It may still not work for something trickier, but, I think, I offer an improvement... -mi > Really this deserves an errata mention at the very least.  It just simply > isn't intuitive that this functionality would be missing from a tier-1 > release.