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

>> 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”.

OK thanks, I'll try it

> 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.

Yes, I know the consequences, I'm not distributing the resulting system.

-- 
Vincent Legoll

      reply	other threads:[~2016-07-18 14:28 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
2016-07-18 14:28   ` Vincent Legoll [this message]

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='CAEwRq=qNjVfiv79WmSWJjntKB=XgLqn3pEXPSo7G4uWTBNfgHw@mail.gmail.com' \
    --to=vincent.legoll@gmail.com \
    --cc=help-guix@gnu.org \
    --cc=ludo@gnu.org \
    /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).