RE: Custom Build Command, CEC entry, or BIB file?
From: mpinton (mpinton_at_discussions.microsoft.com)
Date: 10/06/04
- Next message: Steve: "Re: CodePalette for Driver Development"
- Previous message: Piet: "Re: How emulate re-insert PCMCIA card on platform CE.NET 4.1"
- In reply to: Nick: "Custom Build Command, CEC entry, or BIB file?"
- Next in thread: Steve Maillet \(eMVP\): "Re: Custom Build Command, CEC entry, or BIB file?"
- Reply: Steve Maillet \(eMVP\): "Re: Custom Build Command, CEC entry, or BIB file?"
- Messages sorted by: [ date ] [ thread ]
Date: Wed, 6 Oct 2004 07:49:06 -0700
Hi Nick,
What compiler and/or linker options did you set (or need to be set) to get a
driver DLL to produce the .REL file?
Thanks,
Michel
"Nick" wrote:
> What is the "best" way to get a driver DLL file included in NK.BIN?
>
> The quickest way for me to test changes in my PCI driver is to "Build
> Selected Feature" then "Make Image" from the IDE. I have BIB entries and a
> custom build step associated with my driver feature to help with this (see
> #2 below). I have to eventually give my platform and it's configuration
> other developers for them to maintain. In my mind, my method works but I'm
> curious what others do to solve this problem.
>
> I can see four ways. I'm currently using method #2.
>
> 1. Make the file entry in the BIB file point to the location where the file
> is created after a compile. I'm thinking
> $(_PROJECTOAKROOT)\target\$(_TGTCPU)\WINCEDEBUG\mydriver.dll. I have not
> tried this but it seems like it would work.
>
> 2. Make the file entry in the BIB file point to $(_FLATRELEASEDIR) and have
> a custom build command at pre-make-image time that copies the DLL and
> related files into $(_FLATRELEASEDIR). My custom build also copies .REL,
> ..MAP, and .PDB into the $(_FLATRELEASEDIR).
>
> 3. Add the copy command (like in #2) to the CEC file.
>
> 4. Use a command line build instead of the IDE. Set WINCEREL=1, build, then
> makeimg.
>
> Thanks,
> Nick.
>
>
>
>
- Next message: Steve: "Re: CodePalette for Driver Development"
- Previous message: Piet: "Re: How emulate re-insert PCMCIA card on platform CE.NET 4.1"
- In reply to: Nick: "Custom Build Command, CEC entry, or BIB file?"
- Next in thread: Steve Maillet \(eMVP\): "Re: Custom Build Command, CEC entry, or BIB file?"
- Reply: Steve Maillet \(eMVP\): "Re: Custom Build Command, CEC entry, or BIB file?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|