From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from foss.arm.com (foss.arm.com [217.140.110.172]) by sourceware.org (Postfix) with ESMTP id D66613858D38 for ; Tue, 20 Sep 2022 16:18:09 +0000 (GMT) DMARC-Filter: OpenDMARC Filter v1.4.1 sourceware.org D66613858D38 Authentication-Results: sourceware.org; dmarc=none (p=none dis=none) header.from=foss.arm.com Authentication-Results: sourceware.org; spf=none smtp.mailfrom=foss.arm.com Received: from usa-sjc-imap-foss1.foss.arm.com (unknown [10.121.207.14]) by usa-sjc-mx-foss1.foss.arm.com (Postfix) with ESMTP id F37A9143D; Tue, 20 Sep 2022 09:18:15 -0700 (PDT) Received: from [10.2.78.73] (unknown [10.2.78.73]) by usa-sjc-imap-foss1.foss.arm.com (Postfix) with ESMTPSA id 078283F5A1; Tue, 20 Sep 2022 09:18:08 -0700 (PDT) Message-ID: Date: Tue, 20 Sep 2022 17:18:07 +0100 MIME-Version: 1.0 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:91.0) Gecko/20100101 Thunderbird/91.11.0 Subject: Re: CreateProcess No such file or directory Content-Language: en-GB To: mizo 91 , gcc-help@gcc.gnu.org References: From: Richard Earnshaw In-Reply-To: Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Status: No, score=-3491.3 required=5.0 tests=BAYES_00,KAM_DMARC_STATUS,KAM_LAZY_DOMAIN_SECURITY,NICE_REPLY_A,SPF_HELO_NONE,SPF_NONE,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: On 20/09/2022 17:02, mizo 91 via Gcc-help wrote: > Hello, > > I'm having trouble compiling simple test program on windows 10 with long > list of includes provided via '@response_file' argument > > The full error is: > > gcc.exe: fatal error: cannot execute > 'C:/Tools/x86_64-12.2.0-release-win32-seh-rt_v10-rev0/mingw64/bin/../lib/gcc/x86_64-w64-mingw32/12.2.0/../../../../x86_64-w64-mingw32/bin/as.exe': > CreateProcess: No such file or directory > > compilation terminated. > > Above path to the assembler program is valid therefore I don't understand > what is the issue here? > > You can try to recreate the problem by compiling simple main.c file with > nothing in it but main function using command: > gcc @includes.txt main.c > > I assume it has something to do with windows 32k CreateProcess command > length limitation? But isn't that the reason why respone files were > invented? > > Regards, > Filip I'm by no means a windows expert, but I wonder if this might be related to the length of the path to the assembler and that it's somehow getting truncated. R.