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