Dev-Cpp
Dev-Cpp copied to clipboard
Compiling like Dev C++ on
trafficstars
I'm on a Linux computer and I can't install Windows on this machine. What flags should I add to compile a simple C project on GCC that emulates the process of this IDE?
Processing makefile...
- Makefile Processor: C:\Dev-Cpp\TDM-GCC-64\bin\mingw32-make.exe
- Command: mingw32-make.exe -j8 -f "C:\Users\Anonymous\Documents\Makefile.win" all
g++.exe -c main.cpp -o main.o -I"C:/Dev-Cpp/TDM-GCC-64/include" -I"C:/Dev-Cpp/TDM-GCC-64/x86_64-w64-mingw32/include" -I"C:/Dev-Cpp/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/9.2.0/include" -I"C:/Dev-Cpp/TDM-GCC-64/lib/gcc/x86_64-w64-mingw32/9.2.0/include/c++"
g++.exe main.o -o Project1.exe -L"C:/Dev-Cpp/TDM-GCC-64/lib" -L"C:/Dev-Cpp/TDM-GCC-64/x86_64-w64-mingw32/lib" -static-libgcc -mwindows