[WINDOWS] Compile Switch question

  Thread Rating:
  • 0 Votes - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Post Reply
TheQuestor Offline
Fan
Posts: 415
Joined: Jun 2005
Reputation: 0
Location: South TX US
Post: #1
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

Main Rig [Scorpius] - Core i7 2600k @ 5Ghz. 16 Gig DDR3 1600. 1x HD 6990 1x HD 4870 Hackintosh [Chiana] - Core i5 @ 3.8Ghz. 12 Gig DDR3 Linux [Moya] - Core2 Duo E8200 - 2 Gigs DDR2 800 WHS [Zhaan] - DualCore E5200@3.0Ghz - 4 Gigs DDR2 800 VMC [Jothee] Core2 Quad @ 2.8Ghz 4 Gigs DDR2 800 VMC [Aeryn] Core2 E8400 @ 3.0Ghz 2 Gigs DDR2 800 2TB Server [Talyn] Core2 Quad Q6600 @ 3.0Ghz - 8 Gigs DDR2 1066 FileServer [Crichton] P4 650 3.4GHz - 2 Gigs DDR
find quote
CapnBry Offline
Fan
Posts: 406
Joined: Oct 2004
Reputation: 0
Location: Tampa, FL USA
Post: #2
/MP means "compile with multiple processors" not "compile for multiple processors". It means use only one job when building XBMC.

For troubleshooting and bug reporting please make sure you read this first.
find quote
TheQuestor Offline
Fan
Posts: 415
Joined: Jun 2005
Reputation: 0
Location: South TX US
Post: #3
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.

Main Rig [Scorpius] - Core i7 2600k @ 5Ghz. 16 Gig DDR3 1600. 1x HD 6990 1x HD 4870 Hackintosh [Chiana] - Core i5 @ 3.8Ghz. 12 Gig DDR3 Linux [Moya] - Core2 Duo E8200 - 2 Gigs DDR2 800 WHS [Zhaan] - DualCore E5200@3.0Ghz - 4 Gigs DDR2 800 VMC [Jothee] Core2 Quad @ 2.8Ghz 4 Gigs DDR2 800 VMC [Aeryn] Core2 E8400 @ 3.0Ghz 2 Gigs DDR2 800 2TB Server [Talyn] Core2 Quad Q6600 @ 3.0Ghz - 8 Gigs DDR2 1066 FileServer [Crichton] P4 650 3.4GHz - 2 Gigs DDR
find quote
spiff Offline
Grumpy Bastard Developer
Posts: 12,176
Joined: Nov 2003
Reputation: 82
Post: #4
possibly in large parts due to the pch's Wink

Always read the XBMC online-manual, FAQ and search the forum before posting.
Do not e-mail XBMC-Team members directly asking for support. Read/follow the forum rules.
For troubleshooting and bug reporting please make sure you read this first.
find quote
CapnBry Offline
Fan
Posts: 406
Joined: Oct 2004
Reputation: 0
Location: Tampa, FL USA
Post: #5
You jerk, XBMC for Win32 takes 15 minutes to compile on my laptop if I change one of the major header files. :'(

For troubleshooting and bug reporting please make sure you read this first.
find quote
TheQuestor Offline
Fan
Posts: 415
Joined: Jun 2005
Reputation: 0
Location: South TX US
Post: #6
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

Main Rig [Scorpius] - Core i7 2600k @ 5Ghz. 16 Gig DDR3 1600. 1x HD 6990 1x HD 4870 Hackintosh [Chiana] - Core i5 @ 3.8Ghz. 12 Gig DDR3 Linux [Moya] - Core2 Duo E8200 - 2 Gigs DDR2 800 WHS [Zhaan] - DualCore E5200@3.0Ghz - 4 Gigs DDR2 800 VMC [Jothee] Core2 Quad @ 2.8Ghz 4 Gigs DDR2 800 VMC [Aeryn] Core2 E8400 @ 3.0Ghz 2 Gigs DDR2 800 2TB Server [Talyn] Core2 Quad Q6600 @ 3.0Ghz - 8 Gigs DDR2 1066 FileServer [Crichton] P4 650 3.4GHz - 2 Gigs DDR
find quote