PDA

View Full Version : G++ under windows, is it possible?



StOoZ
June 21st, 2008, 09:13 PM
is there a way to use g++ compiler under windows?? (im using windows 2000).

justinhj
June 21st, 2008, 09:16 PM
Yes, it is possible. I use it to build my windows version of emacs.

g++ and most of the gnu development tools are part of Mingw32

http://www.mingw.org/

Can+~
June 21st, 2008, 09:20 PM
Installing devcpp (http://www.bloodshed.net/dev/devcpp.html) also installs mingw.

cmay
June 21st, 2008, 09:21 PM
hi
dev c++ or wxdev uses gcc / g++ .
its a port of gcc. a cygwin fork.
if i renember correctly.
just renember that the alternative ming runtime is installed also otherwise it will use the microsoft librarires.

forger
June 21st, 2008, 09:21 PM
is there a way to use g++ compiler under windows?? (im using windows 2000).

http://www.google.com/search?q=g++ compiler windows (http://http://www.google.com/search?q=g++ compiler windows)
this might work:
http://www.cmc.edu/math/alee/g++/g++.html

geirha
June 21st, 2008, 09:27 PM
I recommend you try cygwin (http://www.cygwin.com/). It gives you a lot of the utilities you would find in a regular linux system, including g++.

cmay
June 21st, 2008, 09:46 PM
http://www.bloodshed.net/devcpp.html

i forgot make sure the link got on the post also,sorry.
there is a MSYS package on that homepage for download that is t a minimal ming system and has small bash shell as i recollect
and there is a linux version of devc++ also.

the newer wxdevc++ is a rad tool for WXwindows on windows and is updated more often this the org devc++ project here is dead i think.
anyway just wanted to post the link propely.

JupiterV2
June 22nd, 2008, 03:46 PM
I do not recommend you use cygwin or msys (mingw fork of cygwin) if you don't want to require each user of your software to install the cygwin/msys runtimes for your application to work.

Using devcpp (or some other IDE) or just installing mingw and running g++/mingw_make32 from a command line is the better way to go IMO.