[prev in list] [next in list] [prev in thread] [next in thread] 

List:       gcc-fortran
Subject:    RE: Is my gfortran linking to alternative Msys locations?
From:       Kit Dean <kitdean () msn ! com>
Date:       2012-07-24 13:38:52
Message-ID: BLU165-W644A776224720D7E7912B3BDDC0 () phx ! gbl
[Download RAW message or body]




From: kitdean@msn.com
To: fortran@gcc.gnu.org
Subject: Is my gfortran linking to alternative Msys locations?
Date: Tue, 24 Jul 2012 13:25:26 +0000
Greetings,
I am having difficulty getting gfortran to complete a compilation on simple programs \
on WindowsXP, such as convert.for which converts Fahrenheit to Celsius. It appears \
that a clean isolated install of gfortran in C:\Program Files\gfortran\bin will still \
cause the underlying dependent processes to wander off to use files installed under \
Msys or MinGW as shown in the following reporting: C:\Documents and \
Settings\Owner\Desktop\ProgramsForSynFortran>"C:\Program \
Files\gfortran\bin\gfortran.exe" -o executable convert.F90 c:/program \
files/gfortran/bin/../lib/gcc/i586-pc-mingw32/4.5.0/../../../crt2.o:crt1.c:(.text+0x37): \
undefined reference to `__cpu_features_init' c:/program \
files/gfortran/bin/../lib/gcc/i586-pc-mingw32/4.5.0/../../../crt2.o:crt1.c:(.text+0x89): \
undefined reference to `_pei386_runtime_relocator' c:/program \
files/gfortran/bin/../lib/gcc/i586-pc-mingw32/4.5.0/../../../libgfortran.a(unix.o): \
In function `_gthread_mutex_lock': \
C:\msys\home\FX\gfortran\ibin\i586-pc-mingw32\libgfortran/../../../gcc-trunk/libgfortran/../gcc/gthr-win32.h:641: \
undefined reference to `_CRT_MT' c:/program \
files/gfortran/bin/../lib/gcc/i586-pc-mingw32/4.5.0/../../../libgfortran.a(unix.o): \
In function `_gthread_mutex_unlock': \
C:\msys\home\FX\gfortran\ibin\i586-pc-mingw32\libgfortran/../../../gcc-trunk/libgfortran/../gcc/gthr-win32.h:675: \
undefined reference to `_CRT_MT' c:/program \
files/gfortran/bin/../lib/gcc/i586-pc-mingw32/4.5.0/../../../libgfortran.a(unix.o): \
In function `_gthread_mutex_trylock': \
C:\msys\home\FX\gfortran\ibin\i586-pc-mingw32\libgfortran/../../../gcc-trunk/libgfortran/../gcc/gthr-win32.h:662: \
undefined reference to `_CRT_MT' c:/program \
files/gfortran/bin/../lib/gcc/i586-pc-mingw32/4.5.0/../../../libgfortran.a(unix.o): \
In function `_gthread_mutex_unlock': \
C:\msys\home\FX\gfortran\ibin\i586-pc-mingw32\libgfortran/../../../gcc-trunk/libgfortran/../gcc/gthr-win32.h:675: \
undefined reference to `_CRT_MT' c:/program \
files/gfortran/bin/../lib/gcc/i586-pc-mingw32/4.5.0/../../../libgfortran.a(unix.o): \
In function `_gthread_mutex_lock': \
C:\msys\home\FX\gfortran\ibin\i586-pc-mingw32\libgfortran/../../../gcc-trunk/libgfortran/../gcc/gthr-win32.h:641: \
undefined reference to `_CRT_MT' c:/program \
files/gfortran/bin/../lib/gcc/i586-pc-mingw32/4.5.0/../../../libgfortran.a(unix.o):C:\ \
msys\home\FX\gfortran\ibin\i586-pc-mingw32\libgfortran/../../../gcc-trunk/libgfortran/..
                
/gcc/gthr-win32.h:641: more undefined references to `_CRT_MT' follow
ertr000001.o:(.rdata+0x0): undefined reference to `_pei386_runtime_relocator'
collect2: ld returned 1 exit status
{When I use gfortran under minGW itself, I get a reduced set of errors, (four: the \
first two and the last in the list above)}.  Is there a way to control the path \
choices internal to the compiler so that I can get a successful compile? Thank you \
for any suggestions you may have. Kit 		 	   		  


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic