From owner-freebsd-embedded@FreeBSD.ORG Tue Nov 13 12:31:26 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 5AE1AFF3; Tue, 13 Nov 2012 12:31:26 +0000 (UTC) (envelope-from masked@internode.on.net) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:7]) by mx1.freebsd.org (Postfix) with ESMTP id 7E6748FC13; Tue, 13 Nov 2012 12:31:25 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: Ap8EADY9olCWZd2M/2dsb2JhbABEgkmDUb5igh4BAQ0bYQoDAwQNBAEBKwJRDgESCAmHeKd6gj2QNYwhhUEyYQONdJhLgwM Received: from ppp221-140.static.internode.on.net (HELO forexamplePC) ([150.101.221.140]) by ipmail07.adl2.internode.on.net with SMTP; 13 Nov 2012 23:01:24 +1030 Message-ID: <0728FA19E18F48E89964934E5FCA5A4B@forexamplePC> From: "Michael Vale" To: , , Subject: Re: my work on cross-build for mips, arm, etc - your help, please! Date: Tue, 13 Nov 2012 23:31:25 +1100 MIME-Version: 1.0 X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3505.912 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3505.912 Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.14 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2012 12:31:26 -0000 P.S. some of the ${DESTDIR} things i added can be removed!!! From: Michael Vale=20 Sent: Tuesday, November 13, 2012 11:30 PM To: freebsd-embedded@freebsd.org ; freebsd-ports@freebsd.org ; = freebsd-hackers@freebsd.org=20 Subject: my work on cross-build for mips, arm, etc - your help, please! I was just going to continuing hacking away at this but adri was really = keen that i post this stuff.. So far with what i=E2=80=99ve got I can cross-build just about anything, = but it=E2=80=99s not automated, there is issues with finding and = building dependencies. i=E2=80=99m using XDEV as the cross compiler a command line such as=20 env TARGET=3Dmips TARGET_ARCH=3Dmips make _TARGET_CROSS_DEFS=3D = =E2=80=93C /usr/ports/net/asterisk10 all should get the ball rolling From owner-freebsd-embedded@FreeBSD.ORG Tue Nov 13 12:47:30 2012 Return-Path: Delivered-To: freebsd-embedded@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 123F8405; Tue, 13 Nov 2012 12:47:30 +0000 (UTC) (envelope-from masked@internode.on.net) Received: from ipmail07.adl2.internode.on.net (ipmail07.adl2.internode.on.net [IPv6:2001:44b8:8060:ff02:300:1:2:7]) by mx1.freebsd.org (Postfix) with ESMTP id 0FD1B8FC08; Tue, 13 Nov 2012 12:47:28 +0000 (UTC) X-IronPort-Anti-Spam-Filtered: true X-IronPort-Anti-Spam-Result: AlQJABFAolCWZd2M/2dsb2JhbABEhhq8WgOCBYIeAQEBBAEBAQUbDwEFFiAWAQQFAwMRBAEBAwImAgInAQkeCAYBBwcEAQcJDASHaAyncoI9kDSBIop/GoEFhCIyYQONdIVbg0mPJ4MDgVA Received: from ppp221-140.static.internode.on.net (HELO forexamplePC) ([150.101.221.140]) by ipmail07.adl2.internode.on.net with SMTP; 13 Nov 2012 23:17:27 +1030 Message-ID: <3C014C6EE9954A44B8261F6CBD94C838@forexamplePC> From: "Michael Vale" To: , , References: <0728FA19E18F48E89964934E5FCA5A4B@forexamplePC> In-Reply-To: <0728FA19E18F48E89964934E5FCA5A4B@forexamplePC> Subject: Re: my work on cross-build for mips, arm, etc - your help, please! Date: Tue, 13 Nov 2012 23:47:29 +1100 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="UTF-8"; reply-type=original Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal Importance: Normal X-Mailer: Microsoft Windows Live Mail 16.4.3505.912 X-MimeOLE: Produced By Microsoft MimeOLE V16.4.3505.912 X-BeenThere: freebsd-embedded@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Dedicated and Embedded Systems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Nov 2012 12:47:30 -0000 you might find some more success with this: make _TARGET_CROSS_DEFS= LOCALBASE=/usr/obj/mips.mips/rootfs CONFIGURE_HOST=mips-freebsd LIBTOOL=/usr/local/bin/libtool all sorry about all the mess! i'm sure most of you out there will be able to decifer it! -----Original Message----- From: Michael Vale Sent: Tuesday, November 13, 2012 11:31 PM To: freebsd-embedded@freebsd.org ; freebsd-ports@freebsd.org ; freebsd-hackers@freebsd.org Subject: Re: my work on cross-build for mips, arm, etc - your help, please! P.S. some of the ${DESTDIR} things i added can be removed!!! From: Michael Vale Sent: Tuesday, November 13, 2012 11:30 PM To: freebsd-embedded@freebsd.org ; freebsd-ports@freebsd.org ; freebsd-hackers@freebsd.org Subject: my work on cross-build for mips, arm, etc - your help, please! I was just going to continuing hacking away at this but adri was really keen that i post this stuff.. So far with what i’ve got I can cross-build just about anything, but it’s not automated, there is issues with finding and building dependencies. i’m using XDEV as the cross compiler a command line such as env TARGET=mips TARGET_ARCH=mips make _TARGET_CROSS_DEFS= –C /usr/ports/net/asterisk10 all should get the ball rolling _______________________________________________ freebsd-hackers@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-hackers To unsubscribe, send any mail to "freebsd-hackers-unsubscribe@freebsd.org"