This is the mail archive of the
mailing list for the binutils project.
Re: cross building binutils?
- From: Anonymous <christel-von-der-post at eurovibes dot org>
- To: binutils at sourceware dot org
- Date: Tue, 15 May 2012 20:21:04 +0200
- Subject: Re: cross building binutils?
> On Fri, 11 May 2012, Anonymous wrote:
> > Can somebody please point me to the official instructions for cross building
> > binutils? Thank you.
> Here is one instance. It's long and complicated, not.
> start here
> /path/to/toplevel/configure --target=<gnu-tuple>
> make all
> make install
> where <gnu-tuple> is for example mipsel-unknown-linux-gnu
> (standard GNU/Linux for MIPS).
> To wit, the difference to native build, is just the --target
> option to configure.
Thanks to everyone who has answered. I understand I must specify
--target. Do I need to have all the directories containing header files and
libraries I'll build against present during the build of binutils, or only
when I want to assemble and link against them? That is, does binutils need
to know about paths to things when it's built or can that be done
afterwards. And is it possible and advisable to build for multiple targets
or should it be built once for each target. Thank you.