From owner-freebsd-embedded@FreeBSD.ORG Thu Dec 1 07:44:52 2011 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9456D106564A for ; Thu, 1 Dec 2011 07:44:52 +0000 (UTC) (envelope-from stb@lassitu.de) Received: from gilb.zs64.net (gilb.zs64.net [IPv6:2001:470:1f0b:105e::1ea]) by mx1.freebsd.org (Postfix) with ESMTP id 5D88B8FC08 for ; Thu, 1 Dec 2011 07:44:52 +0000 (UTC) Received: by gilb.zs64.net (Postfix, from stb@lassitu.de) id 94726113D63; Thu, 1 Dec 2011 08:44:50 +0100 (CET) Mime-Version: 1.0 (Apple Message framework v1251.1) Content-Type: text/plain; charset=windows-1252 From: Stefan Bethke In-Reply-To: <4ED6FD47.6050704@bluezbox.com> Date: Thu, 1 Dec 2011 08:44:49 +0100 Content-Transfer-Encoding: quoted-printable Message-Id: <96407605-79A9-4AE3-AC2F-13BD97943153@lassitu.de> References: <4ED6FD47.6050704@bluezbox.com> To: Oleksandr Tymoshenko X-Mailer: Apple Mail (2.1251.1) Cc: freebsd-embedded@freebsd.org Subject: Re: Ports cross-compilation X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 01 Dec 2011 07:44:52 -0000 Am 01.12.2011 um 05:06 schrieb Oleksandr Tymoshenko: > I've been tinkering with ports cross-compilation for a couple of days = and decided to summarize this experience. It might start some = discussion, or, with any luck, some action. Excellent points! > - Package builder works only on installed port. Have you looked at pkgng yet? The wiki page says it can create a = package from a separate directory tree. > - Makefile for cross-compilable port should be split into three parts: > common, native, cross. It's not clear who should maintain cross part > though. =46rom many previous discussions, people are reluctant to add files to = all ports because of the filesystem and VCS bloat that causes. Also, = considering the number of ports there are in the tree, and how well = maintained many of the lesser ones are, any solution that requires no or = very little changes to each port would stand a much bigger chance of = being implemented successfully. Has anyone set up a ports build for mips yet, perhaps in an emulator? = It would be very interesting to see which ports build at all on mips. (I naively installed editors/joe from my TL-WR1043ND, which took about a = day mainly because it pulls in perl, and the perl build tools grow to = around 100 MB memory size. Most of the time was spent paging=85) Stefan --=20 Stefan Bethke Fon +49 151 14070811