How to link two C files in linux

Reply

Join Date: Nov 2008
Posts: 6
Reputation: aamresh1 is an unknown quantity at this point 
Solved Threads: 0
aamresh1 aamresh1 is offline Offline
Newbie Poster

How to link two C files in linux

 
0
  #1
Nov 28th, 2008
Can anybody please let me know the command to link two C files in Linux platform during compilation.


Thanks,
Amresh
Reply With Quote Quick reply to this message  
Join Date: Dec 2005
Posts: 5,851
Reputation: Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute Salem has a reputation beyond repute 
Solved Threads: 749
Team Colleague
Salem's Avatar
Salem Salem is offline Offline
Void main'ers are DOOMed

Re: How to link two C files in linux

 
0
  #2
Nov 28th, 2008
gcc file1.c file2.c
Simple
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the C Forum
Thread Tools Search this Thread



About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC