From owner-freebsd-embedded@FreeBSD.ORG Mon Aug 18 16:36:36 2014 Return-Path: Delivered-To: embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id CF4A894E; Mon, 18 Aug 2014 16:36:36 +0000 (UTC) Received: from onlyone.friendlyhosting.spb.ru (onlyone.friendlyhosting.spb.ru [46.4.40.135]) by mx1.freebsd.org (Postfix) with ESMTP id 929053A3C; Mon, 18 Aug 2014 16:36:33 +0000 (UTC) Received: from lion.home.serebryakov.spb.ru (unknown [94.19.235.70]) (Authenticated sender: lev@serebryakov.spb.ru) by onlyone.friendlyhosting.spb.ru (Postfix) with ESMTPSA id C3FF056401; Mon, 18 Aug 2014 20:36:32 +0400 (MSK) Date: Mon, 18 Aug 2014 20:36:30 +0400 From: Lev Serebryakov Reply-To: lev@FreeBSD.org Organization: FreeBSD X-Priority: 3 (Normal) Message-ID: <1155963691.20140818203630@serebryakov.spb.ru> To: hackers@freebsd.org, embedded@freebsd.org Subject: Build ARM ports on amd64 with qemu-arm-static and "native" cross-toolchain - how to? MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 18 Aug 2014 16:36:36 -0000 Hello, Hackers. I'm trying to setup chroot environment to build ARMv6 ports on amd64 host. I'm using this instructions: https://wiki.freebsd.org/QemuUserModeHowTo. It works with fully-emulated environment. But when I try to add native cross-toolchain (according to "Cross Building Using the Host Cross Compiler (and other toolchain friends):" section) it fails to build anything with cc complaining about absent "crt0.o". Are these instructions up-to-date? What do I do wrong? -- // Black Lion AKA Lev Serebryakov