![]() |
|
|
|
|
|||||||
| Forums | Portal | Register | Forum Rules | FAQ | Contribute | Members List | Arcade | Search | Today's Posts | Mark Forums Read |
| High Level Programming Post questions about C, C++, Java, SQL, and other programming languages here. |
|
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| Learning Oracle ADF: A Beginner's Story | iBot | Oracle Updates (RSS) | 0 | 04-06-2008 02:10 AM |
| What's wrong here? (Beginner's script) | pallak7 | Shell Programming and Scripting | 2 | 02-16-2008 11:45 AM |
| problem with dd command or maybe AFS problem | Anta | Shell Programming and Scripting | 0 | 08-25-2006 07:10 AM |
| SSH Problem auth problem | budrito | UNIX for Advanced & Expert Users | 1 | 03-17-2004 07:12 AM |
|
|
Submit Tools | LinkBack | Thread Tools | Search this Thread | Display Modes |
|
#1
|
|||
|
|||
|
A beginner's problem
Hi,
I'm a beginner to study linux program, I know use gcc can link one *.c file to a exe file, but how to link different source files(*.c) to a exe at once. AnyBody know and tell me, thanks. |
| Forum Sponsor | ||
|
|
|
#2
|
||||
|
||||
|
Have a look at this link.
Compiling "C" And "C++" Programs On Unix Systems - gcc/g++ There are other links as well in the FAQ section. Look at Unix Tutorials/Programming Tutorials/Shell Scripting Tutorials |
|
#3
|
||||
|
||||
|
If you have a large project with multiple source files, you should write a makefile. Check our FAQ section here. Here you will find several useful links. Check the "Automating Program Compilation - Writing Makefiles" link.
|
||||
| Google The UNIX and Linux Forums |