From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 31714 invoked by alias); 30 Mar 2008 13:31:50 -0000 Received: (qmail 31698 invoked by uid 22791); 30 Mar 2008 13:31:49 -0000 X-Spam-Check-By: sourceware.org Received: from wf-out-1314.google.com (HELO wf-out-1314.google.com) (209.85.200.173) by sourceware.org (qpsmtpd/0.31) with ESMTP; Sun, 30 Mar 2008 13:31:21 +0000 Received: by wf-out-1314.google.com with SMTP id 28so1094167wfc.14 for ; Sun, 30 Mar 2008 06:31:20 -0700 (PDT) Received: by 10.142.237.20 with SMTP id k20mr3036604wfh.228.1206883879824; Sun, 30 Mar 2008 06:31:19 -0700 (PDT) Received: by 10.142.162.18 with HTTP; Sun, 30 Mar 2008 06:31:19 -0700 (PDT) Message-ID: Date: Sun, 30 Mar 2008 13:31:00 -0000 From: NightStrike To: Sisyphus Subject: Re: gcc for windows Cc: "Tim Prince" , "Rodolfo Lima" , gcc-help@gcc.gnu.org In-Reply-To: MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <085501c88d16$4eeb9cc0$6401a8c0@freemanwrwu5by> <47E6C61A.1000102@myrealbox.com> 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/msg00314.txt.bz2 On 3/30/08, Sisyphus wrote: > > ----- Original Message ----- > From: "Tim Prince" > . > . > > The following URL has the most up to date pre-built gnu C and Fortran, > > including 64-bit mingw with support libraries (but no C++): > > http://gcc.gnu.org/wiki/GFortranBinaries > > Unfortunately (for me, anyway) the 64-bit mingw that's available there > doesn't work with Vista. It suffers from the well known access() problem on > Vista. I find it extremely frustrating that there's still no 64-bit gcc > compiler available for Vista 64 users ... but no-one else seems to give a > shit. I know a few people that care, myself included. Go here: http://mingw-w64.sf.net/ The natively hosted gfortran still doesn't work, however, and segfaults on Hello, World (This is not the access() issue... that issue doesn't exist anymore). You have to cross compile it. If you'd like to help fix it, there's a bug open that I wrote for the issue: http://gcc.gnu.org/bugzilla/show_bug.cgi?id=35159 There is a company aclled "EquationWorld" or something like that that figured out how to get a working gfortran compiler, but I'm not quite sure how they did it. I think they did a combination of things, including shutting off all optimization. > 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.