<?xml version="1.0"?>
<?xml-stylesheet type="text/css" href="http://sdcc.sourceforge.net/mediawiki/skins/common/feed.css?303"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
		<id>http://sdcc.sourceforge.net/mediawiki/index.php?title=HOWTO_Make_Snapshot_Builds_on_the_Developer_Machine&amp;feed=atom&amp;action=history</id>
		<title>HOWTO Make Snapshot Builds on the Developer Machine - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://sdcc.sourceforge.net/mediawiki/index.php?title=HOWTO_Make_Snapshot_Builds_on_the_Developer_Machine&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://sdcc.sourceforge.net/mediawiki/index.php?title=HOWTO_Make_Snapshot_Builds_on_the_Developer_Machine&amp;action=history"/>
		<updated>2013-06-19T20:16:04Z</updated>
		<subtitle>Revision history for this page on the wiki</subtitle>
		<generator>MediaWiki 1.20.2</generator>

	<entry>
		<id>http://sdcc.sourceforge.net/mediawiki/index.php?title=HOWTO_Make_Snapshot_Builds_on_the_Developer_Machine&amp;diff=23&amp;oldid=prev</id>
		<title>Borutr: Created page with &quot;I verified the following steps on Linux FC6 and Fedora 7 machines: * create the sdcc-builder account * log in as sdcc-builder &lt;pre&gt; su -l sdcc-builder &lt;/pre&gt; * checkout the sd...&quot;</title>
		<link rel="alternate" type="text/html" href="http://sdcc.sourceforge.net/mediawiki/index.php?title=HOWTO_Make_Snapshot_Builds_on_the_Developer_Machine&amp;diff=23&amp;oldid=prev"/>
				<updated>2012-12-04T10:00:43Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;I verified the following steps on Linux FC6 and Fedora 7 machines: * create the sdcc-builder account * log in as sdcc-builder &amp;lt;pre&amp;gt; su -l sdcc-builder &amp;lt;/pre&amp;gt; * checkout the sd...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;I verified the following steps on Linux FC6 and Fedora 7 machines:&lt;br /&gt;
* create the sdcc-builder account&lt;br /&gt;
* log in as sdcc-builder&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
su -l sdcc-builder&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* checkout the sdcc-cf subproject to the sdcc-builder home directory:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc-cf ~&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* backup the original .profile:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mv ~/.profile ~/.profile.orig&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* add the line '. ~/.sdcc_builder/profile' at the end of ~/.profile file:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
( echo; echo '. ~/.sdcc_builder/profile' ) | cat ~/.profile.orig - &amp;gt; ~/.profile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* update the environment:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
. .profile&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* install gputils in order to be able to compile pic and pic16 libraries: run make from ~/packages/build.gputils directory:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
make -C ~/packages/build.gputils&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* create the build/sdcc-build directory&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir -p ~/build/sdcc-build&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* checkout sdcc-build subproject into it and make an executable copy of sdcc-build-bootstrap.sh:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
svn co https://sdcc.svn.sourceforge.net/svnroot/sdcc/trunk/sdcc-build ~/build/sdcc-build/&lt;br /&gt;
cp ~/build/sdcc-build/sdcc-build-bootstrap.sh ~/build&lt;br /&gt;
chmod +x ~/build/sdcc-build-bootstrap.sh&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* create the local machine makefile in the ~/.sdcc-build/local directory, usually by copying and modifying one of the existing ~/build/sdcc-build/local/*.mk. The local machine makefile has to be named &amp;lt;hostname&amp;gt;.mk. The &amp;lt;hostname&amp;gt; is the string returned by the &amp;quot;hostname&amp;quot; command up to the (excluding) first dot.&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
mkdir -p ~/.sdcc_builder/local&lt;br /&gt;
cp ~/build/sdcc-build/local/&amp;lt;one of existing&amp;gt;.mk ~/.sdcc_builder/local/${HOSTNAME}.mk&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* run the sdcc-build/sdcc-build-bootstrap.sh script:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
~/build/sdcc-build-bootstrap.sh crontab-spawn 2&amp;gt;&amp;amp;1 | tee ~/build/log.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
or if you want to have a detailed log:&lt;br /&gt;
&amp;lt;pre&amp;gt;&lt;br /&gt;
~/build/sdcc-build-bootstrap.sh crontab-spawn MAKESILENTFLAG=&amp;quot;&amp;quot; 2&amp;gt;&amp;amp;1 | tee ~/build/log.txt&lt;br /&gt;
&amp;lt;/pre&amp;gt;&lt;br /&gt;
* view ~/build/log.txt to see all the errors...&lt;br /&gt;
And where are the built packages? You'll find them in ~/build/htdocs/snapshots/&amp;lt;platform&amp;gt; directory. Regression test results are in ~/build/htdocs/regression_test_results/&amp;lt;platform&amp;gt; directory.&lt;br /&gt;
&lt;br /&gt;
If you have additional questions / comments / improvements about the topic, please send a mail to sdcc-devel mailing list &amp;lt;sdcc-devel AT lists.sourceforge.net&amp;gt;.&lt;br /&gt;
&lt;br /&gt;
[https://sourceforge.net/users/borutr/ Borut]&lt;/div&gt;</summary>
		<author><name>Borutr</name></author>	</entry>

	</feed>