Re: object code from which compiler



ajm wrote:

Given an object file, is there any way (or tool)
to determine which compiler created it?

Gererally, no but:

        > cat f.c
        void f(void) {
          }

        > gcc -Wall -std=c99 -pedantic -c f.c
        > strings -a f.o
        GCC: (GNU) 4.0.0 20050519 (Red Hat 4.0.0-8)
        .symtab
        .strtab
        .shstrtab
        .text
        .data
        .bss
        .comment
        .note.GNU-stack
.