This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gcc for windows


On 3/30/08, Sisyphus <sisyphus1@optusnet.com.au> wrote:
>
> ----- Original Message -----
> From: "Tim Prince" <tprince@myrealbox.com>
> .
> .
> > 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 <stdio.h>
> 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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]