From owner-freebsd-arch@FreeBSD.ORG Mon Nov 23 12:26:55 2009 Return-Path: Delivered-To: arch@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 8806B1065670 for ; Mon, 23 Nov 2009 12:26:55 +0000 (UTC) (envelope-from des@des.no) Received: from tim.des.no (tim.des.no [194.63.250.121]) by mx1.freebsd.org (Postfix) with ESMTP id 4A4568FC0C for ; Mon, 23 Nov 2009 12:26:55 +0000 (UTC) Received: from ds4.des.no (des.no [84.49.246.2]) by smtp.des.no (Postfix) with ESMTP id 17EBD6D41B; Mon, 23 Nov 2009 12:26:54 +0000 (UTC) Received: by ds4.des.no (Postfix, from userid 1001) id DAF74844F2; Mon, 23 Nov 2009 13:26:53 +0100 (CET) From: =?utf-8?Q?Dag-Erling_Sm=C3=B8rgrav?= To: Luigi Rizzo References: <20091122111732.GA45909@onelab2.iet.unipi.it> Date: Mon, 23 Nov 2009 13:26:53 +0100 In-Reply-To: <20091122111732.GA45909@onelab2.iet.unipi.it> (Luigi Rizzo's message of "Sun, 22 Nov 2009 12:17:32 +0100") Message-ID: <86d439who2.fsf@ds4.des.no> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/23.0.95 (berkeley-unix) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Cc: arch@freebsd.org Subject: Re: anyone interested in helping fixing the 'tcc' compiler ? X-BeenThere: freebsd-arch@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussion related to FreeBSD architecture List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 23 Nov 2009 12:26:55 -0000 Luigi Rizzo writes: > I have recently started playing with the Tiny C Compuler (lang/tcc) > which is amazingly useful for prototyping, Looks pretty useless to me: des@ds4 /usr/ports/lang/tcc% sudo make install clean Password: =3D=3D=3D> tcc-0.9.25 is only for i386, while you are running amd64. *** Error code 1 > However, from the description it does not seem a horribly > hard problem. Perhaps someone with a bit of knowledge on > how our ld-elf.so works should not have a hard time pinpointing > the problem so that other people can fix it ? Actually, ld-elf.so is not that scary. Take a look at rtld(1) and start setting debugging envars. Set up a jail so you can mess around with the jail's ld-elf.so without bricking your system. DES --=20 Dag-Erling Sm=C3=B8rgrav - des@des.no