From: Erik Leunissen <e.leunissen@hccnet.nl>
To: gcc-help@gcc.gnu.org
Subject: "gcc -pipe" and ld
Date: Mon, 19 Sep 2005 18:36:00 -0000 [thread overview]
Message-ID: <432F050D.4090908@hccnet.nl> (raw)
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
==============
next reply other threads:[~2005-09-19 18:36 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-09-19 18:36 Erik Leunissen [this message]
2005-09-19 19:05 ` John Love-Jensen
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=432F050D.4090908@hccnet.nl \
--to=e.leunissen@hccnet.nl \
--cc=gcc-help@gcc.gnu.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).