Original Message
>From: Andreas Schwab
>Sent: 19 September 2005 20:20
> Erik Leunissen <[EMAIL PROTECTED]> writes:
>
>> 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
Erik Leunissen <[EMAIL PROTECTED]> writes:
> 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. ???
It's case a. The -pipe option is
L.S.
A simple question:
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 re