Click here to Skip to main content
15,881,559 members
Home / Discussions / Linux Programming
   

Linux Programming

 
RantRe: Using "R CMD INSTALL ..." to install package Pin
k50542-Apr-19 4:50
mvek50542-Apr-19 4:50 
GeneralRe: Using "R CMD INSTALL ..." to install package Pin
Richard MacCutchan3-Apr-19 8:24
mveRichard MacCutchan3-Apr-19 8:24 
GeneralRe: Using "R CMD INSTALL ..." to install package Pin
k50543-Apr-19 10:51
mvek50543-Apr-19 10:51 
Questioncommand "/../" Pin
Vaclav_1-Apr-19 7:35
Vaclav_1-Apr-19 7:35 
AnswerRe: command "/../" Pin
k50541-Apr-19 9:17
mvek50541-Apr-19 9:17 
AnswerRe: command "/../" Pin
Eddy Vluggen1-Apr-19 9:35
professionalEddy Vluggen1-Apr-19 9:35 
GeneralRe: command "/../" Pin
Vaclav_1-Apr-19 14:32
Vaclav_1-Apr-19 14:32 
GeneralRe: command "/../" Pin
k50541-Apr-19 17:39
mvek50541-Apr-19 17:39 
You asked:
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 


Speaking for myself, the question asked suggests that you think the syntax somehow creates four links to "lib", and are unaware of the relationship between an absolute path and a relative path. Both Eddy Vluggen and I tried to answer the question we thought you had asked, and set you straight about what was going on here.

As I stated in my answer, I think this has come from gcc -v output. As I am not a gcc developer, I do not know why the compiler would generate such odd search paths. It could be something to do with hoops needed to generate correct path names on non unix-like operating systems, like say OpenVMS. The thing to do would be to ask the gcc developers mailing list. As it stands, it works fine, and I'm not aware of any significant performance penalty that accrues from doing things this way. Unless you're interested for interests sake, why worry about it? Essentially, it happens "under the hood" - without the -v option, gcc/g++/as/ld/etc can be considered a "black box" that takes in source code and produces either intermediate code [assembler (.s files) and object (.o files) being two possibilities], or an executable program. How it goes about it is, normally, uninteresting to the average developer. Sometimes, yes, you do need to get that information, particularly if you think you've found a bug and are working with the gcc development team to document the bug. Otherwise, we just loop through the "edit, compile, test" loop until we, or our customer, are happy with the results, not worry about how the compiler, or editor, or link-loader, etc actually do their work.
GeneralRe: command "/../" Pin
Eddy Vluggen2-Apr-19 1:49
professionalEddy Vluggen2-Apr-19 1:49 
AnswerRe: command "/../" Pin
Richard MacCutchan1-Apr-19 21:24
mveRichard MacCutchan1-Apr-19 21:24 
GeneralRe: command "/../" Pin
Vaclav_2-Apr-19 3:26
Vaclav_2-Apr-19 3:26 
QuestionWhy lscpu returns BOTH 32 -bit , 64-bit ? Pin
Vaclav_1-Apr-19 5:47
Vaclav_1-Apr-19 5:47 
AnswerRe: Why lscpu returns BOTH 32 -bit , 64-bit ? Pin
Richard MacCutchan1-Apr-19 5:52
mveRichard MacCutchan1-Apr-19 5:52 
GeneralRe: Why lscpu returns BOTH 32 -bit , 64-bit ? Pin
Vaclav_1-Apr-19 6:42
Vaclav_1-Apr-19 6:42 
QuestionHow to "include / link " to libbluetooth-dev (package?) ? Pin
Vaclav_1-Apr-19 5:33
Vaclav_1-Apr-19 5:33 
AnswerRe: How to "include / link " to libbluetooth-dev (package?) ? Pin
Richard MacCutchan1-Apr-19 5:49
mveRichard MacCutchan1-Apr-19 5:49 
GeneralSOLVED Re: How to "include / link " to libbluetooth-dev (package?) ? Pin
Vaclav_1-Apr-19 6:42
Vaclav_1-Apr-19 6:42 
QuestionAnybody feels like dissecting / discussing "Linux" STANDARD "configure" script / file? Pin
Vaclav_27-Mar-19 10:31
Vaclav_27-Mar-19 10:31 
AnswerRe: Anybody feels like dissecting / discussing "Linux" STANDARD "configure" script / file? Pin
k505427-Mar-19 12:18
mvek505427-Mar-19 12:18 
GeneralRe: Anybody feels like dissecting / discussing "Linux" STANDARD "configure" script / file? Pin
Vaclav_27-Mar-19 16:24
Vaclav_27-Mar-19 16:24 
GeneralRe: Anybody feels like dissecting / discussing "Linux" STANDARD "configure" script / file? Pin
k505427-Mar-19 21:36
mvek505427-Mar-19 21:36 
JokeSOLVED ABANDONED building library file using "blues" package is futile Pin
Vaclav_22-Mar-19 7:48
Vaclav_22-Mar-19 7:48 
AnswerRe: linker error file not recognized: File format not recognized Pin
k505422-Mar-19 8:05
mvek505422-Mar-19 8:05 
GeneralRe: linker error file not recognized: File format not recognized Pin
Vaclav_22-Mar-19 13:27
Vaclav_22-Mar-19 13:27 
GeneralRe: linker error file not recognized: File format not recognized Pin
Richard MacCutchan22-Mar-19 22:53
mveRichard MacCutchan22-Mar-19 22:53 

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.