"gcc -pipe" and ld

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



L.S.

When I build a shared object (or executable) by doing:

    gcc -pipe -o myLib.so myLib.c -lm

How does the linker get the object code for myLib?
a. from a temporary file, saved by the compiler?
b. on stdin from a pipe that connects to the compilers stdout?
c. ???

The reason I ask is that I expected case b. However, when reading the documentation of ld, there is no mention whatsoever of using stdin.
So I am unsure.

Can anybody cure my uncertainty?

Thanks in advance,

Erik Leunissen
==============



[Index of Archives]     [Linux C Programming]     [Linux Kernel]     [eCos]     [Fedora Development]     [Fedora Announce]     [Autoconf]     [The DWARVES Debugging Tools]     [Yosemite Campsites]     [Yosemite News]     [Linux GCC]

  Powered by Linux