Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 4 Nov 2015 23:46:21 -0800
From:      NGie Cooper <yaneurabeya@gmail.com>
To:        "O'Connor, Daniel" <darius@dons.net.au>
Cc:        Adrian Chadd <adrian@freebsd.org>, "freebsd-mips@freebsd.org" <freebsd-mips@freebsd.org>, "freebsd-arch@freebsd.org" <freebsd-arch@freebsd.org>
Subject:   Re: COMPILER_TYPE and installworld
Message-ID:  <35BA9AA9-6DFA-4CFC-8AA8-25B1D9EDD494@gmail.com>
In-Reply-To: <26BD9533-2C1E-4198-9AC2-BDD77A08337D@dons.net.au>
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>

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

> On Nov 4, 2015, at 23:08, O'Connor, Daniel <darius@dons.net.au> wrote:
>=20
>=20
>> 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.)
>=20
> Why does installworld/kernel care what the compiler type is?
>=20
> Or is it just something incidental which gets pulled in that complains =
because 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*
>=20
> 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 =
otherwise in the distribution/install phases.

If it were up to me, CC would be false when make install* is run from =
Makefile.inc1.=



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?35BA9AA9-6DFA-4CFC-8AA8-25B1D9EDD494>