[RFC] external compiler support

Adrian Chadd adrian at freebsd.org
Sun Apr 28 12:06:23 UTC 2013


On 28 February 2013 09:23, Brooks Davis <brooks at freebsd.org> wrote:

>> Here's another version that addresses those comments.  I decided to
> rename CROSS_*_PATH to CROSS_*_PREFIX because it offended my
> sensibilities to call something that may not refer to a filesystem
> object a path.

So I'd like to use this with gcc-4.7 or later, specifically to use a
mips24k and mips74k targeting cross compiler. Apparently the later gcc
compilers generate much tighter mips assembly and I'd like to test
this theory out.

Since i haven't had to this manually in a long, long time, does
someone have a howto/example for how to install a cross-compiler from
ports, then make this patch use it for building?

I think (?) that generating mips74k code requires a new set of
binutils (for any added instructions) but I'm not 100% on that. Again,
this is uncharted territory.

I'll give this more of a whirl (and test the resulting built
components!) if I can get a little hand-holding here.



More information about the freebsd-arch mailing list