----- Original Message -----
From: "David Lucena" <yakumoklesk@...>
To: "MinGW Users List" <mingw-users@...>
Sent: Tuesday, August 21, 2007 6:34 AM
Subject: Re: [Mingw-users] Vista users: please test the new MSYS snapshot
> --- Sisyphus <sisyphus1@...> escribió:
>> Hi David,
>> Are you actually able to successfully run 'gcc -v' in the MSYS shell
>> Cesar's patched version of the msys dll, mount.exe and ps.exe) ?
>> For some reason running gcc on my installation (apparently) fires up
>> gccbug.exe (even if gccbug.exe has been deleted).
>> Is it just me ... or do you find the same ?
> $ gcc -v
> Using built-in specs.
> Target: mingw32
> Configured with:
> ../gcc-4.2.1-2-src/configure --with-gcc --enable-libgomp --host=mingw32
> --build=mingw32 --target=mingw32 --program-suffix=-sjlj --with-arch=i486 --with-tune=generic
> --disable-werror --prefix=/mingw --with-local-prefix=/mingw --enable-threads
> --enable-languages=c,c++,fortran,objc,obj-c++,ada --disable-win32-registry
> --enable-sjlj-exceptions --enable-libstdcxx-debug --enable-cxx-flags=-fno-function-sections
> -fno-data-sections --enable-version-specific-runtime-libs --disable-bootstrap
> Thread model: win32
> gcc version 4.2.1-sjlj (mingw32-2)
Well ... I finally found out what my problem was.
Somehow, in addition to gcc.exe I have a shell script called gcc in the
Running 'gcc -v' from the cmd shell invokes gcc.exe, but the same command
when run from the msys shell invoked this gcc shell script.
I don't know how that shell script got there. Pity I didn't think to run
'gcc.exe -v' in the msys shell (as that would certainly have led to a quick
resolution of the problem). Pity also that I didn't look a little closer at
what was in the MinGW/bin folder. If 'gcc' had been sitting next to
'gcc.exe' I might have noticed it whilst perusing the contents of the
MinGW/bin folder (and the penny might have dropped) - but unfortunately they
were separated by 'gcc.5' (whatever that is) and 'gcc.dll'.
Anyway, now that I've got rid of 'gcc', all seems well. I've just built
gmp-4.2.1, and mpfr-2.3.0-rc2 is in the process of being built as I write.
Nice job Cesar.