LinuxQuestions.org
Help answer threads with 0 replies.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
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


Reply
  Search this Thread
Old 12-05-2004, 01:20 PM   #1
tuxfood
Member
 
Registered: Aug 2003
Location: kerala , India
Distribution: RH9 , FC1 ,
Posts: 141

Rep: Reputation: 15
why use I. I. adcently while "make"ing


hi..

i was just noticing the output of the make command .. i saw that at many places there were terms like..

-I. -I. and then maybe -L/usr/lib -L/usr/lib (just examples)..

why do we have to include the same thing twice and that to adjancently??

any ideas??

thks

tuxfood
 
Old 12-05-2004, 02:05 PM   #2
Dark_Helmet
Senior Member
 
Registered: Jan 2003
Posts: 2,786

Rep: Reputation: 372Reputation: 372Reputation: 372Reputation: 372
It's part of the automated configure process as far as I know. As the configure script runs, it determines the location of necessary header files (for the -I option) and libraries (-L) option. In some cases, all of the header or library files are located in the same place. If there are multiple sub-parts of the software that get configured separately, then there's a chance you'll get a repeat of options like you mentioned. The configure script generates the compile command using all the requirements of the sub-parts. So that's why you will sometimes get the repeats.

It might be argued that it's sloppy, but it doesn't hurt anything, and a lot of systems allow for command lines having 32,000 characters. So it's just not a big concern.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
So many errors when I typed the "make" and "make install" command Niceman2005 Linux - Software 23 07-22-2009 02:33 PM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 04:51 AM
error when "make"ing stuff jimjamjahaa Linux - Newbie 9 05-25-2005 09:55 AM
LFS 4.1: Stalled at Perl, "missing seperator" error from "make" SparceMatrix Linux From Scratch 1 06-07-2003 03:31 PM
i just finished typing "./configure" and "make" in mplayer directory... kublador Linux - General 4 02-22-2003 03:12 PM


All times are GMT -5. The time now is 10:32 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration