Re: where in gcc sources is foobar.o written?

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

 



On 05/03/16 11:23, Mark Galeck wrote:
Hello,


as you know, the source of gcc is quite complex, especially for someone who managed to go through their MS in Computer Science without taking a compiler class :)

Where in the sources is the file foobar.o opened for writing in

The foobar.o in your command-line is created by the assembler. Append '-###' to see all programs invoked by the gcc driver. See https://gcc.gnu.org/wiki/DebuggingGCC

It is possible that the assembler creates the .o file in some /tmp/ directory, then renames/moves it to the target directory.

There is a lot of useful info in https://gcc.gnu.org/wiki/GettingStarted Unfortunately, it is badly organized. Any help in organizing it would be appreciated.

Cheers,

	Manuel.




[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