This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

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


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 Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]