Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place! |
| Notices |
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
Are you new to LinuxQuestions.org? Visit the following links:
Site Howto |
Site FAQ |
Sitemap |
Register Now
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
 |
GNU/Linux Basic Guide
This 255-page guide will provide you with the keys to understand the philosophy of free software, teach you how to use and handle it, and give you the tools required to move easily in the world of GNU/Linux. Many users and administrators will be taking their first steps with this GNU/Linux Basic guide and it will show you how to approach and solve the problems you encounter.
Click Here to receive this Complete Guide absolutely free. |
|
 |
05-17-2010, 05:37 AM
|
#1
|
|
Member
Registered: May 2008
Posts: 46
Rep:
|
HOWTO compile big project
Hi,
I need to compile a big project in Linux. I understand
1. there should be one porject folder with a "Master Makefile" which contains names of all sub-folders.
2. Each sub-folder itself will have a Makefile , one C-file if needed one header file.
3. There will be a common folder for all headers.
Please tell me Where to start from : Master Make file , Make file inside each folder , Where do rules.make come into picture , what if sub-folder 1 depends on sub-folder 2 .
Is there any HOWTO learning link.
Can any one please give me some idea/example in this regard.
Please guide me...
Thnks
Last edited by Niraj Kulkarni; 05-17-2010 at 05:39 AM.
Reason: typo mistake
|
|
|
|
05-17-2010, 05:43 AM
|
#2
|
|
Member
Registered: May 2010
Location: India
Distribution: Ubuntu 7.04/8.04/8.10/10.04, RHEL 6, OpenSUSE,Mandriva,Fedora, CentOS, XandrOS, Slackware, OpenSolar
Posts: 155
Rep:
|
|
|
|
|
05-17-2010, 07:08 AM
|
#3
|
|
Senior Member
Registered: Jan 2005
Location: USA and Italy
Distribution: Debian Testing; OpenSuSE 12.1; Fedora 17
Posts: 1,541
Rep: 
|
Check out the man pages for aclocal, autoconf, and automake.
|
|
|
|
05-17-2010, 08:56 AM
|
#4
|
|
LQ Newbie
Registered: Apr 2010
Posts: 10
Rep:
|
Use CMake, it's much, much easier to use.
|
|
|
|
05-17-2010, 09:21 AM
|
#5
|
|
Member
Registered: May 2008
Posts: 46
Original Poster
Rep:
|
Thanks a lot.
But I want to make my own system/project. In the link : http://www.wikihow.com/Build-a-Typical-Linux-Project
is a method for compliing a pre-decided structure (like I have installed ip-messnger , ./configure->make-> make install ). Not Self written.
Or do you with that as a base I should write/build my project.
Regards
|
|
|
|
05-22-2010, 03:57 AM
|
#6
|
|
LQ 5k Club
Registered: Jan 2008
Location: Copenhagen, DK
Distribution: pclos2012.8, Slack1337 DebSqueeze, +50+ other Linux OS, for test only.
Posts: 11,583
|
|
|
|
|
| Thread Tools |
Search this Thread |
|
|
|
Posting Rules
|
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is Off
|
|
|
All times are GMT -5. The time now is 05:44 AM.
|
|
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.
|
Latest Threads
LQ News
|
|