From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Erin Hodgess Newsgroups: gmane.emacs.help Subject: Multiple Compiler Options Date: Mon, 9 Aug 2021 13:21:35 -0600 Message-ID: Mime-Version: 1.0 (Mac OS X Mail 14.0 \(3654.120.0.1.13\)) Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: quoted-printable Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="13918"; mail-complaints-to="usenet@ciao.gmane.io" To: help-gnu-emacs@gnu.org Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Mon Aug 09 22:22:21 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1mDBmu-0003TG-KI for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 Aug 2021 22:22:20 +0200 Original-Received: from localhost ([::1]:43182 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1mDBmt-0006sR-LK for geh-help-gnu-emacs@m.gmane-mx.org; Mon, 09 Aug 2021 16:22:19 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:34264) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1mDAqD-0003j2-38 for help-gnu-emacs@gnu.org; Mon, 09 Aug 2021 15:21:42 -0400 Original-Received: from mail-il1-x12e.google.com ([2607:f8b0:4864:20::12e]:44761) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1mDAqB-0002Ht-5L for help-gnu-emacs@gnu.org; Mon, 09 Aug 2021 15:21:40 -0400 Original-Received: by mail-il1-x12e.google.com with SMTP id i13so12658776ilm.11 for ; Mon, 09 Aug 2021 12:21:37 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:mime-version:subject:message-id:date:to; bh=pWD9FKabNZ0FnwHhPejrPpJzPc1ycXS9Y77ETJvQ/wA=; b=DljhDWYvdDoQjJbCPDz7EgXjx1IMr4Da3bfPl/y/myC9lAYbETXP7EkmY4yVEXF0w3 5Q0oSJv3FE23D2wgPCc3dSrRTFNE6WZh5KozoGZlwsiGhpewYkxVNKcjIJdqy/P/gtzu zZLqVyHUEKIXUcVYCxSFFWpVIAH2CfKlR5iVAyCR3KZzkRok74hbBOlLodZO5OYCQyij lYNrCIislnZ5gxwMI1O8GA+Yu4fbU2g7IaO55jFxht4BBj93C+u2iEbZCAqZBo9yL16l W/iVXXHZFqpkSiMkzKbkkfZD6vFYMcfl5M+rmFYGMy8Co3M3cSk7rk6Kk3Y3cvzFmu7m vIBg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:mime-version:subject:message-id:date:to; bh=pWD9FKabNZ0FnwHhPejrPpJzPc1ycXS9Y77ETJvQ/wA=; b=jW9mHYRQ3X+3KHKvcmJDznRYfJou7vWwV9wkyD8+eT0HSV6jB1hWRLRq6rYDYggZc3 iLnDCnm5fqB70D9KxBTE1VM40hWfwc/LsjPnSkfV0Jgz91v7cv8FCc9kXr92QRf7W8IS mJfTBEOD0FalFTp6LKgbj9DqMqVWJzMhbZ0Ser6rc+pOuOQjjP1VafCV3PROpg0+q3km V0NAXNinULKdq0hcni1ctqPqsmzdXxd0YsRtlTbdnhqBH3P4XowPOD3sLbthEFoI829n e3j6WpWGJcmcfaoXBKpPKrVDaoLGjaGhqoTUzIGrJqD0oDdCEI5H9GvIGhP1adLFWodm 7qIw== X-Gm-Message-State: AOAM530JryQwoaJLrPZDcjdW0czCn/VQipUe+Lj9uHulePDtrguqpBBf 62HCyfM2N3pJy41QW8aVOKx2XiNhPCOO2w== X-Google-Smtp-Source: ABdhPJzwI7wd5WAYxy7Lrc4mNDUNbJIiONbxZr0FGS9PZ+z89ww/5NH8JZTxCFQ8Nh+/RpHRFjTr7Q== X-Received: by 2002:a92:1a44:: with SMTP id z4mr2143163ill.244.1628536896775; Mon, 09 Aug 2021 12:21:36 -0700 (PDT) Original-Received: from smtpclient.apple ([2601:280:c781:3120:b52e:4dff:8c57:7c9]) by smtp.gmail.com with ESMTPSA id o17sm10023712ilk.11.2021.08.09.12.21.36 for (version=TLS1_2 cipher=ECDHE-ECDSA-AES128-GCM-SHA256 bits=128/128); Mon, 09 Aug 2021 12:21:36 -0700 (PDT) X-Mailer: Apple Mail (2.3654.120.0.1.13) Received-SPF: pass client-ip=2607:f8b0:4864:20::12e; envelope-from=erinm.hodgess@gmail.com; helo=mail-il1-x12e.google.com X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, FREEMAIL_FROM=0.001, HTML_MESSAGE=0.001, RCVD_IN_DNSWL_NONE=-0.0001, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-Mailman-Approved-At: Mon, 09 Aug 2021 16:21:56 -0400 X-Content-Filtered-By: Mailman/MimeDel 2.1.23 X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:132434 Archived-At: Hello: I am using Emacs with Fortran to compile programs. I use the following hooks: (add-hook 'fortran-mode-hook (lambda () (set (make-local-variable 'compile-command) (concat "gfortran " buffer-file-name " && ./a.out" ) = ))) Is there a way to have different compile commands with different = options, please? Thank you, Sincerely, Erin