Re: compile question

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

 



On Sat, Jan 5, 2013 at 11:18 AM, horseriver <horserivers@xxxxxxxxx> wrote:
>
>   when I use gcc compiling a .c file to a .o file , will it call  ld to  do some link work ?

If you run "gcc -o foo.o -c foo.c", or simply "gcc -c foo.c", it will
not run ld.

You can see all the subprograms that gcc runs by using the -v option.

Ian


[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