From mboxrd@z Thu Jan 1 00:00:00 1970 From: Vincent Legoll Subject: Re: gcc default args Date: Mon, 18 Jul 2016 16:28:04 +0200 Message-ID: References: <878twzrvwp.fsf@gnu.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:51773) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1bP9Wm-0001Ye-8Y for help-guix@gnu.org; Mon, 18 Jul 2016 10:28:18 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1bP9Wl-0005vC-9x for help-guix@gnu.org; Mon, 18 Jul 2016 10:28:12 -0400 In-Reply-To: <878twzrvwp.fsf@gnu.org> List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-guix-bounces+gcggh-help-guix=m.gmane.org@gnu.org Sender: "Help-Guix" To: =?UTF-8?Q?Ludovic_Court=C3=A8s?= Cc: help-guix@gnu.org >> I searched for a way to set gcc's -march globally, for the whole distro, >> is this possible with guix ? > > It=E2=80=99s possible, but inconvenient: you=E2=80=99d have to modify (gu= ix build > gnu-build-system), or to add a GCC wrapper that appends =E2=80=9C-march= =3Dfoo=E2=80=9D. OK thanks, I'll try it > However, because you=E2=80=99d be building things differently, you wouldn= =E2=80=99t be > able to use substitutes provided by mirror.hydra.gnu.org. > > Likewise, binaries built on your machine may be unusable on other > machines, if you use -march=3Dnative or similar. Yes, I know the consequences, I'm not distributing the resulting system. --=20 Vincent Legoll