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: [email protected] ; [email protected] ; [email protected]
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: [email protected] ; [email protected] ; [email protected]
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
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-hackers
To unsubscribe, send any mail to "[email protected]"

Reply via email to