It means that --architecture is not what I want.
Thanks for spending so much time clearing such an obvious thing up. |
Sergei - if you can see where MTK is going wrong, it would be far more useful if you would show him what he needs to do rather than berate him for not understanding what he is seeing. He seems to be trying to learn this himself so does not have the luxury of asking anyone outside LQ.
If you think that your method is the best for teaching, it would be a good idea to stay out of his threads. |
Quote:
Code:
ld --help | less In my case there are 222 lines altogether in the above output - this is less than 4 pages of "standard" text (66 lines per page). In the option there are options controlling the way/places 'ld' looks for files and there options related to file formats. If/when you find the relevant options, read more detailed description in the manpage. I'm just repeating it again: read, comprehend, analyze. |
Quote:
|
Quote:
|
[QUOTE=XavierP;3944537
... He obviously needs more help. ... [/QUOTE] Community college English class ? |
Quote:
I don't write poor english! I JUST DON"T UNDERSTAND! Anyway, I posted this issue on another forum because you obviously won't let me progress here. And it was solved very quickly there and worked like a charm! |
So far as I can tell, the man page for ld is not complete enough to even touch on the answer to MTK358's question.
The info page touches on the answer, but sure doesn't explain it. BTW, I find the info program hopelessly hard to navigate. To read info content, I always use Konqueror. In Konqueror type the location info:/ld then browse around. The option you need seems to be --oformat but the value you need with that is not obvious to me. I'd probably need to see the contents of your linker.ld file to support even a half decent guess at the right --oformat switch. My wild unsupported guess would be --oformat a.out-i386-linux That choice was selected from the output on my 64 bit linux system from the command objdump -i I expect objdump -i would give the same choices on your system, but I'm not certain of even that. So you might want to post the output of that command as well. |
Quote:
What exactly you do not understand in Code:
ld --help | less In order to answer the above question you do not need any special (CS, math, etc) knowledge, you need only knowledge of English. So, again, what is you do not undernasm elf64stand ? ... About posting in another forum - simple nasm elf64 query into Google gives an answer (the 5-th match in my case), but, as I've noticed, you apparently do not read answers - always remember that item in red in this thread. You haven't yet explained what you can't understand in that item. |
Quote:
Sometimes RTFM is the appropriate answer. But usually it isn't. What would the point of a forum be if the answer is always RTFM. And even RTFM doesn't need the level of criticism of the OP with which you delivered it. Quote:
So far as MTK358 had any way of knowing, he wanted to control the architecture of the output file from ld. Look at the help and of course you would think you can do that with the -A switch, which you already abused him for not figuring out was wrong. Quote:
Code:
-a KEYWORD Shared library control for HP/UX compatibility Do you understand it? Give me an example of the use of the switch (replace KEYWORD with an actual value you would use there) and tell me what effect including that option would have on the behavior of ld. If you can't do that, I think you don't "understand" that line of the help. If you can do that, I think you got the knowledge from somewhere other than that line of help. The next line is the one with "Set architecture". Before this thread, I might have thought I understood that. But details posted above show it means something other than what the uninitiated would have assumed. So the question is not where is the part that's hard to understand. It's where is the part that isn't hard to understand. |
Quote:
ld --help | less shows more than four matches of the 'format' substring. So, if the OP completely ignores the fact that clearly mentioned by me "format" word is indeed present in the built-in help message, what can I do ? No regarding the item in bold. The problem is not that you do not understand it, the problem is that it is irrelevant for the info MT358 had to find. Again, I told him to look for command line switches controlling the way 'ld' deals with file formats and with the places/ways it looks for libraries. So, again and again, my point is that a person who understands English also understands he doesn't have to bother with that item any more WRT the task of finding info on formats and places/ways. |
In the light of this discussion about (mis)understanding - does anybody still remember about the word "relevance" ? I.e. can those who say they do not understand use relevance as a tool while reading, comprehending and analyzing texts ?
|
Quote:
Maybe my copy of the man page is defective. Quote:
I'm going to try to drop out of this disagreement now, before a moderator forces me to. I will continue to try to provide people like MTK358 with a short helpful answer (now buried far back in this thread) when such an answer is available to me, regardless of whether they could/should have found it themselves. I will reserve RTFM for cases where the OP needs the big chunk of knowledge that they can only reasonably get from doing the reading and can't get by my giving them the short answer. BTW, I didn't notice until now that MTK358 found a different answer in the other forum: http://forum.osdev.org/viewtopic.php...38907f#p175281 (as well as someone else disapproving of answering questions rather than forcing people to find the answers themselves). I'm not sure now whether the answer I guessed from the info page is another usable answer or whether the answer from the other forum is the only correct one. The answer from the other forum looks even harder to guess from ld --help than the answer I gave. |
Quote:
Quote:
|
We seem to have strayed far from topic. My recommendation to prevent closure is this:
|
All times are GMT -5. The time now is 07:59 PM. |