XBMC Community Forum
[WINDOWS] Compile Switch question - Printable Version

+- XBMC Community Forum (http://forum.xbmc.org)
+-- Forum: Development (/forumdisplay.php?fid=32)
+--- Forum: Development (/forumdisplay.php?fid=93)
+--- Thread: [WINDOWS] Compile Switch question (/showthread.php?tid=55828)



[WINDOWS] Compile Switch question - TheQuestor - 2009-08-04 06:52

On Windows when I do my nightly compiles I have noticed one thing that makes me wonder.
Using VC++ 2008 Express I get this:
1>cl : Command line warning D9030 : '/Yc' is incompatible with multiprocessing; ignoring /MP switch

The /YC is to use precompiled headers, but it borks the /MP for multi-processors.

Why are both included if we can't compile for MP? and what are the precompiled headers I am using?

Can we not use precompiled headers to allow for MP in XBMC?

Inquiring Minds Want to Know. Or at least I do Smile


- CapnBry - 2009-08-04 13:29

/MP means "compile with multiple processors" not "compile for multiple processors". It means use only one job when building XBMC.


- TheQuestor - 2009-08-04 18:53

CapnBry Wrote:/MP means "compile with multiple processors" not "compile for multiple processors". It means use only one job when building XBMC.

aye, and i doubt my build times would actually get much better since it normally only takes me about 2 minutes to compile for win32.


- spiff - 2009-08-04 19:07

possibly in large parts due to the pch's Wink


- CapnBry - 2009-08-04 19:11

You jerk, XBMC for Win32 takes 15 minutes to compile on my laptop if I change one of the major header files. :'(


- TheQuestor - 2009-08-04 19:20

CapnBry Wrote:You jerk, XBMC for Win32 takes 15 minutes to compile on my laptop if I change one of the major header files. :'(

well it does take my Linux box and Hackintosh about that to compile if it makes you feel better.

Also it takes about 7 or 8 minutes for me to compile LTCG Xbox and Patched, but I normally am building all 3 at the same time so it might take a tad less if I do each one by one but I do not have 8 cores with hyperthreading for nothing Smile