Buidling binutils in gcc source directory

Alan Modra amodra@gmail.com
Fri May 22 03:10:00 GMT 2015


On Thu, May 21, 2015 at 09:25:48PM -0400, Michael Darling wrote:
> 1. Why is it expecting the binutils binaries to be in
> top-source-dir/binutils/ when they are all in
> top-source-dir/binutils/binutils/  ?  I'm not supposed to check out
> binutils git into the base gcc directory, am I?  There's a bunch of
> files that will conflict.

It's been a while since I bothered with a combined build, but yes, you
need to merge the binutils source tree with the gcc source tree.
google gcc binutils combined build.

> 2. I got the git directory from http://www.gnu.org/software/binutils/
> --- and it's binutils-gdb.git.  Gdb isn't involved, yet.  Am I
> checking out the wrong thing?

binutils-gdb is the correct repository.  If you don't want to build gdb,
configure with -disable-gdb --disable-sim --disable-readline (and
--disable-libdecnumber if building binutils stand-alone).

-- 
Alan Modra
Australia Development Lab, IBM



More information about the Binutils mailing list