This is the mail archive of the
gcc-bugs@gcc.gnu.org
mailing list for the GCC project.
[Bug fortran/38467] gfortran builds programs which don't run on Vista
- From: "marbertone at gmail dot com" <gcc-bugzilla at gcc dot gnu dot org>
- To: gcc-bugs at gcc dot gnu dot org
- Date: 11 Dec 2008 23:37:14 -0000
- Subject: [Bug fortran/38467] gfortran builds programs which don't run on Vista
- References: <bug-38467-17048@http.gcc.gnu.org/bugzilla/>
- Reply-to: gcc-bugzilla at gcc dot gnu dot org
------- 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