![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Highly Adaptive Penguin
Join Date: May 2005
Location: United States
Posts: 252
Rep Power: 4
![]() |
C++ compiler
Does anyone know where I could find a C/C++ compiler that can take a .cpp file and output a binary file?
brent |
|
|
|
|
|
#2 |
|
Battle Programmer
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 773
Rep Power: 3
![]() |
Search the C++ forum. This topic comes up often enough. I'm assuming of course that by binary file you mean an executable.
|
|
|
|
|
|
#3 |
|
Expert Programmer
|
Linux: Check out gcc or g++
Windows: Check out Mingw, BCC, VC++
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
|
|
#4 |
|
Highly Adaptive Penguin
Join Date: May 2005
Location: United States
Posts: 252
Rep Power: 4
![]() |
@jimbo
no, I meant a .bin file |
|
|
|
|
|
#5 |
|
Professional Programmer
|
why would you want a binary file that you can't execute?
|
|
|
|
|
|
#6 |
|
Battle Programmer
Join Date: Feb 2006
Location: Bellevue, WA, USA
Posts: 773
Rep Power: 3
![]() |
Isn't .bin for a CD/DVD image? How does that relate to a .cpp?
![]() |
|
|
|
|
|
#7 |
|
Programming Guru
![]() Join Date: Jun 2005
Location: elemental plane
Posts: 1,429
Rep Power: 5
![]() |
You can do that with the G++. I don't remember the parms.
__________________
"Employ your time in improving yourself by other men's writings, so that you shall gain easily what others have labored hard for." -- Socrates |
|
|
|
|
|
#8 | |
|
Professional Programmer
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 380
Rep Power: 3
![]() |
Quote:
__________________
I am Addicted to Linux! |
|
|
|
|
|
|
#9 |
|
Highly Adaptive Penguin
Join Date: May 2005
Location: United States
Posts: 252
Rep Power: 4
![]() |
I forgot to mention that im running a windows machine, so I dont think G++ will work
|
|
|
|
|
|
#10 |
|
Professional Programmer
Join Date: Jan 2006
Location: Ontario, Canada
Posts: 380
Rep Power: 3
![]() |
Well if you're using windows, why do you want compile it to a binary, wouldn't you rather have it compile to a .exe?
__________________
I am Addicted to Linux! |
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|