Re: How to check what underlying commands are called by gcc?

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

 



On Tue, Apr 20, 2021 at 9:29 PM Peng Yu via Gcc-help
<gcc-help@xxxxxxxxxxx> wrote:
>
> Hi,
>
> As I understand gcc is just a front-end of ld.

Yes.

> Is there a way let gcc
> print out what ld commands are actually called?

Use the compiler option: -Wl,-v

> Is gcc also a frontend to another program for compiling an object from
> a source file?

Yes.

> Or it does this work on its own? If it servers as a
> front for compiling as well, how to let gcc print the underlying
> commands as well?

Use the compiler option: -v

> Thanks.

You are welcome.

> --
> Regards,
> Peng

-- 
Best regards,
Tadeus



[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