I'm trying to figure out how PB projects choose where the output files
go and are named. For example if I create my own project named TEST it
outputs as TEST.exe.

Fine... but I'm using the Emulator and it uses ddi.dll as its display
driver. The source code for that (from what I understand) comes from
the vgaflat project located in PLATFORM/EMULATOR/src/drivers/display.
How does the vgaflat project goes from that to outputting ddi.dll?
Where are the bib files for vgaflat?

Also... what are the differences between the projects under PLATFORM
and public/common...? It seems like there is duplicate projects?

Thanks!

Re: Output file name / location? by Dean

Dean
Thu Dec 29 15:06:59 CST 2005

The emulator display driver is included with the emulator platform.bib file.
If you look at this file (Emulator\Files\platform.bib) you'll see the
ddi_emul display driver being included as ddi.dll.

The display driver is being built as ddi_emul.dll, because that's how the
sources file for that driver is configured. The bib file renames it, so
that when it is included in the image it is actually called ddi.dll.

Stuff in the Platform\xxx directories is BSP specific code, while stuff in
Public\xxx is common code. BSP code can be changed as needed for a
particular BSP, while the common code should never be touched (it's shared
by all projects). It is often the case that there is something in the
common code that is *almost* what you need. Instead of modifying it there,
you just clone (copy, basically) it into your BSP and make whatever
modifications you need.

The actual target names can be anything, they are defined in the sources
file. When you create a new project via the IDE, it's got to use something
as the name, so it defaults to the name of the project. You could always
edit the files and change them to something else if you like.

--
Dean Ramsier - eMVP
BSQUARE Corporation


"Safiiru no Baka" <wtfxxx@gmail.com> wrote in message
news:1135886652.686397.199080@z14g2000cwz.googlegroups.com...
> I'm trying to figure out how PB projects choose where the output files
> go and are named. For example if I create my own project named TEST it
> outputs as TEST.exe.
>
> Fine... but I'm using the Emulator and it uses ddi.dll as its display
> driver. The source code for that (from what I understand) comes from
> the vgaflat project located in PLATFORM/EMULATOR/src/drivers/display.
> How does the vgaflat project goes from that to outputting ddi.dll?
> Where are the bib files for vgaflat?
>
> Also... what are the differences between the projects under PLATFORM
> and public/common...? It seems like there is duplicate projects?
>
> Thanks!
>



Re: Output file name / location? by Safiiru

Safiiru
Thu Dec 29 15:17:08 CST 2005

Thanks a lot Dean, this will go a long way into helping me.

I see you work for BSQUARE, I believe my company is in talks w/ you
guys to get some contract help.


Re: Output file name / location? by Safiiru

Safiiru
Thu Dec 29 15:19:45 CST 2005

One more question... where is the output filename defined in a project?


Re: Output file name / location? by Dean

Dean
Thu Dec 29 16:05:01 CST 2005

In CE5, everything builds on top of the command line, therefore everything
is controlled by a sources file. Doesn't matter if it's a project, or a
BSP, a directory in \Public, or ... Look in the sources file of your
project, you'll see a TARGETNAME entry. That will be the name of your
output file.

--
Dean Ramsier - eMVP
BSQUARE Corporation


"Safiiru no Baka" <wtfxxx@gmail.com> wrote in message
news:1135891185.867160.74140@g49g2000cwa.googlegroups.com...
> One more question... where is the output filename defined in a project?
>



Re: Output file name / location? by Steve

Steve
Fri Dec 30 10:26:34 CST 2005

The build system is explained in a lot of detail in the Official Microsoft
course MSDN 2540N. ( you can get a self paced version of the source from
http://www.EmbeddedFusion.com/MSDN2540N.htm )

--
Steve Maillet
EmbeddedFusion
www.EmbeddedFusion.com
smaillet at EmbeddedFusion dot com