- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hi, guys,
When I build a project (Release|Win32) with Intel C++ compiler in VS 2008, at the link phase, it reports
6>Linking... (Intel C++ Environment)
6>Fatal compilation error: Out of memory asking for 2097160.
6>xilink: error #10014: problem during multi-file optimization compilation (code 1)
6>xilink: error #10014: problem during multi-file optimization compilation (code 1)
But debug version compile is fine.
Is there some easy way, which would not impact much code, to avoid it?
Compiler command line (optimization two, release version )
/c /O2 /Qipo /I "..\.." /I ".." /EHsc /MD /GS /fp:fast /Fo"Release/" /W4 /WX /nologo /Zi
Thanks.
When I build a project (Release|Win32) with Intel C++ compiler in VS 2008, at the link phase, it reports
6>Linking... (Intel C++ Environment)
6>Fatal compilation error: Out of memory asking for 2097160.
6>xilink: error #10014: problem during multi-file optimization compilation (code 1)
6>xilink: error #10014: problem during multi-file optimization compilation (code 1)
But debug version compile is fine.
Is there some easy way, which would not impact much code, to avoid it?
Compiler command line (optimization two, release version )
/c /O2 /Qipo /I "..\.." /I ".." /EHsc /MD /GS /fp:fast /Fo"Release/" /W4 /WX /nologo /Zi
Thanks.
Link Copied
2 Replies
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Did you read the help file section on IPO for Large Programs ? Whether IPO is even suitable for a large program depends entirely on the characteristics of the program.
Evidently, a program becomes "large" sooner on 32-bit Windows, and when /Zi is set. You may have functions which should be built at /O1, but you're asking for guesses only you are in a position to make.
Evidently, a program becomes "large" sooner on 32-bit Windows, and when /Zi is set. You may have functions which should be built at /O1, but you're asking for guesses only you are in a position to make.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Quoting - tim18
Did you read the help file section on IPO for Large Programs ? Whether IPO is even suitable for a large program depends entirely on the characteristics of the program.
Evidently, a program becomes "large" sooner on 32-bit Windows, and when /Zi is set. You may have functions which should be built at /O1, but you're asking for guesses only you are in a position to make.
Evidently, a program becomes "large" sooner on 32-bit Windows, and when /Zi is set. You may have functions which should be built at /O1, but you're asking for guesses only you are in a position to make.
Thanks. I replace IPO with single file optimization, and build is fine now.
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page