[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: gcc default args

From: Ludovic Courtès
Subject: Re: gcc default args
Date: Mon, 18 Jul 2016 14:08:22 +0200
User-agent: Gnus/5.13 (Gnus v5.13) Emacs/24.5 (gnu/linux)


Vincent Legoll <address@hidden> skribis:

> I searched for a way to set gcc's -march globally, for the whole distro,
> is this possible with guix ?

It’s possible, but inconvenient: you’d have to modify (guix build
gnu-build-system), or to add a GCC wrapper that appends “-march=foo”.

However, because you’d be building things differently, you wouldn’t be
able to use substitutes provided by

Likewise, binaries built on your machine may be unusable on other
machines, if you use -march=native or similar.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]