RE: Custom Build Command, CEC entry, or BIB file?

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: mpinton (mpinton_at_discussions.microsoft.com)
Date: 10/06/04


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.
>
>
>
>



Relevant Pages

  • lucent modem driver compilation failure
    ... I'm trying to compile an installable module for my internal modem ... and driver work as they were fully functional under RH7.3. ... 00:07.2 USB Controller: VIA Technologies, ... If not present use the ltmodem-8.22a5.tar.gz compiler kit. ...
    (linux.redhat.misc)
  • lucent modem driver compilation failure
    ... I'm trying to compile an installable module for my internal modem ... and driver work as they were fully functional under RH7.3. ... 00:07.2 USB Controller: VIA Technologies, ... If not present use the ltmodem-8.22a5.tar.gz compiler kit. ...
    (comp.os.linux.hardware)
  • Re: Microfocus Netexpress question : COBSQL vs openESQL
    ... >couldnt connect with the oracle database specified in the program. ... It may be missing an ODBC driver and/or data source. ... You also need an entry for the data source in tnsnames.ora. ... precompiler directives to the precompiler and compiler directives to ...
    (comp.lang.cobol)
  • Re: Newbie! Creating correct inf file
    ... Nick ... >> thanks Denis. ... I don't want to write a bad driver in a few days ... >>> involved in making drivers. ...
    (microsoft.public.development.device.drivers)
  • Re: Build device driver using Microsoft Visual C++ 2005
    ... If its true that SoftIce has been flushed then driver development just got ... since SoftIce has been flushed. ... anything other than the DDK compiler to build a driver. ... on your driver and then come back and talk about PDB files. ...
    (microsoft.public.development.device.drivers)