[Bug fortran/38467] gfortran builds programs which don't run on Vista
dfranke at gcc dot gnu dot org
gcc-bugzilla@gcc.gnu.org
Thu Dec 11 22:59:00 GMT 2008
------- Comment #3 from dfranke at gcc dot gnu dot org 2008-12-11 22:58 -------
> 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?
$> cat ftest.f90
print *, "fortran works"
end
$> gfortran ftest.f90 -o ftest && ./ftest
What's the result here?
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
More information about the Gcc-bugs
mailing list