This is the mail archive of the
mailing list for the GCC project.
What is the raw ld command called by gcc?
- From: Peng Yu <pengyu dot ut at gmail dot com>
- To: "gcc-help at gcc dot gnu dot org" <gcc-help at gcc dot gnu dot org>
- Date: Thu, 24 Jan 2019 11:13:19 -0600
- Subject: What is the raw ld command called by gcc?
I'd like to know the raw ld command is called by gcc. Is there a way
to figure it out?
Also, why gcc acts like a front end to ld for which people has to use
options like -Wl?
Why not keep ld and gcc separated, so that if people want to link they
just call ld? Thanks.