This is the mail archive of the gcc-bugs@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]

[Bug fortran/38467] gfortran builds programs which don't run on Vista



------- Comment #5 from marbertone at gmail dot com  2008-12-11 23:37 -------
(In reply to comment #4)
> Add '.exe' to above command lines as you see fit :)

(In reply to comment #3)
> > a) GNU Fortran (GCC) 4.4.0 20080603 (experimental) [trunk revision 136333]
> Ok, but where did you get it from? Compiled from sources, binary package from
> GFortran wiki, something else?
> > b) it doesn't matter, any code, trust me.
> Please try:
> $> cat ctest.c
> #include <stdio.h>
> int main() {
>   printf("C works\n");
>   return 0;
> }
> $> gcc ctest.c -o ctest && ./ctest
> What's the result here?

it works perfectly

> $> cat ftest.f90
>   print *, "fortran works"
> end
> $> gfortran ftest.f90 -o ftest && ./ftest
> What's the result here?

the same as before. , a windows dialog box: "invalid Win32 application". It's a
true pity cause I need it to work on my laptop when I don't have internet....
:(

> If neither test works, it's not fortran related. If both tests work, the
> problem is on your side. If either one works but not the other, uhoh.


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38467


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