Go4Expert

Go4Expert (http://www.go4expert.com/)
-   C (http://www.go4expert.com/forums/c/)
-   -   Compiling (http://www.go4expert.com/forums/compiling-t13957/)

Vip3r 17Sep2008 03:51

Compiling
 
Hi, how do you compile something when it comes in multiple files. Like it has a bunch of other folders and in them it has source files, and header files etc... How do you compile all of them together. The whole thing is a IRC bot, with lots of functions, but i just dont know how to compile all of the things together. Please help. Thanks.

oogabooga 17Sep2008 06:07

Re: Compiling
 
Multi-file compilation is achieved by compiling each code file separately into "object" files.
The object files (and subroutines from library files) are then linked into a complete
executable.

Usually a source distribution will contain a "makefile". It may also contain the project file
for the IDE it was created in. Either of those should help you out.

Put up the link to the source code if you want more specific help.


All times are GMT +5.5. The time now is 20:33.