Subject: Re: How to force using existing toolchain?
To: None <tech-toolchain@netbsd.org>
From: Joerg Sonnenberger <joerg@britannica.bec.de>
List: tech-toolchain
Date: 07/13/2007 15:22:17
On Thu, Jul 12, 2007 at 06:44:28PM +0000, Luong wrote:
> The tools I have is the gcc tools, modified by another group to support our CPU.

binutils has the support?

> So I have only the binaries and when comparing to the tools generated by
> build.sh, the binaries I have is smaller set which scatter around in the server.
> So I guess I can not let build.sh do the work of building the tools because I
> don't have their source code, and if I have source code, I am not sure if it is
> simple to bring those code into the NetBsd tree so that build.sh can compile it.

You could override src/tools/gcc/Makefile and provide a stub version
that just copies/links your custom gcc into TOOLSDIR.

Joerg