Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 28 Apr 2013 05:06:21 -0700
From:      Adrian Chadd <adrian@freebsd.org>
To:        Brooks Davis <brooks@freebsd.org>
Cc:        freebsd-arch@freebsd.org
Subject:   Re: [RFC] external compiler support
Message-ID:  <CAJ-VmokA8-t09he8UKiV06CTs_TZcdRZ0cyPgLoKcb55ExsSDQ@mail.gmail.com>
In-Reply-To: <20130228172318.GB20864@lor.one-eyed-alien.net>
References:  <20130227003517.GB7348@lor.one-eyed-alien.net> <28404C12-67F3-44F0-AB28-02B749472873@bsdimp.com> <51BB3E17-128A-4989-B272-D8B40D4B854B@bsdimp.com> <20130227190804.GB17489@lor.one-eyed-alien.net> <13FB8CB0-9937-4BD8-AE89-0D24494D8663@bsdimp.com> <20130227214445.GA19594@lor.one-eyed-alien.net> <1CC1DB5A-E87A-456C-AD2C-E203146BB736@bsdimp.com> <20130227221552.GC19594@lor.one-eyed-alien.net> <20130228000241.GF19594@lor.one-eyed-alien.net> <F7A630DD-5182-42AB-917A-64EC810847B7@bsdimp.com> <20130228172318.GB20864@lor.one-eyed-alien.net>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi,

On 28 February 2013 09:23, Brooks Davis <brooks@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.

thanks!



Adrian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmokA8-t09he8UKiV06CTs_TZcdRZ0cyPgLoKcb55ExsSDQ>