473,386 Members | 1,743 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

building an exe file for a c++ program.

Hi :

I would like to know weather it's possible for me to build an exe file for a c++ program.
if so, please give it to me in steps.

Thank you
Bagy
Nov 20 '06 #1
6 6460
sivadhas2006
142 100+
Hi,

Can I know which editor you are using for c++?

Regards,
M.Sivadhas.
Nov 20 '06 #2
mohsin
19
Hi,

Can I know which editor you are using for c++?

Regards,
M.Sivadhas.
HI would u like to tell me the name of editor u r using.
Nov 20 '06 #3
sanjay123456
125 100+
Sir ,

If we r using GNU compiler then waht is the procedure to make a exe filw in C++

sanjay
Nov 20 '06 #4
Building an exe file is relatively easy in Turbo C++.
There is an option called Make Exe in the Run Tab.If Not search the tabs to see Make Exe.It is better to build a program before Making the Exe.Also make sure of those bugs.(Platform : Windows).
In Linux things are different and I am not aware of this.If you get to know please do make sure you tip me in.

Best Wishes
Nevin
Nov 20 '06 #5
sivadhas2006
142 100+
Hi Bagy,

Please try this link...
http://gcc.gnu.org/onlinedocs/

To compile the program you can use the following syntax.

Expand|Select|Wrap|Line Numbers
  1. gcc -c <filename_to_compile>
  2.  
Regards,
M.Sivadhas.
Nov 20 '06 #6
horace1
1,510 Expert 1GB
Sir ,

If we r using GNU compiler then waht is the procedure to make a exe filw in C++

sanjay
for a C++ file test.cpp try
g++ test.cpp

the output file is called a.out in Unix or a.exe in windows

if you need to specify the name of the output file
g++ test.cpp -o test.exe

would call the output file test.exe
Nov 20 '06 #7

Sign in to post your reply or Sign up for a free account.

Similar topics

0
by: Slavik | last post by:
All libraries were installed (precompiled) This is FreeBSD 5.1 installed zlib, installed jpeg and png libraries (in default directories) GD 2.0.11 source is in /usr/gd-2.0.11 (compiled and...
0
by: PatchFactory Support | last post by:
Description: Professional and easy-to-use patch building environment that can help you to create instant patch packages for software and file updating. Generated patch packages are small size...
9
by: Zoo Keeper | last post by:
For some reason, the Python preprocessing balks on the "\" line continuation character. Any ideas/thoughts? Is it just that my version of gcc is not supported? I don't "need" numeric in my...
7
by: Hal Vaughan | last post by:
I have a problem with port forwarding and I have been working on it for over 2 weeks with no luck. I have found C programs that almost work and Java programs that almost work, but nothing that...
0
by: Herman Jones | last post by:
I'm getting the following error when I build a Class Library project: Embedding manifest... Project : error PRJ0002 : Error result 1 returned from 'C:\WINDOWS\system32\cmd.exe'. It happens with...
13
by: treble54 | last post by:
I need to build PHP from source with the pdo_ibm extension and I am having an issue with it. Firstly, I am using Visual Studio .NET 2003 and I am building PHP from source through the Visual Studio...
2
by: fabian.conrad | last post by:
Hi,. I am trying to build a multithreaded dll file, as I am new to that sort of things I've followed a tutorial step by step but still can't get things to work. I am using Visual C++ 2005 Express...
4
by: vedrandekovic | last post by:
Hi, I have already install Microsoft visual studio .NET 2003 and MinGw, when I try to build a extension: python my_extension_setup.py build ( or install ) , I get an error: LINK : fatal...
2
by: vedrandekovic | last post by:
Hello, Is there any solution for building exe file from python script something like bbfreeze.When user write some script in my program, it must compile script into exe without opening console...
7
Curtis Rutland
by: Curtis Rutland | last post by:
Building A Silverlight (2.0) Multi-File Uploader All source code is C#. VB.NET source is coming soon. Note: This project requires Visual Studio 2008 SP1 or Visual Web Developer 2008 SP1 and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.