On 8/27/05, neo...@fu... <neo...@fu...> wrote:
> Whenever I attempt to compile a .cpp, even a single, self-contained .cpp =
file, I get this in the compiler log:
> Compiler: Default compiler
> Executing g++.exe...
> g++.exe "foo.cpp" -o "foo.exe"
> Execution terminated
What's it doing executing? I don't understand that.
> I'm on Windows XP, though I've recently. How can I fix this? Am I doing s=
omething wrong? I've used other compilers before without issue on other mac=
hines... but I'm looking for one to work on for personal projects.
Want to know a big secret? GCC is really one of the better C/C++
compilers around. My dad, whose a defense contractor for the US DoD,
when they have something that they either can't get to run fast enough
on their expensive Microsoft and Borland compilers, use the G++, and
usually get far better performance and reliability. G++ is really
nice in that it's free, the best there is, and is so scalable that
it'll work like a charm for everything from helloworld.c to
missle_defense_algorithm.cpp and everything in between.
As for your error, to me it sounds like you made files but no project.
DevC++ is odd in this manner. When you create a project, it keeps a
list of all the files it needs to send during compile. If you're not
developing with a project, you need to make one and add the files to
it. However, you were really vauge, so I could very easily be miles
from the truth of your problem. Good luck though!
|