Click here to Skip to main content
14,304,152 members

Linux Programming

 
AnswerRe: Active PID Pin
k50544-Apr-19 16:29
memberk50544-Apr-19 16:29 
GeneralRe: Active PID Pin
Mohibur Rashid4-Apr-19 18:17
professionalMohibur Rashid4-Apr-19 18:17 
QuestionUsing "R CMD INSTALL ..." to install package Pin
Vaclav_1-Apr-19 14:41
memberVaclav_1-Apr-19 14:41 
RantRe: Using "R CMD INSTALL ..." to install package Pin
k50542-Apr-19 4:50
memberk50542-Apr-19 4:50 
GeneralRe: Using "R CMD INSTALL ..." to install package Pin
Richard MacCutchan3-Apr-19 8:24
protectorRichard MacCutchan3-Apr-19 8:24 
GeneralRe: Using "R CMD INSTALL ..." to install package Pin
k50543-Apr-19 10:51
memberk50543-Apr-19 10:51 
Questioncommand "/../" Pin
Vaclav_1-Apr-19 7:35
memberVaclav_1-Apr-19 7:35 
AnswerRe: command "/../" Pin
k50541-Apr-19 9:17
memberk50541-Apr-19 9:17 
Vaclav_ wrote:
In this example I gather the "-L" is linked to "lib" four times.
Do not get it .
-L/usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib 


No. ../ refers to the parent directory, ../../ refers to the grandparent directory, ../../../ refers to the great-grandparent directory, and ../../../../refers to the great-great-grandparent directory. In this case, you can "walk-back" the final /lib four times so /usr/lib/gcc/x86_64-linux-gnu/5/../../../../lib is an alias for /usr/lib. That looks like it comes from the output of gcc -v <source_file>, which means its auto-generated in the process of compiling the compiler. Why its like that and not a 100% absolute path, I don't know. If you're interested on that point, you should query the gcc mailing lists.

In general, in your own compilations, you'll either use an absolute path like -L /usr/local/foo/lib or a relative path like -L ../foo/lib. You'd use the first if you're accessing a 3rd party library in a non-standard place - in this case /usr/local/foo/lib. The second case would normally be when the library is part of the current project.
AnswerRe: command "/../" Pin
Eddy Vluggen1-Apr-19 9:35
mveEddy Vluggen1-Apr-19 9:35 
GeneralRe: command "/../" Pin
Vaclav_1-Apr-19 14:32
memberVaclav_1-Apr-19 14:32 
GeneralRe: command "/../" Pin
k50541-Apr-19 17:39
memberk50541-Apr-19 17:39 
GeneralRe: command "/../" Pin
Eddy Vluggen2-Apr-19 1:49
mveEddy Vluggen2-Apr-19 1:49 
AnswerRe: command "/../" Pin
Richard MacCutchan1-Apr-19 21:24
protectorRichard MacCutchan1-Apr-19 21:24 
GeneralRe: command "/../" Pin
Vaclav_2-Apr-19 3:26
memberVaclav_2-Apr-19 3:26 
QuestionWhy lscpu returns BOTH 32 -bit , 64-bit ? Pin
Vaclav_1-Apr-19 5:47
memberVaclav_1-Apr-19 5:47 
AnswerRe: Why lscpu returns BOTH 32 -bit , 64-bit ? Pin
Richard MacCutchan1-Apr-19 5:52
protectorRichard MacCutchan1-Apr-19 5:52 
GeneralRe: Why lscpu returns BOTH 32 -bit , 64-bit ? Pin
Vaclav_1-Apr-19 6:42
memberVaclav_1-Apr-19 6:42 
QuestionHow to "include / link " to libbluetooth-dev (package?) ? Pin
Vaclav_1-Apr-19 5:33
memberVaclav_1-Apr-19 5:33 
AnswerRe: How to "include / link " to libbluetooth-dev (package?) ? Pin
Richard MacCutchan1-Apr-19 5:49
protectorRichard MacCutchan1-Apr-19 5:49 
GeneralSOLVED Re: How to "include / link " to libbluetooth-dev (package?) ? Pin
Vaclav_1-Apr-19 6:42
memberVaclav_1-Apr-19 6:42 
QuestionAnybody feels like dissecting / discussing "Linux" STANDARD "configure" script / file? Pin
Vaclav_27-Mar-19 10:31
memberVaclav_27-Mar-19 10:31 
AnswerRe: Anybody feels like dissecting / discussing "Linux" STANDARD "configure" script / file? Pin
k505427-Mar-19 12:18
memberk505427-Mar-19 12:18 
GeneralRe: Anybody feels like dissecting / discussing "Linux" STANDARD "configure" script / file? Pin
Vaclav_27-Mar-19 16:24
memberVaclav_27-Mar-19 16:24 
GeneralRe: Anybody feels like dissecting / discussing "Linux" STANDARD "configure" script / file? Pin
k505427-Mar-19 21:36
memberk505427-Mar-19 21:36 
JokeSOLVED ABANDONED building library file using "blues" package is futile Pin
Vaclav_22-Mar-19 7:48
memberVaclav_22-Mar-19 7:48 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.