From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ej1-x630.google.com (mail-ej1-x630.google.com [IPv6:2a00:1450:4864:20::630]) by sourceware.org (Postfix) with ESMTPS id ED7D93858D1E for ; Sun, 1 Jan 2023 13:31:41 +0000 (GMT) Received: by mail-ej1-x630.google.com with SMTP id x22so61438884ejs.11 for ; Sun, 01 Jan 2023 05:31:41 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=Zyf3Fc1vBk5tStLhe4J6SlJpggwPoeCXRFdKftrY++8=; b=PaZ4JTO8027KeaEJSizn8sWJhBzndXlN5j3bJe2pp1Um/n8ha6w0Af6KTKAErW+xCy ws/yRsMFiHB7jEv2V9xno4Jk7/6hrrvrGe1SI0mKF7N38ZgXPJWGSe3Bvrdpz5pUHgpB ZbU94EEd+ItsH9fpsixT7CG1EoLorsK+M5YuXwbGcPyvndJEbVTNZsBkvaSS9XjDwiyC 4StVv7SPGG+thiW44QrEVBg6dj+snyKoKS7RmVGj4P+8//kjiGB3N3/mN+AenoeTCSqo Xc4oMoVnl6mS6HpaxrlI+A8m/4xW077TYPQ2Svp6cnx/50X94WvdoR46fK9TQrVdmVfV 1TjQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=Zyf3Fc1vBk5tStLhe4J6SlJpggwPoeCXRFdKftrY++8=; b=2UrpefYQSdZXnnPxCg1hFxJUGk1GLMKCpFqGNTpm/lY0fyvW5iE+GGlE80arLKsbA4 318PykCpRa4QJELEl+eCwi5GJ3Sw/wQ1j4gJtUBv1io0Mra8/aTjyH70cdXTwTXuLTGU cFafnIZ+OwZd/ifrhMvgy9mEKbOd5FkQGJR/XpxDipqjyGvSWGfOfC7ItejJxPfovkXw OVQLiapkmM8IBihwHcVVfD7VMIV9lly/AGgDriJggEr0uHLDf5H92PMK4rLmrewKzUo/ KT3lZYSQIcfhm3y62RtB1PwftvQBP0ZfRJ6oNb0QfL/AddbaM++I0eVERe56NWkf/jOB 6Jvg== X-Gm-Message-State: AFqh2kr9I56oghCVlqgfiJJi354Iti2svFOcHfdiJFaP+XtQeLJO8dj2 4MljDvW8Rcu7x5feSEZsXpz9VBBLLrdoAJ9QpmA= X-Google-Smtp-Source: AMrXdXtS3W0hrTB7nlWBfjkRsS7K8IBxeWtWg3K9Ia/bZxjCIMYW5p51llJDbzYHAgmDEp8JVNq8KFaPlRjMKOg7J6M= X-Received: by 2002:a17:906:565a:b0:7c0:8225:54d with SMTP id v26-20020a170906565a00b007c08225054dmr2622855ejr.286.1672579900587; Sun, 01 Jan 2023 05:31:40 -0800 (PST) MIME-Version: 1.0 References: <1311924207.730197.1672533942851@ichabod.co-bxl> In-Reply-To: <1311924207.730197.1672533942851@ichabod.co-bxl> From: Jonathan Wakely Date: Sun, 1 Jan 2023 13:31:28 +0000 Message-ID: Subject: Re: no input files when calling gfortran To: Hans Lonsdale Cc: Gcc Help Content-Type: multipart/alternative; boundary="000000000000d543b605f133da09" X-Spam-Status: No, score=-0.7 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM,HTML_MESSAGE,RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,TXREP autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: --000000000000d543b605f133da09 Content-Type: text/plain; charset="UTF-8" On Sun, 1 Jan 2023, 11:43 Hans Lonsdale via Gcc-help, wrote: > Am trying to compile a free-format fortran file with some subroutines in > it, with gfortran complaining > about the file. What is going on? > > gfortran -O3 -ffree-form -o kamkrai-sort.f > gfortran: fatal error: no input files; unwilling to write output files > compilation terminated. > The -o option names the output file, but you have told the compiler to use your input file as the output file. --000000000000d543b605f133da09--