This is the mail archive of the cygwin mailing list for the Cygwin 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] |
Hi All, I'm having a strange problem with gfortran here. I am trying to run a simple configure program, but it chokes on the fortran compilation. The test program it uses is very simple: $ cat testp.f program testf write(6,*) 'testing a Fortran program' end program testf It is being compiled with: $ gfortran -O0 -fno-second-underscore -o testp testp.f and it generates the executable "testp.exe": $ ./testp testing a Fortran program The problem comes in the testing. If I try to redirect this output to pretty much anything, I get nothing: $ ./testp | /bin/grep Fortran $ (It returns nothing.) I also tried changing the compiler options to remove the -fno-second-underscore or the -O0 options, with no changes. The same happens if I try to redirect the output to a file, or try to tee the output: to a file, i.e., in both cases I only get empty files: $ ./testp >& testp.out $ cat testp.out $ or $ ./testp 2>&1 | tee testp.out $ cat testp.out $ I attached the output of cygcheck -s -v -r in this message. Here are some more details about the gfortran version being used: $ gfortran --version GNU Fortran (GCC) 4.3.2 20080827 (beta) 2 Copyright (C) 2008 Free Software Foundation, Inc. GNU Fortran comes with NO WARRANTY, to the extent permitted by law. You may redistribute copies of GNU Fortran under the terms of the GNU General Public License. For more information about these matters, see the file named COPYING $ gfortran -v Using built-in specs. Target: i686-pc-cygwin Configured with: /gnu/gcc/package/gcc4-4.3.2-2/src/gcc-4.3.2/configure --srcdir=/gnu/gcc/package/gcc4-4.3.2-2/src/gcc-4.3.2 --prefix=/usr --exec-prefix=/usr --bindir=/usr/bin --sbindir=/usr/sbin --libexecdir=/usr/sbin --datadir=/usr/share --localstatedir=/var --sysconfdir=/etc --infodir=/usr/share/info --mandir=/usr/share/man --datadir=/usr/share --infodir=/usr/share/info --mandir=/usr/share/man -v --with-gmp=/usr --with-mpfr=/usr --enable-bootstrap --enable-version-specific-runtime-libs --with-slibdir=/usr/bin --libexecdir=/usr/lib --enable-static --enable-shared --enable-shared-libgcc --enable-__cxa_atexit --with-gnu-ld --with-gnu-as --with-dwarf2 --disable-sjlj-exceptions --enable-languages=ada,c,c++,fortran,java,objc,obj-c++ --disable-symvers --enable-libjava --program-suffix=-4 --enable-libgomp --enable-libssp --enable-libada --enable-threads=posix AS=/opt/gcc-tools/bin/as.exe AS_FOR_TARGET=/opt/gcc-tools/bin/as.exe LD=/opt/gcc-tools/bin/ld.exe LD_FOR_TARGET=/opt/gcc-tools/bin/ld.exe Thread model: posix gcc version 4.3.2 20080827 (beta) 2 (GCC) Gustavo Seabra Postdoctoral Associate Quantum Theory Project - University of Florida Gainesville - Florida - USA ------------------------------------------------------------------------------------------- Q: Why do mountain climbers rope themselves together? A: To prevent the sensible ones from going home.
Attachment:
cygcheck.out
Description: Binary data
-- Unsubscribe info: http://cygwin.com/ml/#unsubscribe-simple Problem reports: http://cygwin.com/problems.html Documentation: http://cygwin.com/docs.html FAQ: http://cygwin.com/faq/
Index Nav: | [Date Index] [Subject Index] [Author Index] [Thread Index] | |
---|---|---|
Message Nav: | [Date Prev] [Date Next] | [Thread Prev] [Thread Next] |