From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from xry111.site (xry111.site [IPv6:2001:470:683e::1]) by sourceware.org (Postfix) with ESMTPS id CE5DE3858D28 for ; Sat, 24 Sep 2022 05:13:10 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org CE5DE3858D28 Authentication-Results: sourceware.org; dmarc=pass (p=reject dis=none) header.from=xry111.site Authentication-Results: sourceware.org; spf=pass smtp.mailfrom=xry111.site DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=xry111.site; s=default; t=1663996388; bh=mzht4nYKcwEQvSW/F4ao9VpHyp4DO3CSQRkgfY0QP7M=; h=Subject:From:To:Cc:Date:In-Reply-To:References:From; b=beDEF2T7o2APyuyPTM+FszovkvsdBa4zJFGYJf02QRMNhAS2OvJfrW5+JIwHUo14O iPyVdbjFHPmoPFwT08vBvOrxLIDiz2pORcZAyNDAUcj//kM+43SyegmnwWyrG9/8mh 0eIhKBmtXHABxByXRYwhofOWuZheeiLnW5/7qEJQ= Received: from localhost.localdomain (xry111.site [IPv6:2001:470:683e::1]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange ECDHE (P-256) server-signature ECDSA (P-384) server-digest SHA384) (Client did not present a certificate) (Authenticated sender: xry111@xry111.site) by xry111.site (Postfix) with ESMTPSA id F1E336692F; Sat, 24 Sep 2022 01:13:06 -0400 (EDT) Message-ID: Subject: Re: CreateProcess No such file or directory From: Xi Ruoyao To: mizo 91 Cc: LIU Hao , gcc-help@gcc.gnu.org Date: Sat, 24 Sep 2022 13:13:05 +0800 In-Reply-To: References: <51543dff-d479-5e6e-e046-46ce9e64c354@126.com> <90f24cd806655b052a2d1ac190e6b2ed53fbbfce.camel@xry111.site> Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable User-Agent: Evolution 3.46.0 MIME-Version: 1.0 X-Spam-Status: No, score=-1.8 required=5.0 tests=BAYES_00,DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FROM_SUSPICIOUS_NTLD,LIKELY_SPAM_FROM,SPF_HELO_PASS,SPF_PASS,TXREP,T_PDS_OTHER_BAD_TLD autolearn=no autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on server2.sourceware.org List-Id: On Fri, 2022-09-23 at 23:11 +0200, mizo 91 wrote: > > From GNU assembler manual: > >=20 > > =C2=A0 =C2=A0 -I dir > > =C2=A0 =C2=A0 =C2=A0 Add directory dir to the search list for ".include= " > > directives. > >=20 > > So -I flags may be for preprocessor, or for assembler. > =C2=A0 > I'm not calling the assembler. Im calling gcc. Check what gcc manual > have to say about it. The problem is it's common to use "gcc -c foo.s" instead of "as foo.s -o foo.o" in the building system of the packages. It can ensure the assembler used for both C files and assembly files the same one. If you suddenly stop to pass -I options to the assembler, you can break the building process of existing packages. --=20 Xi Ruoyao School of Aerospace Science and Technology, Xidian University