From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 27826 invoked by alias); 31 Mar 2008 07:25:22 -0000 Received: (qmail 27806 invoked by uid 22791); 31 Mar 2008 07:25:21 -0000 X-Spam-Check-By: sourceware.org Received: from mail17.syd.optusnet.com.au (HELO mail17.syd.optusnet.com.au) (211.29.132.198) by sourceware.org (qpsmtpd/0.31) with ESMTP; Mon, 31 Mar 2008 07:24:49 +0000 Received: from desktop2 ([203.202.164.190]) by mail17.syd.optusnet.com.au (8.13.1/8.13.1) with SMTP id m2V7OOWp032677; Mon, 31 Mar 2008 18:24:28 +1100 Message-ID: <6CC8005619174DB7AAD6125D19B0DECF@desktop2> From: "Sisyphus" To: "NightStrike" Cc: References: <085501c88d16$4eeb9cc0$6401a8c0@freemanwrwu5by> <47E6C61A.1000102@myrealbox.com> In-Reply-To: Subject: Re: gcc for windows Date: Mon, 31 Mar 2008 07:25:00 -0000 MIME-Version: 1.0 Content-Type: text/plain; format=flowed; charset="iso-8859-1"; reply-type=original Content-Transfer-Encoding: 7bit X-Mailer: Microsoft Windows Mail 6.0.6000.20661 X-IsSubscribed: yes Mailing-List: contact gcc-help-help@gcc.gnu.org; run by ezmlm Precedence: bulk List-Id: List-Archive: List-Post: List-Help: Sender: gcc-help-owner@gcc.gnu.org X-SW-Source: 2008-03/txt/msg00322.txt.bz2 ----- Original Message ----- . . >> C:\_64\C>type try.c >> #include >> int main() { >> printf("hello world\n"); >> return 0; >> } >> >> C:\_64\C>x86_64-pc-mingw32-gcc -o try.exe try.c >> x86_64-pc-mingw32-gcc: CreateProcess: No such file or directory > > This issue was fixed so that access() is always properly handled. I removed my existing installations of mingw64 (none of which worked, anyway). And I downloaded mingw-w64-bin-x86_64-mingw_20080320.tar.bz2 from http://sourceforge.net/project/showfiles.php?group_id=202880&package_id=245516&release_id=546049 . I'm on an AMD64 box - I think that was binary I was supposed to grab. (Please let me know if I've gone off and found the wrong file.) I unpacked that tarball to C:\_64\mingw64 and prepended C:\_64\mingw64\bin to my path. The following looks right to me: ------------------------------------ C:\_64\C>gcc -v Using built-in specs. Target: x86_64-pc-mingw32 Configured with: ../gcc/configure --target=x86_64-pc-mingw32 --prefix=/tmp/win64 root --with-sysroot=/tmp/win64root --host=x86_64-pc-mingw32 --disable-nls --with -gmp=/tmp/mathwin64 --with-mpfr=/tmp/mathwin64 Thread model: win32 gcc version 4.4.0 20080320 (experimental) (GCC) ------------------------------------ Unfortunately, trying to build my 'hello' program still fails in exactly the same way as before. ------------------------------------ C:\_64\C>gcc -o try.exe try.c gcc: CreateProcess: No such file or directory ------------------------------------ If that's not the access() problem, then it must be something else :-) I'll try googling that error and chasing it down - though I'm anticipating it will be a wild goose chase. Any advice on things to try will be gratefully accepted. Thanks for the link, NightStrike - it was worth a shot. (And, I might even have some success, yet, if I persevere.) Cheers, Rob