Tanks you. ==> The technique of generating an object file directly from the compiler Without Generate ASM Code does not have a name.
+ May be show me a sample/source/tutorial of generate object file Using C?! On Saturday, December 16, 2017 at 5:03:45 AM UTC+3:30, Ian Lance Taylor wrote: > > The technique of generating an object file directly from the compiler > does not have a name. > > Many other compilers do the same thing For example, clang/LLVM does it. > > These questions about how compilers work do not have anything to do > with Go, and I encourage you to take them to some other group. > > Also, no offense, but I encourage you to find somebody who is fluent > in both your language and English to help you write these questions. > It is often very difficult to understand what you are asking. > > Ian > > > On Fri, Dec 15, 2017 at 4:51 PM, Compiler <erfang...@gmail.com > <javascript:>> wrote: > > No Answer?! > > > > > > On Saturday, December 16, 2017 at 3:38:04 AM UTC+3:30, Compiler wrote: > >> > >> hmmm , > >> what is name of this way for generate executable file at compiler? > >> > >> On Saturday, December 16, 2017 at 3:34:27 AM UTC+3:30, andrey > mirtchovski > >> wrote: > >>> > >>> > so go compiler generate what?! > >>> > >>> https://golang.org/cmd/compile/ > >>> > >>> Compile, typically invoked as “go tool compile,” compiles a single Go > >>> package comprising the files named on the command line. It then writes > >>> a single object file named for the basename of the first source file > >>> with a .o suffix. The object file can then be combined with other > >>> objects into a package archive or passed directly to the linker (“go > >>> tool link”). If invoked with -pack, the compiler writes an archive > >>> directly, bypassing the intermediate object file. > > > > -- > > You received this message because you are subscribed to the Google > Groups > > "golang-nuts" group. > > To unsubscribe from this group and stop receiving emails from it, send > an > > email to golang-nuts...@googlegroups.com <javascript:>. > > For more options, visit https://groups.google.com/d/optout. > -- You received this message because you are subscribed to the Google Groups "golang-nuts" group. To unsubscribe from this group and stop receiving emails from it, send an email to golang-nuts+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.