Understanding directory structure
So I am playing around with gcc's -v switch to see what it is doing behind the scenes. I don't understand the directory structure it is emitting.
So for instance during one phase it might list an object file to be linked in like this:
/usr/lib/gcc/arm-linux-gnueabi/4.6/../../../../arm-linux-gnueabi/lib/../lib/someObject.o
If I copy this line(minus the object file), cd to it and pwd, I get this:
/usr/arm-linux-gnueabi/lib
nice and clean and readable. I assume I end up in a totally differnt directory due to symbolic links but Why is gcc showing a directory structure with all the /../ pieces in it?
Thanks for reading-Patrick
|