-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathHow Windows is build Coffeehouse Forums Channel 9.htm
845 lines (714 loc) · 43.7 KB
/
How Windows is build Coffeehouse Forums Channel 9.htm
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
<!doctype html>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<meta name="robots" content="index,follow"/>
<title>How Windows is build ? | Coffeehouse | Forums | Channel 9</title>
<meta http-equiv="X-UA-Compatible" content="IE=edge"/>
<meta name="generator" content="Rev9"/>
<meta name="WT.z_bdb" content="1"/>
<meta name="msapplication-task" content="name=Coffeehouse;action-uri=/forums/coffeehouse;icon-uri=/styles/images/favicon.ico"/>
<meta name="msapplication-task" content="name=Browse All Content;action-uri=/Browse;icon-uri=/styles/images/favicon.ico"/>
<meta name="msapplication-task" content="name=Shows;action-uri=/Browse/Shows;icon-uri=/styles/images/favicon.ico"/>
<link rel="shortcut icon" type="image/vnd.microsoft.icon" href="/styles/images/favicon.ico"/>
<link rel="apple-touch-icon" href="/styles/images/favicon_129x129.png"/>
<link href="/styles/site.css?v=qoTt0q9r3z2pobF4j9r-rujC8cM1" media="all" rel="stylesheet" type="text/css" />
<link href="/styles/print.css" media="print" rel="stylesheet" type="text/css"/>
<link href="/styles/handheld.css" media="handheld" rel="stylesheet" type="text/css"/>
<link href="/styles/paging.css?v=qoTt0q9r3z2pobF4j9r-rujC8cM1" media="all" rel="stylesheet" type="text/css" />
<link href="/styles/comments.css?v=qoTt0q9r3z2pobF4j9r-rujC8cM1" media="all" rel="stylesheet" type="text/css" />
<link href="/styles/sourcecode.css?v=qoTt0q9r3z2pobF4j9r-rujC8cM1" media="all" rel="stylesheet" type="text/css" />
<link href="/styles/editforums.css?v=qoTt0q9r3z2pobF4j9r-rujC8cM1" media="all" rel="stylesheet" type="text/css" />
<link href="/styles/listposts.css?v=qoTt0q9r3z2pobF4j9r-rujC8cM1" media="all" rel="stylesheet" type="text/css" />
<link href="/Forums/Coffeehouse/189875-How-Windows-is-build-/rss" title="How Windows is build ? - RSS - Channel 9" rel="alternate" type="application/rss+xml"/>
<meta name="Search.PageType" content="Thread"/>
<meta name="Search.SectionType" content="Forums"/>
<meta name="Search.Section" content="Coffeehouse"/>
<meta name="Search.Title" content="How Windows is build ?"/>
<meta name="title" content="How Windows is build ?"/>
<noscript><link href="/styles/noscript.css?v=qoTt0q9r3z2pobF4j9r-rujC8cM1" media="all" rel="stylesheet" type="text/css" /></noscript>
<!--[if gt IE 8]><link href="/styles/ie9beta1.css?v=qoTt0q9r3z2pobF4j9r-rujC8cM1" media="all" rel="stylesheet" type="text/css" /><![endif]-->
<!--[if lt IE 8]><link href="/styles/ie7_6.css?v=qoTt0q9r3z2pobF4j9r-rujC8cM1" media="all" rel="stylesheet" type="text/css" /><![endif]-->
<!--[if lt IE 7]><link href="/styles/ie6.css?v=qoTt0q9r3z2pobF4j9r-rujC8cM1" media="all" rel="stylesheet" type="text/css" /><![endif]-->
<script src="http://ajax.microsoft.com/ajax/jquery/jquery-1.4.4.min.js" type="text/javascript"></script>
<script src="/scripts/globals.js?v=qoTt0q9r3z2pobF4j9r-rujC8cM1" type="text/javascript"></script>
<!--[if lt IE 7]><script>ch9.data.isIE6=true;</script><![endif]-->
</head>
<body class="forum">
<div class="branding">
<div class="toolbar">
<div class="container"><ul>
<li class="followus"><a href="http://twitter.com/ch9">Follow Us @Ch9</a></li>
<li class="subscribe"><a href="/Feeds/RSS">Subscribe to Channel 9</a></li>
<!--IE7 needs a return here-->
<li class="signIn"><a href="https://login.live.com/login.srf?wa=wsignin1.0&rpsnv=11&ct=1295247140&rver=6.1.6195.0&wp=MBI&wreply=http:%2F%2Fchannel9.msdn.com%2FForums%2FCoffeehouse%2F189875-How-Windows-is-build-&id=47159">Sign In</a></li>
</ul>
</div>
</div>
<div class="navigation">
<div class="container"><div class="logo"><a href="/">Channel 9</a></div><div class="search">
<span class="g l t"></span><span class="g l m"></span><span class="g l b"></span><span class="g c t"></span><span class="g c b"></span><span class="g r t"></span><span class="g r m"></span><span class="g r b"></span>
<form action="/search">
<div class="inputHolder">
<input type="text" class="text inactive" value="Search this site" name="term" autocomplete="off"/>
<span class="bing logo"></span>
<div class="submitHolder">
<input class="theSubmit" type="image" alt="Submit" src="/styles/images/BingSearchSprite.png"/>
</div>
</div>
</form>
</div>
<ul>
<li class="browse">
<a href="/Browse">Browse</a>
<ul class="rounded">
<li><a href="/Browse/Tags">Tags</a></li>
<li><a href="/Browse/Shows">Shows</a></li>
<li><a href="/Browse/Series">Series</a></li>
<li><a href="/Browse/Blogs">Blogs</a></li>
<li><a href="/Browse/Authors">Authors</a></li>
</ul>
</li>
<li class="learn">
<a href="/Learn">Learn</a>
<ul class="rounded">
<li><a href="/Learn/Courses">Courses</a></li>
<li><a href="/Blogs/Learn">Announcements</a></li>
</ul>
</li>
<li class="forums active">
<a href="/Forums">Forums</a>
<ul class="rounded">
<li><a href="/Forums/Coffeehouse">Coffeehouse</a></li>
<li><a href="/Forums/Feedback">Site Feedback</a></li>
<li><a href="/Forums/TechOff">Tech Off</a></li>
</ul>
</li>
<li class="about">
<a href="/About">About</a>
</li>
</ul>
</div>
</div>
</div>
<div class="mainHolder">
<div class="mainContent text">
<div class="breadcrumbs"><ul><li class="first"><a href="/Forums">Forums</a></li><li class="last"><a href="/Forums/Coffeehouse">Coffeehouse</a></li></ul></div>
<div class="forums-header">
<h1>How Windows is build ?</h1>
</div>
<div class="forums-meta">
<ul class="rss">
<li class="subscribe">
<a href="/Forums/Coffeehouse/189875-How-Windows-is-build-/rss">Subscribe to this feed</a>
</li>
</ul>
</div>
<div class="forums-nav">
<ul class="paging">
<li>
<span class="current">1</span>
</li>
<li>
<a href="/Forums/Coffeehouse/189875-How-Windows-is-build-?page=2">2</a>
</li><li class="next">
<a href="/Forums/Coffeehouse/189875-How-Windows-is-build-?page=2">next</a>
</li>
</ul>
</div>
<ul id="posts" class="posts"><li>
<div class="author">
<a class="button" href="/Niners/L_Park1"><img alt="L_Park1" class="avatar" src="http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/avatars/c9classic/default.gif" title="L_Park1" /><span class="name">L_Park1</span></a>
</div>
<div class="post" id="c189875">
<div class="post-header">
<a class="permalink" href="/Forums/Coffeehouse/189875-How-Windows-is-build-/189875" title="Post Permalink">May 18, 2006 at 11:30 AM</a>
</div>
<div class="post-content">
<p>A ... basic question: how Windows is build? What programs are used? Details, details ... Of course, what is public, not internal stories. <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /> We don't want trouble. <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /> How the team is structured? How many Labs etc. etc. Thanks</p>
</div>
</div>
</li><li>
<div class="author">
<a class="button" href="/Niners/Manip"><img alt="Manip" class="avatar" src="http://ecn.channel9.msdn.com/o9/avatars/Manip_c9.jpg" title="Manip" /><span class="name">Manip</span></a>
</div>
<div class="post" id="cd56be068b49042cca2309deb0163338d">
<div class="post-header">
<a class="permalink" href="/Forums/Coffeehouse/189875-How-Windows-is-build-/d56be068b49042cca2309deb0163338d" title="Post Permalink">May 18, 2006 at 11:45 AM</a>
</div>
<div class="post-content">
<p>Windows, just like any modern operating system isn't built in one large chunk. Windows its self might have thousands or tens of thousands of isolated modules that all work together (and layer on top of one another).
<br>
<br>
The kernel can't, for example, call into comdlg32.dll because comdlg32.dll would have to make calls back to the kernel and you'd get a infinite loop situation.
<br>
<br>
For most things they use standard Visual Studio 2005 Enterprise Edition. They however have to have special building environments for the big stuff (e.g. Windows Kernel). These things can't be build on the developer's machines, but are instead build overnight
on servers who's soul purpose is to build releases. <br>
<br>
If you want a more accurate or details overview then I'm afraid your have to walk to a Microsoftee in the Windows group.
</p>
</div>
</div>
</li><li>
<div class="author">
<a class="button" href="/Niners/L_Park1"><img alt="L_Park1" class="avatar" src="http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/avatars/c9classic/default.gif" title="L_Park1" /><span class="name">L_Park1</span></a>
</div>
<div class="post" id="c0bf9531dcb90413c8f159deb016333b7">
<div class="post-header">
<a class="permalink" href="/Forums/Coffeehouse/189875-How-Windows-is-build-/0bf9531dcb90413c8f159deb016333b7" title="Post Permalink">May 18, 2006 at 11:59 AM</a>
</div>
<div class="post-content">
<p>Yeah - I forgot about the fact about modules. Vista can we tell that is more modular than ever? (modular - not sure about the term - I'm from Romania - sorry about bad EN). <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /> I also forgot about the servers which compile a new version of Windows Vista
every night. <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /> That's a lot of versioning. Question: they test every build they have every day? Not sure about this... details please.</p>
</div>
</div>
</li><li>
<div class="author">
<a class="button" href="/Niners/ben2004uk"><img alt="ben2004uk" class="avatar" src="http://ecn.channel9.msdn.com/o9/avatars/ben2004uk_c9.jpg" title="ben2004uk" /><span class="name">ben2004uk</span></a>
</div>
<div class="post" id="c46e5bd2a36b24607b9f19deb016333e1">
<div class="post-header">
<a class="permalink" href="/Forums/Coffeehouse/189875-How-Windows-is-build-/46e5bd2a36b24607b9f19deb016333e1" title="Post Permalink">May 18, 2006 at 12:10 PM</a>
</div>
<div class="post-content">
<p>guessing they have a lot (LOT!) of automated test build scripts which are run everytime / weekly on the new build. Think I read it somewhere...</p>
</div>
</div>
</li><li class="staff microsoft">
<div class="author">
<a class="button" href="/Niners/Sampy"><img alt="Mike Sampson" class="avatar" src="https://rev9.blob.core.windows.net/avatar/8c26053b-859d-44b7-a1a1-599569961d81.jpg" title="Mike Sampson" /><span class="name">Sampy</span></a><span class="caption">And I come back to you now - at the turn of the tide</span>
</div>
<div class="post" id="c4d2cf4e41cff4caf85aa9deb0163340c">
<div class="post-header">
<a class="permalink" href="/Forums/Coffeehouse/189875-How-Windows-is-build-/4d2cf4e41cff4caf85aa9deb0163340c" title="Post Permalink">May 18, 2006 at 1:02 PM</a>
</div>
<div class="post-content">
<p>Devdiv builds using MSBuild now but most things as Microsoft are built using the "NT Build environment" known as razzle. It uses super uniquely named tool build.exe.<br>
<br>
Devdiv still uses Razzle but it's just calling into msbuild undernieth. There's a file out there called Microsoft.VisualStudio.Publish.vbproj that's used to build the VS you'll install once Orcas CTPs start coming out.<br>
<br>
Actually, it's called Microsoft.VisualStudio.Publish2.vbproj but that's because I was a bit of an early adopter of the conversion to MSBuild and when the conversion team came thru they were kind and left my project file alone <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>
</div>
</div>
</li><li>
<div class="author">
<a class="button" href="/Niners/Xaero_Vincent"><img alt="Xaero_Vincent" class="avatar" src="http://ecn.channel9.msdn.com/o9/avatars/Xaero_Vincent_c9.jpg" title="Xaero_Vincent" /><span class="name">Xaero_​Vincent</span></a><span class="caption">Sexy me</span>
</div>
<div class="post" id="c78ac3e6afa934135bb489deb01633437">
<div class="post-header">
<a class="permalink" href="/Forums/Coffeehouse/189875-How-Windows-is-build-/78ac3e6afa934135bb489deb01633437" title="Post Permalink">May 18, 2006 at 1:56 PM</a>
</div>
<div class="post-content">
<p>Oh... I always wanted to know this:<br>
<br>
What compiler options do they use? What is the target architecture for the x86-32 version? Is it compiled for i386 or i686? What about Windows Vista? Do they use special compiler options that support older architectures yet optimized for new processors, like
GCC's "-mcpu" option?<br>
<br>
<br>
Regards,<br>
Vincent</p>
</div>
</div>
</li><li>
<div class="author">
<a class="button" href="/Niners/IRenderable"><img alt="IRenderable" class="avatar" src="http://ecn.channel9.msdn.com/o9/avatars/IRenderable_c9.jpg" title="IRenderable" /><span class="name">IRenderable</span></a><span class="caption">Pi</span>
</div>
<div class="post" id="c1923b13f029f479ea6569deb01633461">
<div class="post-header">
<a class="permalink" href="/Forums/Coffeehouse/189875-How-Windows-is-build-/1923b13f029f479ea6569deb01633461" title="Post Permalink">May 18, 2006 at 1:57 PM</a>
</div>
<div class="post-content">
<p><blockquote>
<div class="quoteAuthor">Manip wrote:</div>
<div class="quoteBody">
<p>Windows, just like any modern operating system isn't built in one large chunk.
</p>
</div>
</blockquote>
<br>
<br>
The BSDs are all built with one make. Though I think that is seriously hindering them.<br></p>
</div>
</div>
</li><li>
<div class="author">
<a class="button" href="/Niners/ScanIAm"><img alt="ScanIAm" class="avatar" src="http://files.channel9.msdn.com/avatar/f013ab0a-4f9a-4afd-83eb-edfca04c6b4d.jpg" title="ScanIAm" /><span class="name">ScanIAm</span></a><span class="caption">20 Minutes into the future</span>
</div>
<div class="post" id="c5a95c2723abb4866a0499deb0163348e">
<div class="post-header">
<a class="permalink" href="/Forums/Coffeehouse/189875-How-Windows-is-build-/5a95c2723abb4866a0499deb0163348e" title="Post Permalink">May 18, 2006 at 2:00 PM</a>
</div>
<div class="post-content">
<p><blockquote>
<div class="quoteAuthor">IRenderable wrote:</div>
<div class="quoteBody">
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Manip wrote:</strong>
<hr size="1">
<i>
<p>Windows, just like any modern operating system isn't built in one large chunk.
</p>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
The BSDs are all built with one make. Though I think that is seriously hindering them.<br>
</div>
</blockquote>
<br>
<br>
So, only one .bin (or whatever) is spit out when it is done?</p>
</div>
</div>
</li><li>
<div class="author">
<a class="button" href="/Niners/IRenderable"><img alt="IRenderable" class="avatar" src="http://ecn.channel9.msdn.com/o9/avatars/IRenderable_c9.jpg" title="IRenderable" /><span class="name">IRenderable</span></a><span class="caption">Pi</span>
</div>
<div class="post" id="c76ba78a683a94718a57e9deb016334ba">
<div class="post-header">
<a class="permalink" href="/Forums/Coffeehouse/189875-How-Windows-is-build-/76ba78a683a94718a57e9deb016334ba" title="Post Permalink">May 18, 2006 at 3:59 PM</a>
</div>
<div class="post-content">
<p><blockquote>
<div class="quoteAuthor">ScanIAm wrote:</div>
<div class="quoteBody">
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>IRenderable wrote:</strong>
<hr size="1">
<i>
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>Manip wrote:</strong>
<hr size="1">
<i>
<p>Windows, just like any modern operating system isn't built in one large chunk.
</p>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
The BSDs are all built with one make. Though I think that is seriously hindering them.<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
<br>
So, only one .bin (or whatever) is spit out when it is done?</div>
</blockquote>
<br>
<br>
You type in make and it builds all the packages, the kernel, drivers, everything.<br></p>
</div>
</div>
</li><li>
<div class="author">
<a class="button" href="/Niners/Sven%20Groot"><img alt="Sven Groot" class="avatar" src="http://ecn.channel9.msdn.com/o9/avatars/Sven Groot_c9.jpg" title="Sven Groot" /><span class="name">Sven Groot</span></a><span class="caption">Science knows it doesn't know everything; otherwise, it'd stop.</span>
</div>
<div class="post" id="c62186cd880234a0699099deb016334e4">
<div class="post-header">
<a class="permalink" href="/Forums/Coffeehouse/189875-How-Windows-is-build-/62186cd880234a0699099deb016334e4" title="Post Permalink">May 18, 2006 at 4:04 PM</a>
</div>
<div class="post-content">
<p><blockquote>
<div class="quoteAuthor">IRenderable wrote:</div>
<div class="quoteBody">You type in make and it builds all the packages, the kernel, drivers, everything.<br>
</div>
</blockquote>
<br>
I seriously doubt they have one makefile for the whole thing. Probably they just have one master makefile that recursively calls all other makefiles to build the whole system. Nothing wrong with that.</p>
</div>
</div>
</li><li>
<div class="author">
<a class="button" href="/Niners/Manip"><img alt="Manip" class="avatar" src="http://ecn.channel9.msdn.com/o9/avatars/Manip_c9.jpg" title="Manip" /><span class="name">Manip</span></a>
</div>
<div class="post" id="c28a8930ff7884d7885449deb0163350f">
<div class="post-header">
<a class="permalink" href="/Forums/Coffeehouse/189875-How-Windows-is-build-/28a8930ff7884d7885449deb0163350f" title="Post Permalink">May 18, 2006 at 4:06 PM</a>
</div>
<div class="post-content">
<p><blockquote>
<div class="quoteAuthor">Sven Groot wrote:</div>
<div class="quoteBody">
<blockquote>
<table class="quoteTable">
<tbody>
<tr>
<td valign="top" width="10"><img src="/Themes/AlmostGlass/images/icon-quote.gif"></td>
<td class="txt3"><strong>IRenderable wrote:</strong>
<hr size="1">
<i>You type in make and it builds all the packages, the kernel, drivers, everything.<br>
</i></td>
</tr>
</tbody>
</table>
</blockquote>
<br>
I seriously doubt they have one makefile for the whole thing. Probably they just have one master makefile that recursively calls all other makefiles to build the whole system. Nothing wrong with that.</div>
</blockquote>
<br>
<br>
Your right they do. <br>
<br>
If you want to learn more I suggest download the "leaked source." I'd imagine that you could view the makefiles in that *cough*</p>
</div>
</div>
</li><li>
<div class="author">
<a class="button" href="/Niners/L_Park1"><img alt="L_Park1" class="avatar" src="http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/avatars/c9classic/default.gif" title="L_Park1" /><span class="name">L_Park1</span></a>
</div>
<div class="post" id="c1ad6f51d2aac481a88109deb01633539">
<div class="post-header">
<a class="permalink" href="/Forums/Coffeehouse/189875-How-Windows-is-build-/1ad6f51d2aac481a88109deb01633539" title="Post Permalink">May 19, 2006 at 1:25 AM</a>
</div>
<div class="post-content">
<p><img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /> good idea with the "leaked source". Ups, we don't want trouble. How can you find it? How to search for it. <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /> A clue or something. <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-1.gif' alt='Smiley' /></p>
</div>
</div>
</li><li>
<div class="author">
<a class="button" href="/Niners/stevewo"><img alt="stevewo" class="avatar" src="http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/avatars/c9classic/default.gif" title="stevewo" /><span class="name">stevewo</span></a>
</div>
<div class="post" id="cac50ead59c9c4ef487539deb0163358f">
<div class="post-header">
<a class="permalink" href="/Forums/Coffeehouse/189875-How-Windows-is-build-/ac50ead59c9c4ef487539deb0163358f" title="Post Permalink">May 30, 2007 at 8:46 PM</a>
</div>
<div class="post-content">
<p><blockquote>
<div class="quoteAuthor">L_Park1 wrote:</div>
<div class="quoteBody">A ... basic question: how Windows is build? What programs are used? Details, details ... Of course, what is public, not internal stories.
<img src="/emoticons/emotion-1.gif" border="0"> We don't want trouble. <img src="/emoticons/emotion-1.gif" border="0"> How the team is structured? How many Labs etc. etc. Thanks</div>
</blockquote>
<br>
<br>
Yes indeed - how is Windows (NT/2000/.NET) built ?<br>
<br>
I do not believe there is anything confidential about how it is built - just the source itself is what is trade secret - not how to build it.<br>
<br>
This is my understanding based on <a href="http://www.tinykrnl.org">www.tinykrnl.org</a> which elaborates on Razzle.<br>
<br>
1) Get Windows Driver Kit - Vista release or 2003 DDK or Windows 2000 DDK - not sure which will work (someone please advise ?) - but I think the WDK should work because it has both the HAL, IFS, and normal DDK systems to build whereas other versions (to my understanding)
split these systems.<br>
<br>
2) Once you have such - open a command prompt - now I suppose you could do this with the tinykrnl.org "Dazzle" build environment which works by building TinyKrnl - which is designed just like the NT source tree - using the WDK from the command line with a special
command - dazzle.cmd<br>
<br>
3) Does anyone know:<br>
<br>
A) - Which DDK or Environment will work to use as a base to build NT be it leaked source or real source and/or NT 4.0 or 2000 or even DOS and regardless of processor ?<br>
<br>
B) - What machine and operating system should be used - Server, 2000, or NT4.0 itself - it seems weird making 2000 on 2000 and even weirder making NT4.0 in the Windows 2000 DDK which would not have been invented when NT4.0 was not even invented seeing you are
using the NT4.0 source !!! So what operating system and setup (for each and every permutation - mainly for NT 4.0 and 2000 x86) ?<br>
<br>
C) - What is the entire batch file contents of Razzle.CMD - can someone please show me this or send it to me ?<br>
<br>
D) - Can the TinyKRNL environment be used to build any NT (say leaked soruce) ? AND/OR can the dazzle.cmd script be changed TO build NT AND/OR TINYKRNL ?<br>
<br>
E) - Speaking of Tinykrnl - does any know of anyway to EASILY get up a Native Command Line Interface around the AUTOCHK.EXE execution point - I mean a command prompt that runs in place of SMSS.EXE or CSRSS.EXE ??? A real NTDLL.DLL based program. I think a lot
of people forget "WINDOWS" is really a "program" that runs on the NT "operating system". But yes, can we get up a command prompt before "WINDOWS" and if so how ?<br>
<br>
F) - Can ANY of the leaked source be built at all - even ntoskrnl.exe or hal.dll or osloader.exe or ntldr or kernel32.dll or explorer.exe or iexplore.exe or anything at all whatsoever and if so how ?<br>
<br>
I just want to know how to bulid something from this leaked source - anything at all - succesfully.<br>
<br>
This is not for public release or commercial use and just my own private use - I want to see if I can build/create/make my own operating system.<br>
<br>
I would really like to be able to create a NT kernel that can talk to other NT kernels direct and the boot process stops there - like BIOS starts POST etc etc then MBR then NTLDR/OSLOADER and HAL and Boot Drivers - just the absolute basics - then the Kernel
comes up (I haven't forotten the registry and hives) - and then SMSS.EXE, CSRSS.EXE and WINLOGON.EXE - then SERVICES.EXE just enough to "logon" by starting a service like seclogon - thus officially completing the boot process - then having a MPI (message passing
interface) system run that links (over infiniband or ethernet or hypertransport or FPGAs or whatever !!!) executable run and just run - like the system idle process - waiting for more information to be processed - to come from other machines.<br>
<br>
Any thoughts ?<br>
<br>
Obviously there would need to be a cluster controlling kernel that monitors all these and assigns different node identifiers etc etc but that is the basic idea - there could be a server version of this kernel - one single system image could also be created
by a Virtual HAL spread over all machines - so all CPUs and RAM and HDDs merge together into one final system that is completely unified.
<br>
<br>
Possible ?<br>
<br>
But keeping it simple for now - no Windows no Nothing - just a OS that uses the base NT core - up to end of boot which is defined as someone (including the computer itself) logging on to the computer system - so NT AUTHORITY\SYSTEM can "logon" - and the machine
can act as a cluster slave box...<br>
<br>
I know that can be done easy..<br>
<br>
And maybe even earlier than end of boot - like at Phase 0 or Phase 1 completion or in place of the actual system idle process ???<br>
<br>
Please email me at <a href="mailto:[email protected]">[email protected]</a> if anyone has any information or thoughts.<br>
<br>
I also have DOS source (as well as NT 4.0 and WIN2K) and on top of that have Award and Phoenix source and am not just creating my own Operating System - I am creating my own BIOS and - probably by using FPGAs - I am creating my own actual processor - all from leaked
source (to use as samples and not to steal) and pretty much a lot of red bull and no sleep - i mean NO sleep - nothing !!!<br>
<br></p>
</div>
</div>
</li><li>
<div class="author">
<a class="button" href="/Niners/PaoloM"><img alt="PaoloM" class="avatar" src="http://ecn.channel9.msdn.com/o9/avatars/PaoloM_c9.jpg" title="PaoloM" /><span class="name">PaoloM</span></a><span class="caption">Hypermedioc​rity</span>
</div>
<div class="post" id="c555375a3551841da92a49deb016335b8">
<div class="post-header">
<a class="permalink" href="/Forums/Coffeehouse/189875-How-Windows-is-build-/555375a3551841da92a49deb016335b8" title="Post Permalink">May 30, 2007 at 9:38 PM</a>
</div>
<div class="post-content">
<p>Brilliant <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-8.gif' alt='Expressionless' /></p>
</div>
</div>
</li><li>
<div class="author">
<a class="button" href="/Niners/RoyalSchrubber"><img alt="RoyalSchrubber" class="avatar" src="http://ecn.channel9.msdn.com/o9/avatars/RoyalSchrubber_c9.jpg" title="RoyalSchrubber" /><span class="name">Royal​Schrubber</span></a><span class="caption">One. How many time travellers does it take to change a lightbulb?</span>
</div>
<div class="post" id="c76fa871a15ba42b291519deb016335e1">
<div class="post-header">
<a class="permalink" href="/Forums/Coffeehouse/189875-How-Windows-is-build-/76fa871a15ba42b291519deb016335e1" title="Post Permalink">May 30, 2007 at 11:30 PM</a>
</div>
<div class="post-content">
<p>So that's what crazy nut professors do when not at university? <img src='http://ecn.channel9.msdn.com/o9/content/images/emoticons/emotion-7.gif' alt='Perplexed' /></p>
</div>
</div>
</li><li>
<div class="author">
<a class="button" href="/Niners/Izariath"><img alt="Izariath" class="avatar" src="http://mschnlnine.vo.llnwd.net/d1/Dev/App_Themes/C9/images/avatars/c9classic/default.gif" title="Izariath" /><span class="name">Izariath</span></a>
</div>
<div class="post" id="cd50b24f8b8b541ce9b839deb01633640">
<div class="post-header">
<a class="permalink" href="/Forums/Coffeehouse/189875-How-Windows-is-build-/d50b24f8b8b541ce9b839deb01633640" title="Post Permalink">Apr 16, 2010 at 1:49 PM</a>
</div>
<div class="post-content">
<p><blockquote><div class="quoteUser">stevewo said:</div><div class="quoteText">
<blockquote>
<div class="quoteAuthor">L_Park1 wrote:</div>
<div class="quoteBody">A ... basic question: how Windows is build? What programs are used? Details, details ... Of course, what is public, not internal stories.
<img src="/emoticons/emotion-1.gif" border="0"> We don't want trouble. <img src="/emoticons/emotion-1.gif" border="0"> How the team is structured? How many Labs etc. etc. Thanks</div>
</blockquote>
<br>
<br>
Yes indeed - how is Windows (NT/2000/.NET) built ?<br>
<br>
I do not believe there is anything confidential about how it is built - just the source itself is what is trade secret - not how to build it.<br>
<br>
This is my understanding based on <a href="http://www.tinykrnl.org">www.tinykrnl.org</a> which elaborates on Razzle.<br>
<br>
1) Get Windows Driver Kit - Vista release or 2003 DDK or Windows 2000 DDK - not sure which will work (someone please advise ?) - but I think the WDK should work because it has both the HAL, IFS, and normal DDK systems to build whereas other versions (to my understanding)
split these systems.<br>
<br>
2) Once you have such - open a command prompt - now I suppose you could do this with the tinykrnl.org "Dazzle" build environment which works by building TinyKrnl - which is designed just like the NT source tree - using the WDK from the command line with a special
command - dazzle.cmd<br>
<br>
3) Does anyone know:<br>
<br>
A) - Which DDK or Environment will work to use as a base to build NT be it leaked source or real source and/or NT 4.0 or 2000 or even DOS and regardless of processor ?<br>
<br>
B) - What machine and operating system should be used - Server, 2000, or NT4.0 itself - it seems weird making 2000 on 2000 and even weirder making NT4.0 in the Windows 2000 DDK which would not have been invented when NT4.0 was not even invented seeing you are
using the NT4.0 source !!! So what operating system and setup (for each and every permutation - mainly for NT 4.0 and 2000 x86) ?<br>
<br>
C) - What is the entire batch file contents of Razzle.CMD - can someone please show me this or send it to me ?<br>
<br>
D) - Can the TinyKRNL environment be used to build any NT (say leaked soruce) ? AND/OR can the dazzle.cmd script be changed TO build NT AND/OR TINYKRNL ?<br>
<br>
E) - Speaking of Tinykrnl - does any know of anyway to EASILY get up a Native Command Line Interface around the AUTOCHK.EXE execution point - I mean a command prompt that runs in place of SMSS.EXE or CSRSS.EXE ??? A real NTDLL.DLL based program. I think a lot
of people forget "WINDOWS" is really a "program" that runs on the NT "operating system". But yes, can we get up a command prompt before "WINDOWS" and if so how ?<br>
<br>
F) - Can ANY of the leaked source be built at all - even ntoskrnl.exe or hal.dll or osloader.exe or ntldr or kernel32.dll or explorer.exe or iexplore.exe or anything at all whatsoever and if so how ?<br>
<br>
I just want to know how to bulid something from this leaked source - anything at all - succesfully.<br>
<br>
This is not for public release or commercial use and just my own private use - I want to see if I can build/create/make my own operating system.<br>
<br>
I would really like to be able to create a NT kernel that can talk to other NT kernels direct and the boot process stops there - like BIOS starts POST etc etc then MBR then NTLDR/OSLOADER and HAL and Boot Drivers - just the absolute basics - then the Kernel
comes up (I haven't forotten the registry and hives) - and then SMSS.EXE, CSRSS.EXE and WINLOGON.EXE - then SERVICES.EXE just enough to "logon" by starting a service like seclogon - thus officially completing the boot process - then having a MPI (message passing
interface) system run that links (over infiniband or ethernet or hypertransport or FPGAs or whatever !!!) executable run and just run - like the system idle process - waiting for more information to be processed - to come from other machines.<br>
<br>
Any thoughts ?<br>
<br>
Obviously there would need to be a cluster controlling kernel that monitors all these and assigns different node identifiers etc etc but that is the basic idea - there could be a server version of this kernel - one single system image could also be created
by a Virtual HAL spread over all machines - so all CPUs and RAM and HDDs merge together into one final system that is completely unified.
<br>
<br>
Possible ?<br>
<br>
But keeping it simple for now - no Windows no Nothing - just a OS that uses the base NT core - up to end of boot which is defined as someone (including the computer itself) logging on to the computer system - so NT AUTHORITY\SYSTEM can "logon" - and the machine
can act as a cluster slave box...<br>
<br>
I know that can be done easy..<br>
<br>
And maybe even earlier than end of boot - like at Phase 0 or Phase 1 completion or in place of the actual system idle process ???<br>
<br>
Please email me at <a href="mailto:[email protected]">[email protected]</a> if anyone has any information or thoughts.<br>
<br>
I also have DOS source (as well as NT 4.0 and WIN2K) and on top of that have Award and Phoenix source and am not just creating my own Operating System - I am creating my own BIOS and - probably by using FPGAs - I am creating my own actual processor - all from leaked
source (to use as samples and not to steal) and pretty much a lot of red bull and no sleep - i mean NO sleep - nothing !!!<br>
<br>
</div></blockquote>
<p>A) You need to use DDK for Windows 2003 Server, plus the IFS DDK, for build only kernel, is posible that you need to modify the sources, due to lack the original modified libc library for kernel sources...</p>
<p> </p>
<p>B) The original Windows NT was targered as a new OS/2 operanting system independent from PC architecture, was built for a Microsoft internal architecture machine called Dazzle, that comes with the Intel i860 CPU, later ported to Microsoft MIPS featured architecture
called Jazz, and only later ported to i386 architecture... The original build system y source control tool, called SLM runs in Xenix powered servers with a special version of Microsoft commandline compiler & some third party tools from various vendors, like
Intel, DEC, IBM, Insignia Software, Motorola, etc...later Windows Versions (98, NT4 , 2000 , XP, 2003) were build using Windows NT servers, & the dependence on third party source creation tools ceased with Windows XP & the new versions of Microsoft commandline
C compilers...</p>
<p> </p>
<p>You need the newest DDK & IFS kit for build both Windows NT & 2000 sources because it comes with technologies for sustitute these early and confidential tools, but you need modify the sources in order to build with these new tools correctly...</p>
<p> </p>
<p>C) The Razzle build system is not only "Razzle.cmd", is a real build system, composed by makefiles, source tools, compilers and miscelaneous... Razzle first build the "Enviroment", constructs the libraries and various microsoft internal tools that comes
in a source code form, and only then, constructs an entire operanting system... Razzle.cmd is only a simple "launcher"...</p>
<p> </p>
<p>D) No, Dazzle can't be used for build an entire NT OS, only Kernel (NTOSKRNL.EXE)...</p>
<p> </p>
<p>E) No, doesn't exists a command line from Microsoft that can run in a AUTOCHECK point, TinyKrnl comes with a Alex Ionescu custom made
</p>
<p>SMSS.EXE that features a little interpreter, but is very limited, you can't execute a external program, only works the commands bundled with it...</p>
<p> </p>
<p>F) No... the Windows NT leaked source is at 95% lacks the RTL LibC, and third party tools and sources, but with it and a Software enginer programmer experience, you can build at least the Kernel, Loader, and a Basic Win32 System, the windows 2000 is at 35%,
you can't build anything with it, but you can port the NTOS modules to WRK sources & complete a fullfeatured Windows 2003 kernel...</p>
<p> </p>
<p>You can find a detailed Howtos for build at least a NT kernel using these leaked sources at <a href="http://www.betaarchive.co.uk">http://www.betaarchive.co.uk</a></p></p>
</div>
</div>
</li><li class=" microsoft">
<div class="author">
<a class="button" href="/Niners/Larry%20Osterman"><img alt="Larry Osterman" class="avatar" src="http://avatar.xboxlive.com/avatar/Gafoon/avatar-body.png" title="Larry Osterman" /><span class="name">Larry Osterman</span></a>
</div>
<div class="post" id="ce61a31b5901c42e994f99deb01633687">
<div class="post-header">
<a class="permalink" href="/Forums/Coffeehouse/189875-How-Windows-is-build-/e61a31b5901c42e994f99deb01633687" title="Post Permalink">Apr 18, 2010 at 11:19 AM</a>
</div>
<div class="post-content">
<p><blockquote><div class="quoteUser">Sven Groot said:</div><div class="quoteText">
<blockquote>
<div class="quoteAuthor">IRenderable wrote:</div>
<div class="quoteBody">You type in make and it builds all the packages, the kernel, drivers, everything.<br>
</div>
</blockquote>
<br>
I seriously doubt they have one makefile for the whole thing. Probably they just have one master makefile that recursively calls all other makefiles to build the whole system. Nothing wrong with that.</div></blockquote>
<p>Windows is built in two phases. The first (called "build") is done by running build.exe from the root of the tree. The second (called surprisingly "post-build") takes the binaries built during the first phase and assembles them into a structure on disk
which fairly accurately matches the actual DVD formats.</p>
<p> </p>
<p>The rules for actually performing the build are kept in a number of global makefiles.
</p>
<p> </p>
<p>Windows is built using a drop of the VC compiler and tools and a number of custom tools (most of which are in the DDK).</p></p>
</div>
</div>
</li><li>
<div class="author">
<a class="button" href="/Niners/spivonious"><img alt="Spivonious" class="avatar" src="http://ecn.channel9.msdn.com/o9/avatars/spivonious_c9.jpg" title="Spivonious" /><span class="name">spivonious</span></a>
</div>
<div class="post" id="c00bd06204b85477aadc39deb016336b4">
<div class="post-header">
<a class="permalink" href="/Forums/Coffeehouse/189875-How-Windows-is-build-/00bd06204b85477aadc39deb016336b4" title="Post Permalink">Apr 21, 2010 at 7:56 AM</a>
</div>
<div class="post-content">
<p><blockquote><div class="quoteUser">Larry Osterman said:</div><div class="quoteText">
<blockquote>
<div class="quoteUser">Sven Groot said:</div>
<div class="quoteText">*snip*</div>
</blockquote>
<p>Windows is built in two phases. The first (called "build") is done by running build.exe from the root of the tree. The second (called surprisingly "post-build") takes the binaries built during the first phase and assembles them into a structure on disk
which fairly accurately matches the actual DVD formats.</p>
<p> </p>
<p>The rules for actually performing the build are kept in a number of global makefiles.
</p>
<p> </p>
<p>Windows is built using a drop of the VC compiler and tools and a number of custom tools (most of which are in the DDK).</p>
</div></blockquote>
<p>I'm curious as to the size of things. Larry, since you're familiar with the audio system, can you give any details on it? Number of libraries, lines of code, languages used? Is there still code in there from NT 3?</p></p>
</div>
</div>
</li>
</ul>
<ul class="paging">
<li>
<span class="current">1</span>
</li>
<li>
<a href="/Forums/Coffeehouse/189875-How-Windows-is-build-?page=2">2</a>
</li><li class="next">
<a href="/Forums/Coffeehouse/189875-How-Windows-is-build-?page=2">next</a>
</li>
</ul>
<div class="comments add-comment">
<div class="comments-header">
<h2>Add your 2¢</h2>
</div>
<a class="add button" href="https://login.live.com/login.srf?wa=wsignin1.0&rpsnv=11&ct=1295247140&rver=6.1.6195.0&wp=MBI&wreply=http:%2F%2Fchannel9.msdn.com%2FForums%2FCoffeehouse%2F189875-How-Windows-is-build-&id=47159">sign in to reply</a>
</div>
</div>
<div class="pageNavHolder">
</div>
<div class="sidebarHolder">
</div>
</div>
<div class="footer">
<div class="container">
<a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/us/" class="ccl">
<img alt="Creative Commons License" src="/styles/images/somerights20.png"/>
</a>
<p class="copyright">
© 2010 Microsoft. <a href="/info">Except where designated</a> as licensed by <br/>
<a rel="license" href="http://creativecommons.org/licenses/by-nc-nd/3.0/us/">Creative Commons Attribution-Noncommercial-No Derivative Works 3.0 License</a>,<br/>
Microsoft reserves all rights associated with the materials on this site.
</p>
<ul>
<li class="subscribe"><a href="/Feeds/RSS">Subscribe to Channel 9</a></li>
<li class="followus"><a href="http://twitter.com/ch9">Follow Us @Ch9</a></li>
<li class="feedback"><a href="http://r.ch9.ms/feedback">Feedback</a></li>
<li class="privacy"><a href="http://privacy.microsoft.com">Privacy Statement</a></li>
<li class="termsofuse"><a href="http://www.microsoft.com/info/cpyright.mspx">Terms Of Use</a></li>
<li class="codeofconduct"><a href="/CodeOfConduct">Code Of Conduct</a></li>
<li class="contactus"><a href="/ContactUs">Contact Us</a></li>
</ul>
</div>
</div>
<script src="/scripts/comments.js?v=qoTt0q9r3z2pobF4j9r-rujC8cM1" type="text/javascript"></script>
<script src="/scripts/markDirty.js?v=qoTt0q9r3z2pobF4j9r-rujC8cM1" type="text/javascript"></script>
<script src="/scripts/tiny_mce_loader.js?v=qoTt0q9r3z2pobF4j9r-rujC8cM1" type="text/javascript"></script>
<script src="/scripts/syntaxhighlighter.js?v=qoTt0q9r3z2pobF4j9r-rujC8cM1" type="text/javascript"></script>
<script src="/scripts/jquery/plugins/jquery.scrollTo-min.js?v=qoTt0q9r3z2pobF4j9r-rujC8cM1" type="text/javascript"></script>
<!--[if gt IE 8]><script src="/scripts/ie9_perf.js?v=qoTt0q9r3z2pobF4j9r-rujC8cM1" type="text/javascript"></script><![endif]--><!-- START OF SmartSource Data Collector TAG -->
<!-- Copyright (c) 1996-2009 WebTrends Inc. All rights reserved. -->
<!-- Version: MS.3.0.0 -->
<script src="/scripts/wt.js?v=qoTt0q9r3z2pobF4j9r-rujC8cM1" type="text/javascript"></script>
<!-- Warning: The two script blocks below must remain inline. Moving them to an external -->
<!-- JavaScript include file can cause serious problems with cross-domain tracking. -->
<script type="text/javascript">
//<![CDATA[
var _tag=new WebTrends();
_tag.dcsid="dcs1wotjh10000w0irc493s0e_6x1g";
_tag.fpcdom=".channel9.msdn.com";
_tag.dcsGetId();
_tag.trackevents=true;
//]]>>
</script>
<script type="text/javascript">
//<![CDATA[
// Add custom parameters here.
//_tag.DCSext.param_name=param_value;
_tag.dcsCollect();
//]]>>
</script>
<noscript>
<div>
<img alt="DCSIMG" id="DCSIMG" width="1" height="1" src="http://m.webtrends.com/dcs1wotjh10000w0irc493s0e_6x1g/njs.gif?dcsuri=/nojavascript&WT.js=No&WT.tv=MS.3.0.0"/>
</div>
</noscript>
<!-- END OF SmartSource Data Collector TAG -->
</body>
</html>