Download WinDriver™ USB User`s Manual - Version 10.1.1

Transcript
Distributing Your Driver
11.4.2 User-Mode Hardware Control
Application/Shared Objects
Copy the hardware control application/shared object that you created with WinDriver to the
target.
If your hardware control application/shared object uses libwdapi1011.so (as is the case for the
sample and generated DriverWizard WinDriver projects), copy this file from the WinDriver/
lib directory on the development machine to the target's library directory—/usr/lib for 32-bit
x86 targets, or /usr/lib64 for 64-bit x86 targets.
If you are distributing a 32-bit application/shared object to a target 64-bit platform [A.2]—
copy libwdapi1011_32.so from the WinDriver/lib directory to your distribution package,
rename the copy to libwdapi1011.so, and copy the renamed file to the target's /usr/lib
directory.
Since your hardware control application/shared object does not have to be matched against
the kernel version number, you are free to distribute it as binary code (if you wish to protect
your source code from unauthorized copying) or as source code. Note that under the license
agreement with Jungo you may not distribute the source code of the libwdapi1011.so shared
object.
If you select to distribute your source code, make sure you do not distribute your
WinDriver license string, which is used in the code.
© Jungo Software Technologies 2005–2010
92