Results 1 to 8 of 8
Hi People ..
Does anybody know of a good c++ compiler for ubuntu that will compile code intended to run in windows (.exe) .. ??...
Enjoy an ad free experience by logging in. Not a member yet? Register.
- 02-19-2009 #1Just Joined!
- Join Date
- Feb 2009
- Posts
- 4
C++ compiler
Hi People ..
Does anybody know of a good c++ compiler for ubuntu that will compile code intended to run in windows (.exe) .. ??
- 02-19-2009 #2Registered Linux user #270181
TechieMoe's Tech Rants
- 02-19-2009 #3
The GNU Compiler Collection is capable of cross compiling, but you should use its sister project, the MinGW, as it was tuned for Windows development and ships with all necessary header files for WinAPI and whatnot.
MinGW cross compiler for Linux build environment | MinGWDebian GNU/Linux -- You know you want it.
- 02-23-2009 #4
I was asking myself the same question not too long ago and, yes, G++ is what you're gonna need. You can find out about it here. To install it, simply run:
"sudo apt-get install g++"
It's good to see there's other fellow C++ programmers on the board here.
I'm still a bit of a noob though...
- 02-23-2009 #5
C Compiler and other necessary packages required to complie are available in meta-package build-essential.
Code:sudo apt-get clean all sudo apt-get update sudo apt-get install build-essential
It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-23-2009 #6
Hey devils casper, a few questions...
What's a meta package and what is the "build essential" package used for?
What does the "clean all" command do?
- 02-23-2009 #7
sudo apt-get clean all command removes all cached packages and free up Hard disk space.
meta-package contains a list of packages only. If you install any meta package, it will pull all listed packages.
build-essential meta package has list of compilers and packages necessary for compilation.
Another example of meta package is ubuntu-desktop. Its pretty small in size but pull off complete Gnome Desktop Environment.It is amazing what you can accomplish if you do not care who gets the credit.
New Users: Read This First
- 02-23-2009 #8Just Joined!
- Join Date
- Feb 2009
- Posts
- 4
thanks everyone


Reply With Quote

