Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 5 Nov 2015 08:02:46 -0800
From:      Adrian Chadd <adrian@freebsd.org>
To:        NGie Cooper <yaneurabeya@gmail.com>
Cc:        "O'Connor, Daniel" <darius@dons.net.au>,  "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>,  "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>
Subject:   Re: COMPILER_TYPE and installworld
Message-ID:  <CAJ-VmomJVmAHLzN8XWj3QUd0Gp4_7i-Yr3Krqb=idA-eJxmmMg@mail.gmail.com>
In-Reply-To: <35BA9AA9-6DFA-4CFC-8AA8-25B1D9EDD494@gmail.com>
References:  <CAJ-VmomkWx=GMFGMexanH892iFoGQUFU8jo=qTvYnqp3bQoTDA@mail.gmail.com> <CAJ-VmokbRp8w9_3CrEcHVn%2Bnrhfs3TAF01JrNPptoVzTB30LTA@mail.gmail.com> <CAJ-VmokUOMFMF2LE89Uc9unmmBwGusMzU_r%2BF=GKMe0c1g=DMA@mail.gmail.com> <CAJ-Vmoni7rBBP_ePU2-W11FTOunRCWLSeWYe1i9FxyoUUdd10g@mail.gmail.com> <26BD9533-2C1E-4198-9AC2-BDD77A08337D@dons.net.au> <35BA9AA9-6DFA-4CFC-8AA8-25B1D9EDD494@gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 4 November 2015 at 23:46, NGie Cooper <yaneurabeya@gmail.com> wrote:
>
>> On Nov 4, 2015, at 23:08, O'Connor, Daniel <darius@dons.net.au> wrote:
>>
>>
>>> On 5 Nov 2015, at 16:31, Adrian Chadd <adrian@freebsd.org> wrote:
>>> So! In the short term, is there any way that during
>>> installworld/installkernel we can also set CC, etc appropriately?
>>> Otherwise we're either using the wrong compiler logic/version
>>> (installkernel) or we're just plain not going to work (installworld.)
>>
>> Why does installworld/kernel care what the compiler type is?
>>
>> Or is it just something incidental which gets pulled in that complains b=
ecause it can't work it out? If so perhaps the easiest way would be to add =
a flag which turns off compiler detection and set it for install*
>>
>> If install* _do_ need to know the compiler type then, bleh..
>
> It shouldn=E2=80=99t care. bsd.compiler.mk just has the intelligence of a=
 stump and Makefile.inc1 doesn=E2=80=99t tell bsd.compiler.mk to do otherwi=
se in the distribution/install phases.
>
> If it were up to me, CC would be false when make install* is run from Mak=
efile.inc1.

I don't mind what people do, I'd just really appreciate some help
fixing this up. I think we're pretty close to being able to transition
mips over to using 100% external toolchain only, and this is the
starting point.

So, what can we do? Pretty please? :)



-adrian



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?CAJ-VmomJVmAHLzN8XWj3QUd0Gp4_7i-Yr3Krqb=idA-eJxmmMg>