MingGW C++ compiler does not work -
i trying install c , c++ compiler on windows 8. have installed mingw, downloaded , installed mingw32-base , mingw32-gcc-g++ packages , other required packages, added user environmet path string "c:\mingw\bin", , tried following guide
http://www.mingw.org/wiki/getting_started
so after installation created new file named "fstab" containing "c:\mingw /mingw" in c:\mingw\msys\1.0\etc because present file named "fstab.sample".
after typed on cmd : gcc sample.cpp -o sample.exe , doesn't work @ returning me error: gcc: fatal error: no input files compilation terminated
but if typed gcc --version gives me gcc 4.9.3 etc... packages installed can't compile of programs
are in correct directory in cmd when compiling?
you can navigate correct 1 cd , check if .cpp there ls
Comments
Post a Comment