473,386 Members | 1,873 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.

problem with creating .exe file with multiple cpp files

hi all,

i am relatively new to C++ programming.

i downloaded a program from sourceforge and edited some of its cpp files, i was told that by changing the Makefile i will be able to create a .exe file with the combination of multiple .cpp, .h and .o files.

may i know how to go about changing the values of the Makefile?

please find attached documents as the Makefile of the program i downloaded.

please help and advise
Attached Files
File Type: zip Makefile.in.zip (9.3 KB, 79 views)
Jun 9 '09 #1
2 2336
JosAH
11,448 Expert 8TB
@calvinLYP
That's a linker job: a compiler compiles source files and generates object files. A linker reads a bunch of object files (and libraries), links them and generates an executable file. There are no source file or header files in that executable file.

Header files tell the compiler what functions and data are stored in other object files. Those object files were once compiled (and most likely put in a library, ready to be linked by the linker).

The 'make' program (or whatever its name is) reads a makefile and automates the entire process of compilation and linkage.

kind regards,

Jos
Jun 9 '09 #2
@JosAH
hi Jos,

is it to say that once i re-make the package again it will regenerate the new .exe file?

as in
1. /configure'

2. `make'

3. Type `make install' to install the programs and any data files and
documentation.

is it?
Jun 9 '09 #3

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

Similar topics

1
by: Primo | last post by:
Hello, I am building a data management application with the following processes: Process 1 is a Windows service which uses FileSystemWatcher to monitor a directory. Process 2 opens a file...
0
by: shawn | last post by:
Hi - I am trying to save a file from one server to another. Both are on the same network. When I attempt the operation, I get the following: There is a time and/or date difference between...
1
by: Dror Hershkovitz. | last post by:
Hello, I'm compiling an .exe file on VS2005 under C++ without framework support. For some reason, when I look at the properties of the .exe file there is no version tab although the project does...
1
by: mridulmurari | last post by:
Hey. I need help with a certain problem I'm facing in VB6. I need to display the contents of multiple items in a listview. The situation is this : Everytime i double-click on an item in a...
0
by: swarda | last post by:
Hi all I m facing problem in attaching multiple files. I have used FileUpload control in visual studio 2005 . So i want to attach more thn one file with the same FileUpload control.Please help...
0
by: lyne_asp | last post by:
Hello Everbody, I am new in .Net and I'm using c#. I have problem in uploading multiple files in one time. I have here the code that can upload only one file at a time. Please help me to upload...
6
by: anjanaanupindi | last post by:
I have the following problem: My program is supposed to read data from files to an array. The files are numbered: capture.bmp,capture.bmp and so on. And I really don't want to do the same step for so...
1
by: Andrus | last post by:
I need to create assembly at runtime from multiple pre-compiled obj and cs files embedded into resource file. I have found only samples which create assembly from single file like ...
43
by: bonneylake | last post by:
Hey Everyone, Well this is my first time asking a question on here so please forgive me if i post my question in the wrong section. What i am trying to do is upload multiple files like gmail...
4
by: MoroccoIT | last post by:
Greetings - I saw somewhat similar code (pls see link below) that does mupltiple files upload. It works fine, but I wanted to populate the database with the same files that are uploaded to...
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
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.