<html><body>
<DIV>I suspect it has to do with how we build for visual c++.</DIV>
<DIV>- It doesn't use pre-compiled header files</DIV>
<DIV>- It makes heavy use of templates.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Doing either of those on code which was not originally developed in Visual studio using the "microsoft way" can lead to longer build times.&nbsp; I can't go into details about what the microsoft way is because it won't necessarily be compatible with Linux...so the resulting discussion would be moot.&nbsp; </DIV>
<DIV>&nbsp;</DIV>
<DIV>Actually, I think you'll also find that the runtime in DEBUG mode will also be excessive.&nbsp; MSVC8 added boundary checking in STL containers....which means that every single operator[] or operator* on iterators will result in quite a bit of code running and asserts being checked.</DIV>
<DIV>&nbsp;</DIV>
<DIV>This, of course, collapses in "release" mode, so the runtime is at least fast.</DIV>
<DIV>&nbsp;</DIV>
<DIV>What's basically happening is all the templates (which there are tons when using flopc++) get instantiated multiple times during compile and link.&nbsp; Fun eh?</DIV>
<DIV>&nbsp;</DIV>
<DIV>Sooo...strictly speaking it isn't "the compiler" since one could potentially get it faster...but at the price of making it difficult to use on Linux....</DIV>
<DIV>&nbsp;</DIV>
<DIV>Or I could be wrong.</DIV>
<DIV>&nbsp;</DIV>
<DIV>Cheers!</DIV>
<DIV>Philip</DIV>
<DIV><BR>&gt; Dear all, <BR>&gt; <BR>&gt; I'd like to ask a question about FlopC++ under Visual Studio. <BR>&gt; When I build and run example "aircraft", which is part of Projectfile "FlopCpp" <BR>&gt; (Folder \trunk\MSVisualStudio\v8\FlopCpp\), it takes a lot of time. It runs <BR>&gt; fine, but building is very slow in compared to building under Linux. <BR>&gt; Is it a problem of Visual Studio, that the code generation takes so much time? <BR>&gt; <BR>&gt; Thanks in advance, <BR>&gt; <BR>&gt; Christian <BR>&gt; -------------- next part -------------- <BR>&gt; An HTML attachment was scrubbed... <BR>&gt; URL: <BR>&gt; http://list.coin-or.org/pipermail/flopcpp/attachments/20061020/92ff87b6/attachme <BR>&gt; nt-0001.html <BR>&gt; <BR>&gt; ------------------------------ <BR></DIV></body></html>