C:\Work>gcc -v
Built by Equation Solution <
http://www.Equation.com>.Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=c:/divnative/64bit/gcc/bin/../libexec/gcc/i686-pc-mingw32/5.
1.0/lto-wrapper.exe
Target: i686-pc-mingw32
Configured with: ../gcc-5.1.0-mingw/configure --host=i686-pc-mingw32 --build=x86
_64-unknown-linux-gnu --target=i686-pc-mingw32 --prefix=/home/gfortran/gcc-home/
binary/mingw32/native/x86_32/gcc/5.1.0 --with-gcc --with-gnu-as --with-gnu-ld --
with-cloog=/home/gfortran/gcc-home/binary/mingw32/native/x86_32/cloog --with-gmp
=/home/gfortran/gcc-home/binary/mingw32/native/x86_32/gmp --with-mpfr=/home/gfor
tran/gcc-home/binary/mingw32/native/x86_32/mpfr --with-mpc=/home/gfortran/gcc-ho
me/binary/mingw32/native/x86_32/mpc --with-isl=/home/gfortran/gcc-home/binary/mi
ngw32/native/x86_32/isl --enable-cloog-backend=isl --with-sysroot=/home/gfortran
/gcc-home/binary/mingw32/cross/x86_32/gcc/5-20150308 --disable-shared --disable-
nls --disable-tls --disable-libgcc2 --disable-win32-registry --enable-build-with
-cxx --enable-libquadmath-support --enable-libquadmath --enable-languages=c,c++,
fortran --disable-checking --enable-libgomp --enable-threads=win32 --enable-lto
--enable-static --enable-shared=lto-plugin --enable-sjlj-exceptions --enable-plu
gins --enable-ld=yes
Thread model: win32
gcc version 5.1.0 (GCC)
C:\Work>type gtc.c
#include <stdio.h>
#include <windows.h>
int main()
{
int v;
v = GetTickCount();
printf("%d\n", v);
return 0;
}
C:\Work>gcc gtc.c -o gtc.exe
C:\Work>gtc
2727989