This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran 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]

x86_64-pc-mingw32


I built a cross compiler and a native compiler for x86_64-pc-mingw32. The cross compiler works. However, the native compiler fails. For example, 

1) First, Gcc can generate .o, but cannot link. The error message, for example, is as follows.
C:\temp\fortran>gcc pig.cc:/temp/iii/x86_64-pc-mingw32/lib64/libmingw32.a: file not recognized: File formatnot recognizedcollect2: ld returned 1 exit status

 2) Secondly, Gfortran does not work any way. The error message, for example, is as:
C:\temp\fortran>gfortran test.f90:0: internal compiler error: Segmentation faultPlease submit a full bug report,with preprocessed source if appropriate.See for instructions.

3) The configuration is as:
C:\temp\fortran>gfortran -vUsing built-in specs.Target: x86_64-pc-mingw32Configured with: ../gcc-4.3-20071130-mingw32/configure --host=x86_64-pc-mingw32--build=x86_64-unknown-linux-gnu --target=x86_64-pc-mingw32--prefix=/home/gfortran/gcc-home/binary/mingw32/native/x86_64/gcc/4.3-20071130--with-gmp=/home/gfortran/gcc-home/binary/mingw32/native/x86_64/gmp--with-mpfr=/home/gfortran/gcc-home/binary/mingw32/native/x86_64/mpfr--with-gcc --with-gnu-ld --with-gnu-as --disable-shared --disable-nls--enable-languages=c,fortran,c++--with-sysroot=/home/gfortran/gcc-home/binary/mingw32/cross/x86_64/gcc/4.3-20071130--enable-threads=win32 --disable-win32-registryThread model: win32gcc version 4.3.0 20071130 (experimental) (GCC) 

 Is it an ABI problem?

Thank you.

_________________________________________________________________
Share life as it happens with the new Windows Live.
http://www.windowslive.com/share.html?ocid=TXT_TAGHM_Wave2_sharelife_122007


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