Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » Developing U++ » U++ Developers corner » Quick and dirty solution to .icpp problem...
Re: Quick and dirty solution to .icpp problem... [message #12402 is a reply to message #12401] Sat, 27 October 2007 19:33 Go to previous messageGo to previous message
mirek is currently offline  mirek
Messages: 13984
Registered: November 2005
Ultimate Member
sergei wrote on Sat, 27 October 2007 13:04

luzr wrote on Sat, 27 October 2007 18:27



Quote:


P.S. MSVC8 simply denies building U++ with /O2 (outside TheIDE). Unless I always use manual commandline with all optimization options (excluding /Og), it hangs/crashes on linkage. And with these options I have a larger EXE Confused - 1.8 MB vs 1.3MB in TheIDE + O2 vs 1.4MB in TheIDE with same options (that's even weirder - simply using a lib adds 0.4MB?).



With SCU?

Mirek



No, Lib (you didn't answer my post regarding SCU so I paused it for a while).



I might have lost the track... How did you got the lib?

Quote:


I tried different combinations (Lib with O2, program with manual, reverse, etc.), but results are the same - unless both Lib and the program that uses it are built without O2 (e.g. no optimizations at all or custom optimizations), linker either hangs (usually when using custom in the program and O2 in Lib) or crashes (when using O2 in program). Building release with custom optimizations in both works, but as I said, I get larger EXE (even larger than in TheIDE if I replace O2 with custom optimizations there).

While 0.4-0.5MB aren't that significant, that's quite annyoing since I don't see a decent reason for such increase.



Really strange.

Mirek
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Core chat... (reference counted pointers etc.)
Next Topic: SVN plan...
Goto Forum:
  


Current Time: Thu Jun 06 00:56:10 CEST 2024

Total time taken to generate the page: 0.01944 seconds