<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:wfw="http://wellformedweb.org/CommentAPI/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
	xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
	>

<channel>
	<title>Волчьи IT-мысли &#187; build</title>
	<atom:link href="http://sww-it.ru/tag/build/feed" rel="self" type="application/rss+xml" />
	<link>http://sww-it.ru</link>
	<description>Компьютерная безопасность, IT, антивирусная индустрия.</description>
	<lastBuildDate>Wed, 18 Jan 2012 11:20:32 +0000</lastBuildDate>
	<language>en</language>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=</generator>
		<item>
		<title>Getting Started with the Windows Driver Development Environment</title>
		<link>http://sww-it.ru/2010-05-28/465?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=getting-started-with-the-windows-driver-development-environment</link>
		<comments>http://sww-it.ru/2010-05-28/465#comments</comments>
		<pubDate>Fri, 28 May 2010 12:13:30 +0000</pubDate>
		<dc:creator>SWW</dc:creator>
				<category><![CDATA[Без перевода]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[wdk]]></category>
		<category><![CDATA[драйвер]]></category>

		<guid isPermaLink="false">http://sww-it.ru/?p=465</guid>
		<description><![CDATA[<p>Getting started with Microsoft Windows device drivers can be difficult, even for experienced developers. This paper presents an overview of the debugging and testing tools that developers use to create a device driver for Windows operating systems. In particular, the paper examines ways to find and fix bugs early in development, to help you produce [...]]]></description>
			<content:encoded><![CDATA[<p><em>Getting started with Microsoft Windows device drivers can be difficult, even for experienced developers. This paper presents an overview of the debugging and testing tools that developers use to create a device driver for Windows operating systems. In particular, the paper examines ways to find and fix bugs early in development, to help you produce a high-quality device driver.</p>
<p>WDK MVP Don Burn shares his experience and insights about the hardware and software you need for driver development, how to get started with the WDK build environments and Build utility, and tips, techniques, and tools for all phases of development.</em></p>
<p>Неплохая <a href="http://www.microsoft.com/whdc/driver/foundation/drvdev_intro.mspx">статья для начинающих</a>. Рекомендуется к просмотру.</p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fsww-it.ru%2F2010-05-28%2F465&amp;title=Getting%20Started%20with%20the%20Windows%20Driver%20Development%20Environment" id="wpa2a_2"><img src="http://sww-it.ru/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://sww-it.ru/2010-05-28/465/feed</wfw:commentRss>
		<slash:comments>1</slash:comments>
		</item>
		<item>
		<title>Супер BUILD</title>
		<link>http://sww-it.ru/2009-02-22/11?utm_source=rss&#038;utm_medium=rss&#038;utm_campaign=%25d1%2581%25d1%2583%25d0%25bf%25d0%25b5%25d1%2580-build</link>
		<comments>http://sww-it.ru/2009-02-22/11#comments</comments>
		<pubDate>Sun, 22 Feb 2009 14:04:45 +0000</pubDate>
		<dc:creator>SWW</dc:creator>
				<category><![CDATA[Программирование]]></category>
		<category><![CDATA[build]]></category>
		<category><![CDATA[wdk]]></category>
		<category><![CDATA[драйвер]]></category>

		<guid isPermaLink="false">http://sww-it.ru/?p=11</guid>
		<description><![CDATA[<p>Рано или поздно драйверописатель сталкивается с необходимостью использовать в своем проекте чужой код. Обычно, для сборки драйвера используется утилита BUILD, идущая в поставке WDK. Буквально недавно я столкнулся с очевидной проблемой данного инструмента:</p> <p>С:\path1\path2\path3&#62;build -g BUILD: Compile and Link for x86 BUILD: Loading c:\winddk\6001\build.dat&#8230; BUILD: Computing Include file dependencies: BUILD: Start time: Fri Feb 06 [...]]]></description>
			<content:encoded><![CDATA[<p>Рано или поздно драйверописатель сталкивается с необходимостью использовать в своем проекте чужой код. Обычно, для сборки драйвера используется утилита <strong>BUILD</strong>, идущая в поставке WDK. Буквально недавно я столкнулся с очевидной проблемой данного инструмента:</p>
<p>С:\path1\path2\path3&gt;<span style="color: #3366ff;">build -g</span><br />
<span style="color: #339966;">BUILD: Compile and Link for x86<br />
BUILD: Loading c:\winddk\6001\build.dat&#8230;<br />
BUILD: Computing Include file dependencies:<br />
BUILD: Start time: Fri Feb 06 15:50:51 2009</span><br />
<span style="color: #ff0000;">errors in directory С:\path1\path2\path3</span></p>
<p><span style="color: #ff0000;">Ignoring invalid directory prefix in SOURCES= entry: D:\somepath1\somepath2\somepath3\somepath4\somepath5\file.c</span></p>
<p><span style="color: #ff0000;"><span id="more-11"></span><span style="color: #000000;">Поиск в гугле вывел меня на <a href="http://www.osronline.com/showThread.cfm?link=59562" target="_blank">ветку</a> форума OSR Online:</span></span></p>
<blockquote><p><span style="color: #000000;">&#171;Welcome to the wonderful world of BUILD. It can only deal with source code in the same or parent directory of the &#171;sources&#187; file. It cannot use source files from arbitrary locations.&#187;</span></p></blockquote>
<p><span style="color: #000000;"> Таким образом, подключить в свой проект чужие исходные коды по произвольному пути не получится. Выходов из сложившейся ситуации я вижу два:</span></p>
<ol>
<li><span style="color: #000000;">Чужой код должен быть реализован в виде статической библиотеки. У этого способа есть как очевидные плюсы, так и очевидные минусы. Одним из минусов я считаю то, что разработчику, который пишет код для вас, придется часто собирать эту самую библиотеку или это должна делать build-машина.</span></li>
<li>Использовать преимущества современных <a href="http://ru.wikipedia.org/wiki/Система_управления_версиями" target="_blank">систем управления версиями</a>. Проблема решается выкачиванием нужного проекта в директорию, которая доступна инструменту <strong>BUILD</strong>. Свою проблему я решил именно так. Конечно, не стоит забывать и о синхронизации выкаченных файлов.</li>
</ol>
<p>Иногда на форумах появляются вопросы, в которых люди спрашивают можно ли управлять инструментом <strong>BUILD</strong>. В MSDN есть отдельный раздел, посвященный этой утилите: <strong>Win32 and COM Development -&gt; Windows Driver Kit -&gt; Driver Development Tools -&gt; Tools for Building Drivers -&gt; Build</strong>. Подраздел <strong>Build Utility Macros</strong> самый интересный.</p>
<p><span style="color: #000000;"> </span></p>
<p><a class="a2a_dd a2a_target addtoany_share_save" href="http://www.addtoany.com/share_save#url=http%3A%2F%2Fsww-it.ru%2F2009-02-22%2F11&amp;title=%D0%A1%D1%83%D0%BF%D0%B5%D1%80%20BUILD" id="wpa2a_4"><img src="http://sww-it.ru/wp-content/plugins/add-to-any/share_save_171_16.png" width="171" height="16" alt="Share"/></a></p>]]></content:encoded>
			<wfw:commentRss>http://sww-it.ru/2009-02-22/11/feed</wfw:commentRss>
		<slash:comments>8</slash:comments>
		</item>
	</channel>
</rss>

