What is the raw ld command called by gcc?

Peng Yu pengyu.ut@gmail.com
Thu Jan 24 17:13:00 GMT 2019


Hi

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.

-- 
Regards,
Peng



More information about the Gcc-help mailing list