none
About /bigobj compiler flag RRS feed

  • General discussion

  • Hi People,

    One of my object file require /bigobj flag to work with number of sections it contain. On running dumpbin on it, I found the following header information -

    "

    File Type: EXTENDED COFF OBJECT

    FILE HEADER VALUES
                8664 machine (x64)
                8BBB number of sections
            4FE3C888 time date stamp Thu Jun 21 21:21:12 2012
             25F36A2 file pointer to symbol table
               47474 number of symbols
                   0 size of optional header
                   0 characteristics

    "

    This show number of sections as 35,771(0x8BBB). Why does compiler require /bigobj flag for it if it is within 2^16?

    Another question I have is whether the use of /bigobj on all objects  even if they don't require has any drawback on memory? or performance? I know the size of object increase by the use of /bigobj. Is there any other difference?

    -Karthik


    Karthik

    Friday, June 22, 2012 6:46 PM

All replies