Q: How long is typical time of doing blddemo -q on a core duo with 1GB RAM? Is an hour acceptable?
A: 1. An hour is long, but you don't tell me what version of Windows CE that you are building.
2. Pauses during sysgen are normal. Honestly, I don't know what is going on during the pause because I have never looked into it, and to me it is not important.
3. If you are interested in building quicker, you should study my many articles about the build system.
4. I rarely sysgen, so the time that it takes to sysgen is not important to me.
Q: If my modification is only on project.dat or bib, which build should I do?
My first reaction was “haven’t I written about that already?” But it turns out that I have not, so I thought that the best answer to the question is to write about it. To write about it, I will answer the question directly, then ask a few more questions and then answer them.
If my modification is only on project.dat or bib, which build should I do?
You could use BuildRel (see
Platform Builder: Using Bldrel) to copy the files, or faster copy the files using the command line or Windows Explorer. You can avoid the copy step altogether by deleting the environment variable BUILDREL_USE_COPY.
I changed an environment variable, what should I build?
This one isn’t as easy because it depends on the environment variable. So, when in doubt run a clean Sysgen (blddemo clean –q) (See
Platform Builder: When to do a clean build?). But if you know, then you should know what to build. Here are some rules of thumb:
1. SYSGEN variable – run a clean sysgen
2. IMG variables – for the most part, you can just clean build your Platform (See
Platform Builder: Using Build.exe) and run makeimg, but even building the platform may not be necessary. Depends on what the variable does in your platform.
3. BSP variables – again, depends on your platform.
I changed a driver in the Public tree, what should I build?
I changed a driver in my Platform, what should I build?
I changed code in my bootloader, what should I build?
For more on the Platform Builder build system take a look at: Summary of Building Windows CE which lists the articles that I have written about building Windows CE using Platform Builder.
Copyright © 2009 – Bruce Eitman
All Rights Reserved