On (01/03/2012 18:52), Luigi Rizzo wrote:
> On Thu, Mar 01, 2012 at 12:24:13PM -0500, Alexander Kabaev wrote:
> > On Thu, 1 Mar 2012 18:38:19 +0100
> > Luigi Rizzo wrote:
> >
> > > What is the way to properly cross-build a single program
> > > (after having gone throught the 'toolchain' and possi
On Thu, Mar 01, 2012 at 06:38:19PM +0100, Luigi Rizzo wrote:
> What is the way to properly cross-build a single program
> (after having gone throught the 'toolchain' and possibly
> even a full 'buildworld')
> from the top-level directory of a FreeBSD source tree ?
>
> right now i do something lik
On Thu, 1 Mar 2012 18:38:19 +0100
Luigi Rizzo wrote:
> What is the way to properly cross-build a single program
> (after having gone throught the 'toolchain' and possibly
> even a full 'buildworld')
> from the top-level directory of a FreeBSD source tree ?
>
> right now i do something like
>
>
On Thu, Mar 01, 2012 at 12:24:13PM -0500, Alexander Kabaev wrote:
> On Thu, 1 Mar 2012 18:38:19 +0100
> Luigi Rizzo wrote:
>
> > What is the way to properly cross-build a single program
> > (after having gone throught the 'toolchain' and possibly
> > even a full 'buildworld')
> > from the top-le
What is the way to properly cross-build a single program
(after having gone throught the 'toolchain' and possibly
even a full 'buildworld')
from the top-level directory of a FreeBSD source tree ?
right now i do something like
cd $SOURCE_ROOT
make MAKEOBJDIRPREFIX=/my_obj_tree TAR
Warner Losh wrote:
> You'll need to do this for all binutils as well.
I already build binutils with multi-architecture support. On alpha,
I have "CROSS_TOOLS= i386 m68k" in my /etc/make.conf and at the
end of a make world I have one ld that knows all the formats. Only
gas is a special case, so I
In message <[EMAIL PROTECTED]> John Birrell writes:
: I was aiming to build a set of cross tools as (an optional) part of the
: i386 build like binutils. When building the cross-compiler, defining
: CROSS_COMPILE and setting the execution path will avoid the native
: compiler. Then in the mk files
Warner Losh wrote:
>
> OK. Per many requests from the community, I've committed my cross
> compilation changes.
Thanks.
> To build you just say
> make buildworld TARGET=hpcmips TARGET_ARCH=mipsel
> or
> make buildworld TARGET=m68k TARGET_ARCH=m68k
> Right now you must specify both
OK. Per many requests from the community, I've committed my cross
compilation changes.
To build you just say
make buildworld TARGET=hpcmips TARGET_ARCH=mipsel
or
make buildworld TARGET=m68k TARGET_ARCH=m68k
Right now you must specify both TARGET and TARGET_ARCH. You will want