From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from wilbur.contactoffice.com (wilbur.contactoffice.com [212.3.242.68]) by sourceware.org (Postfix) with ESMTPS id 463AC3858D1E for ; Sun, 1 Jan 2023 15:33:51 +0000 (GMT) Received: from hologram (hologram.co-bxl [10.2.0.17]) by wilbur.contactoffice.com (Postfix) with ESMTP id 01A671B68; Sun, 1 Jan 2023 16:33:50 +0100 (CET) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; t=1672587230; s=20210208-e7xh; d=mailfence.com; i=hanslonsdale@mailfence.com; h=Date:From:To:Cc:Message-ID:In-Reply-To:References:Subject:MIME-Version:Content-Type; l=2427; bh=0aTmY0P0hqm99yu4z1t2bZri2woyEkMtMOpLH8jQN6M=; b=Mj2725x7GCa4JnWnUy+YwKBkHC9PBNA72Iufn75r4IFVErj6Yi08RP3ysT/t8kcM MBXQVyFJ8xgLXcfL79Tc7/meLXmXHbDS56iY30S4C7wQGydvT3M39vjWszo92mMADW6 vNkPQabx25LzD/0qTwWarf+mdys+vQtpUq2AhCO/iZOsCQctoGgcMZ7ovBdZwB4jaKg yIt0hLf8JvcTWZxyeDKZ+YMqxCqRRjoRTyZI8XFwQ0/7CTBoaGhykP4lb+EBCuonzla O8qxbfAeGHGtbV53zyyx2BIiaC1FnyPlk2UrPAQz/4TQuBwS57UKbA4ue/Hx9QoZYv1 yFlp5pPGRA== Date: Sun, 1 Jan 2023 16:14:02 +0100 (CET) From: Hans Lonsdale To: Jonathan Wakely Cc: Gcc Help Message-ID: <1165150527.763388.1672586042114@ichabod.co-bxl> In-Reply-To: References: <1311924207.730197.1672533942851@ichabod.co-bxl> Subject: Re: no input files when calling gfortran MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_763385_1037577127.1672586042113" X-Mailer: ContactOffice Mail X-ContactOffice-Account: com:377787701 X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,HTML_MESSAGE,RCVD_IN_DNSWL_LOW,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: ------=_Part_763385_1037577127.1672586042113 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline January 1, 2023 at 2:31:28 PM CET Jonathan Wakely w= rote: 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.=C2=A0 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. What is the appropriate command that generates the object file only ? =C2=A0 -- Sent with https://mailfence.com Secure and private email= ------=_Part_763385_1037577127.1672586042113--