Visit Jeremy's Blog.
Go Back > Forums > Linux Forums > Linux - Newbie
User Name
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!


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

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


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??


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

Rep: Reputation: 373Reputation: 373Reputation: 373Reputation: 373
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.


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 03:33 PM
problem "make"ing gtk+ "/usr/bin/env: perl -w" caid Linux - Newbie 8 07-29-2005 05:51 AM
error when "make"ing stuff jimjamjahaa Linux - Newbie 9 05-25-2005 10:55 AM
LFS 4.1: Stalled at Perl, "missing seperator" error from "make" SparceMatrix Linux From Scratch 1 06-07-2003 04:31 PM
i just finished typing "./configure" and "make" in mplayer directory... kublador Linux - General 4 02-22-2003 04:12 PM > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 11:37 PM.

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