Hello,
i did my first Steps with C++ on Linux and used g++ for compilation and linking.
Now i want to compile same of my first projects on Windows.
Can you please tell my what compiler i can use on Windows?
I don't need on IDE. I only need a Compiler and Linker.
Regards Christian
I don't need on IDE. I only need a Compiler and Linker.
Now that's what I like to hear!
You can go on using g++ from the command window in Windows in exactly the same way as you would do in linux. A good source is http://mingw-w64.org/doku.php
Even if you don’t like IDEs, if you use Notepad++ to program in different languages, if you haven’t tryied it yet, you really should give the NppExec plugin a chance. It would save you a lot of time.
if you use Notepad++ to program in different languages
I don't.
I have, for a very long time, used THE (The Hesseling Editor): http://hessling-editor.sourceforge.net/doc/misc/quickref.html#QUICKREFERENCEFORTHE http://hessling-editor.sourceforge.net/index.html
(Follow the downloads link and expand the "Files" tab; v3.3beta3 was the last for Windows.)
I use a non-standard profile file to make it look like IBM's VM/CMS text editor XEDIT (with which, many years ago, I did some serious programming on an IBM mainframe). It has some very powerful scripted editing facilities, and means that I stay entirely within a command window instead of launching any Windows app.
Oh, I've used many Windows editors, @Enoizat, including Windows notepad, Notepad++, and even a vim port for Windows(!) (mainly to retain my skills on unix). However, for my own programming, I prefer THE.
Anyway, the original poster wanted a compiler/linker suggestion and any of those suggested:
mingw-w64.org
msys2
nuwen
would be fine.
I use cygwin's g++ which with a path edit in windows will not only give you G++ at the command line but all the major unix tools like grep will tag along with it if you install those parts.