From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-pg1-x533.google.com (mail-pg1-x533.google.com [IPv6:2607:f8b0:4864:20::533]) by sourceware.org (Postfix) with ESMTPS id 0CD4D3858405 for ; Wed, 1 Jun 2022 12:19:45 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org 0CD4D3858405 Received: by mail-pg1-x533.google.com with SMTP id 129so1760557pgc.2 for ; Wed, 01 Jun 2022 05:19:45 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=IiaXTSFcQk099CGU8P/CFNXJRd0ZwbbOkElrybdKJ70=; b=ajdOgB5o0hlZBj4U0kYbhG6ngegIpj0WYvJzG/Igl3iOTMtEnFrigEXP3SC78pWR8O 5OfiXBb7PJzUOsTLYjtfWe2ck0SwYVHihlq/GtnknW5xWOAqDPLIvnaMadp57VxCgwiL dqOgMcvNn+WPo63m3N55FzHteH+6edURTDq1C6+/tPjuw/e8aIjLUKONLegF2KPM8Qn4 wu+Yrhr6U3xH2dEu9j9IGjW/MTw1PlrBtNPoFv8oxe7ffQ1WbAd9OjCLg3U1gbK7xt3D I673aMrdkeEUnmqWDn2Inn1/8jWnS1tA285VKLb3+qeNIxK/phAGYsL4vMnVQxL9DLjV sGQg== X-Gm-Message-State: AOAM5328tn0WDaVuh9ql3z7Dangw00J+0lgeAQHjuI6U5FUFtCKaccrN 1/xGqiaHc8vt/9JJ8XZrnY5sWa1bEkbUYgPomng= X-Google-Smtp-Source: ABdhPJyOyaItbv8pVFyA5glFguCx/FhqmlrH5M6vYS0wHTz4ErLxVcXEQu4ZqDUSDnuYw/GSvxTMoKwjs9zMms+WuaI= X-Received: by 2002:aa7:8e44:0:b0:50c:fc0e:8d25 with SMTP id d4-20020aa78e44000000b0050cfc0e8d25mr66376168pfr.81.1654085984042; Wed, 01 Jun 2022 05:19:44 -0700 (PDT) MIME-Version: 1.0 References: <20220601115026.452a6840@vepi2> In-Reply-To: From: Arjen Markus Date: Wed, 1 Jun 2022 14:19:32 +0200 Message-ID: Subject: Re: is there a way to find out gfortran version and/or options from a given binary? To: Kay Diederichs Cc: Andre Vehreschild , Fortran List X-Spam-Status: No, score=-0.4 required=5.0 tests=BAYES_00, DKIM_SIGNED, DKIM_VALID, DKIM_VALID_AU, DKIM_VALID_EF, FREEMAIL_ENVFROM_END_DIGIT, FREEMAIL_FROM, HTML_MESSAGE, RCVD_IN_DNSWL_NONE, SPF_HELO_NONE, SPF_PASS, TXREP, T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.29 X-BeenThere: fortran@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Fortran mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jun 2022 12:19:46 -0000 Hm, I was using a file viewer, not strings to examine the file and I looked for the text "GCC". That must be the difference. Indeed, strings does not show that string nor any string containing "GCC" Here is a small part of the text in the file (compiled without -O2, as with it some characters appear mangled): GCC version 10.2.0-mtune=3Dgeneric -march=3Dx86-64staticv.f90 D= =C3=BF Trace/breakpoint trap SIGTRAP Terminal quit signal Regards, Arjen