Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Re: my work on cross-build for mips, arm, etc - your help, please!

1 view
Skip to first unread message

Michael Vale

unread,
Nov 13, 2012, 7:32:06 AM11/13/12
to freebsd-...@freebsd.org, freebs...@freebsd.org, freebsd...@freebsd.org
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-...@freebsd.org ; freebs...@freebsd.org ; freebsd...@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...@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "freebsd-hacke...@freebsd.org"

Michael Vale

unread,
Nov 13, 2012, 7:47:53 AM11/13/12
to freebsd-...@freebsd.org, freebs...@freebsd.org, freebsd...@freebsd.org
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!

Adrian Chadd

unread,
Nov 14, 2012, 4:55:00 PM11/14/12
to Michael Vale, freebsd...@freebsd.org, freebsd-...@freebsd.org, freebs...@freebsd.org
Hiya,

Would you mind re-ubmitting the diff but using "diff -u" instead?

It's hard to read a non-context diff these days!

Thanks,



ADrian


On 13 November 2012 04:30, Michael Vale <mas...@internode.on.net> wrote:
> 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

Adrian Chadd

unread,
Nov 14, 2012, 4:56:09 PM11/14/12
to Michael Vale, freebsd...@freebsd.org, freebsd-...@freebsd.org, freebs...@freebsd.org
Hi,

Ok, I've stared at it. :)

You've hard-coded the autotools/libtool directory. Why'd you do that?




adrian
0 new messages