Andreas Zieringer wrote: > Hi Marcus, > > >> Marcus Lindblom wrote: >> >> >> Hm. I can't get the -j flag to work (when building 'opt'). The compiler >> fails trying to simultaneously access the vc70.idb file. I've reverted >> all my compile/link-flag scons-changes too, so there should be no >> hindrance. Are you able to compile with -j on windows? >> >> /Marcus >> > > didn't try it with OpenSG but with vred it works fine. Yes I had the > same problem with the vc70.idb file right now I'm using the vc80 > compiler perhaps this fixed the problem at least the /Z7 helped with > vc80.pdb file access. Perhaps there is a special option to disable the > idb file creation? Could /incremental:no help? I use this option in > vred. What's this vc70.idb about sounds a bit like incremental whatever. > From the VC-docs, it seems to be a state file for minimal rebuild & incremental compilation. I think there was something more to it, but I can't figure out what.
*testing* .. Aha. The file being created since the /FD flag is passed to the compiler. I couldn't find this at all in the compiler docs, but /Fd sets the name of the vc70.idb/pdb files. I removed that and now -j 4 works. :) However, it would still make sense for non-multi-core compile, to use /Zi in dbgopt. But since we're all moving to multi-cores, it might not matter much anyway. Now, if we could reduce the amount of #include and the amount of include-paths, we might get things going rather quickly. (looking in all those dirs is expensive, see http://www.gamesfromwithin.com/articles/0403/000013.html) Cheers, /Marcus ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ Opensg-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/opensg-users
