Continue to Site

Welcome to EDAboard.com

Welcome to our site! EDAboard.com is an international Electronics Discussion Forum focused on EDA software, circuits, schematics, books, theory, papers, asic, pld, 8051, DSP, Network, RF, Analog Design, PCB, Service Manuals... and a whole lot more! To participate you need to register. Registration is free. Click here to register now.

How to Comiple Multiple C source files in Linux

Status
Not open for further replies.

H_D_R

Full Member level 6
Joined
Jan 31, 2008
Messages
329
Helped
26
Reputation
52
Reaction score
9
Trophy points
18
Location
India
Activity points
0
c++ multiple source files linux

Hello all,

i want to compile multiple C source files in Linux.
i am using Cent OS 5.0.

can any one please tell me how can i compile Multiple source files of C on linux.

please tell me that also how can i do same compilation process on linux using C++ files.
 

This tutorial might help you **broken link removed**
 

hi

$ gcc file1.c file2.c -o execute.out

enjoy
 

    H_D_R

    Points: 2
    Helpful Answer Positive Rating
If you are unable to understand the make files and the compilation process. You can use Eclipse IDE to get things done for you.

1. Download Eclipse IDE, from https://www.eclipse.org/downloads/
2. Extract the file... it does not require any installation.
3. Run Eclipse, make a new project.
4. Import all your source files using Import>Existing File system....
5. Build the project, and eclipse will create its own make files and u will get your source compiled.'

If you are using some extra libraries.. do let me know i will tell you how to mention about them in the include and load paths..

Hope that helps.
Cheers!
 

thank you to you all for your reply..

BTW, i have got solution of this problem but new problem occured.
can any one please help me to solve it.
it is posted @ following link.

-->>

Once agian Thank you to all...!!!:D :D :D
 

Status
Not open for further replies.

Similar threads

Part and Inventory Search

Welcome to EDABoard.com

Sponsor

Back
Top