From owner-freebsd-mips@freebsd.org Thu Nov 5 07:28:19 2015 Return-Path: Delivered-To: freebsd-mips@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 73C1FA26A13; Thu, 5 Nov 2015 07:28:19 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: from mail-ig0-x229.google.com (mail-ig0-x229.google.com [IPv6:2607:f8b0:4001:c05::229]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 3D5E51AEB; Thu, 5 Nov 2015 07:28:19 +0000 (UTC) (envelope-from adrian.chadd@gmail.com) Received: by igbdj2 with SMTP id dj2so5162022igb.1; Wed, 04 Nov 2015 23:28:18 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:sender:in-reply-to:references:date:message-id:subject :from:to:cc:content-type; bh=UJH81/O0ErZOdSn2Z6jdZItR0zf+xTM2j83S3uDpSTY=; b=RoB0cYXPS+kNxbnm0FqFqkYDG8JcEcqwPaCuJTYvNFdxN3Q7oo9eUpVktmGClsMkq8 Xvk/RsoiXfVmRlrYvlqE5FfdCftXymJL4Iafmi3CB6n93AfJXV6dqXxbdDkYXa7sjhaq wON+Zg3FlzbaV1p0rYNwv7lAcL9W/Lly3oaqTGn/gr/+voclPtENtLfgBojcqBVE/lo2 nPUIG+vc+Yhlejz2eSSNL4nN3BWrhmTnx7EzrdsAHc4E6KFOBoGrKd30Oiu78OZSf/Ig x9GmDQGzc+kOQHzadzIzUcqzCH1+V/2HdF0ntSQga23dz2mLW4Rdw2l3/GT8momyod2M ut9g== MIME-Version: 1.0 X-Received: by 10.50.164.196 with SMTP id ys4mr1433991igb.37.1446708498705; Wed, 04 Nov 2015 23:28:18 -0800 (PST) Sender: adrian.chadd@gmail.com Received: by 10.36.217.196 with HTTP; Wed, 4 Nov 2015 23:28:18 -0800 (PST) In-Reply-To: <26BD9533-2C1E-4198-9AC2-BDD77A08337D@dons.net.au> References: <26BD9533-2C1E-4198-9AC2-BDD77A08337D@dons.net.au> Date: Wed, 4 Nov 2015 23:28:18 -0800 X-Google-Sender-Auth: wZeaTR_wo4OGqljv42c9knAtU3g Message-ID: Subject: Re: COMPILER_TYPE and installworld From: Adrian Chadd To: "O'Connor, Daniel" Cc: "freebsd-arch@freebsd.org" , "freebsd-mips@freebsd.org" Content-Type: text/plain; charset=UTF-8 X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Nov 2015 07:28:19 -0000 On 4 November 2015 at 23:08, O'Connor, Daniel wrote: > >> On 5 Nov 2015, at 16:31, Adrian Chadd 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? There's some stuff that's conditionally compiled based ont he compiler. Don't ask. :) -a > 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* > > If install* _do_ need to know the compiler type then, bleh.. > > -- > Daniel O'Connor > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C >