I am running latest dev-cpp, a clean istall, and when I try to compile
anything, even the default hello world, i get these errors. When I compile the
hello world from command line, everything works fine.Any ideas?
I suspect that you have some other GNU based toolchain installed, and it is
conflicting. When Dev-C++ builds, it stupidly appends the path to its tools to
the PATH environment variable, when it should prepend it to prevent
conflicts with other tools.
One solution is to manually add c:\dev-cpp\bin to the beginning of PATH, but
that may prevent your other tools from working. You can also add the full path
to the tools in the Dev-C++ executables configuration dialog.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I am running latest dev-cpp, a clean istall, and when I try to compile
anything, even the default hello world, i get these errors. When I compile the
hello world from command line, everything works fine.Any ideas?
Compiler: Default compiler
Building Makefile: "C:\Dev-Cpp\Makefile.win"
Executing make...
make.exe -f "C:\Dev-Cpp\Makefile.win" all
g++.exe -c main.cpp -o main.o -I"C:/Dev-
Cpp/lib/gcc/mingw32/3.4.2/include" -I"C:/Dev-
Cpp/include/c++/3.4.2/backward" -I"C:/Dev-
Cpp/include/c++/3.4.2/mingw32" -I"C:/Dev-Cpp/include/c++/3.4.2"
-I"C:/Dev-Cpp/include"
cc1plus: unrecognized option `-auxbase-strip'
cc1plus: output filename specified twice
make.exe: *** Error 1
Execution terminated
I suspect that you have some other GNU based toolchain installed, and it is
conflicting. When Dev-C++ builds, it stupidly appends the path to its tools to
the PATH environment variable, when it should prepend it to prevent
conflicts with other tools.
One solution is to manually add c:\dev-cpp\bin to the beginning of PATH, but
that may prevent your other tools from working. You can also add the full path
to the tools in the Dev-C++ executables configuration dialog.