[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) |
Hi,
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 mirror.hydra.gnu.org.
Likewise, binaries built on your machine may be unusable on other
machines, if you use -march=native or similar.
Ludo’.
- gcc default args, Vincent Legoll, 2016/07/18
- Re: gcc default args,
Ludovic Courtès <=