Export (0) Print
Expand All
Expand Minimize
1 out of 1 rated this helpful - Rate this topic

/bigobj (Increase Number of Sections in .Obj file)

/bigobj increases the number of sections that an object file can contain.

/bigobj

By default, an object file can hold up to 65,536 (2^16) addressable sections. /bigobj increases that address capacity to 4,294,967,296 (2^32).

Most modules will never generate an .obj file that contains more than 65,536 sections. However, machine generated code, or code that makes heavy use of template libraries may require .obj files that can hold more sections.

Linkers that shipped prior to Visual C++ 2005 cannot read .obj files that were produced with /bigobj.

To set this compiler option in the Visual Studio development environment

  1. Open the project's Property Pages dialog box. For details, see How to: Open Project Property Pages.

  2. Click the C/C++ folder.

  3. Click the Command Line property page.

  4. Type the compiler option in the Additional Options box.

To set this compiler option programmatically

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.