unofficial mirror of help-guix@gnu.org 
 help / color / mirror / Atom feed
From: ludo@gnu.org (Ludovic Courtès)
To: Vincent Legoll <vincent.legoll@gmail.com>
Cc: help-guix@gnu.org
Subject: Re: gcc default args
Date: Mon, 18 Jul 2016 14:08:22 +0200	[thread overview]
Message-ID: <878twzrvwp.fsf@gnu.org> (raw)
In-Reply-To: <CAEwRq=o6eJg3y_Kr85O2awmvbiPA624Ap6GP6HAgvrYPduOSwQ@mail.gmail.com> (Vincent Legoll's message of "Mon, 18 Jul 2016 09:14:46 +0200")

Hi,

Vincent Legoll <vincent.legoll@gmail.com> 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’.

  reply	other threads:[~2016-07-18 12:08 UTC|newest]

Thread overview: 3+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-07-18  7:14 gcc default args Vincent Legoll
2016-07-18 12:08 ` Ludovic Courtès [this message]
2016-07-18 14:28   ` Vincent Legoll

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

  List information: https://guix.gnu.org/

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=878twzrvwp.fsf@gnu.org \
    --to=ludo@gnu.org \
    --cc=help-guix@gnu.org \
    --cc=vincent.legoll@gmail.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).