|
From: Earnie B. <ear...@ya...> - 2003-05-01 18:04:59
|
Axel R. wrote: > Hi all ! > I would like to display the version number of gcc. > But : > sh-2.04$ gcc --version > gcc.exe: no input files > sh-2.04$ gcc -v > gcc.exe: no input files > sh-2.04$ gcc --v > gcc.exe: no input files > sh-2.04$ gcc --V > gcc.exe: no input files > > how to do this ? > > It's work in the MS-DOS shell, but not in the mingw shell... > Works for me!! BoydE@QWEST-WKCH1I7I3 ~ $ gcc -v Reading specs from c:/mnt/opt/mingw/bin/../lib/gcc-lib/mingw32/3.2.1/specs Configured with: ../gcc/configure --with-gcc --with-gnu-ld --with-gnu-as --host=mingw32 --target=mingw32 --prefix=/mingw --enable-threads --disable-nls --enable-languages=c,c++,f77,objc --disable-win32-registry --disable-shared --enable-sjlj-exceptions Thread model: win32 gcc version 3.2.1 (MinGW special 20021202-2) BoydE@QWEST-WKCH1I7I3 ~ $ gcc --version gcc.exe (GCC) 3.2.1 (MinGW special 20021202-2) Copyright (C) 2002 Free Software Foundation, Inc. This is free software; see the source for copying conditions. There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. What is the output of ``type -a gcc''? Earnie. |