<?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=Building_SDCC_on_NT4:_A_proposal&amp;feed=atom&amp;action=history</id>
		<title>Building SDCC on NT4: A proposal - Revision history</title>
		<link rel="self" type="application/atom+xml" href="http://sdcc.sourceforge.net/mediawiki/index.php?title=Building_SDCC_on_NT4:_A_proposal&amp;feed=atom&amp;action=history"/>
		<link rel="alternate" type="text/html" href="http://sdcc.sourceforge.net/mediawiki/index.php?title=Building_SDCC_on_NT4:_A_proposal&amp;action=history"/>
		<updated>2013-05-18T22:19:28Z</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=Building_SDCC_on_NT4:_A_proposal&amp;diff=74&amp;oldid=prev</id>
		<title>Borutr: Created page with &quot;From sdcc-user-admin@lists.sourceforge.net Tue Apr 25 04:59:03 2000&lt;br /&gt; Return-Path: &amp;lt;sdcc-user-admin@lists.sourceforge.net&amp;gt;&lt;br /&gt; Date: Tue, 25 Apr 2000 11:49:17 0200...&quot;</title>
		<link rel="alternate" type="text/html" href="http://sdcc.sourceforge.net/mediawiki/index.php?title=Building_SDCC_on_NT4:_A_proposal&amp;diff=74&amp;oldid=prev"/>
				<updated>2012-12-04T20:22:37Z</updated>
		
		<summary type="html">&lt;p&gt;Created page with &amp;quot;From sdcc-user-admin@lists.sourceforge.net Tue Apr 25 04:59:03 2000&amp;lt;br /&amp;gt; Return-Path: &amp;lt;sdcc-user-admin@lists.sourceforge.net&amp;gt;&amp;lt;br /&amp;gt; Date: Tue, 25 Apr 2000 11:49:17 0200...&amp;quot;&lt;/p&gt;
&lt;p&gt;&lt;b&gt;New page&lt;/b&gt;&lt;/p&gt;&lt;div&gt;From sdcc-user-admin@lists.sourceforge.net Tue Apr 25 04:59:03 2000&amp;lt;br /&amp;gt;&lt;br /&gt;
Return-Path: &amp;amp;lt;sdcc-user-admin@lists.sourceforge.net&amp;amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Date: Tue, 25 Apr 2000 11:49:17 0200 (MEST)&amp;lt;br /&amp;gt;&lt;br /&gt;
To: sdcc-user@lists.sourceforge.net&amp;lt;br /&amp;gt;&lt;br /&gt;
From: Felix Daners &amp;amp;lt;felix_daners@gmx.ch&amp;amp;gt;&amp;lt;br /&amp;gt;&lt;br /&gt;
Subject: [Sdcc-user] Building SDCC on NT4: A proposal&amp;lt;br /&amp;gt;&lt;br /&gt;
Sender: sdcc-user-admin@lists.sourceforge.net&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Could anybody test this procedure? It seems to be a little bit shorter and&amp;lt;br /&amp;gt;&lt;br /&gt;
does not need to copy around the bash shell tools to a /bin directory&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
1) Install the CYGWIN 20.1 FULL package you get&amp;lt;br /&amp;gt;&lt;br /&gt;
from http://sourceware.cygnus.com/cygwin/&amp;lt;br /&amp;gt;&lt;br /&gt;
2) Mount some directories: Start the Bash shell&amp;lt;br /&amp;gt;&lt;br /&gt;
When the starting Bash shell complains about a missing /tmp directory,&amp;lt;br /&amp;gt;&lt;br /&gt;
you must mount one.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Bash$ mount -f D:\\Temp /tmp&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
(change the cygwin path according to your installation)&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Bash$ mount -f D:\\PROGRAMME\\cygnus\\CYGWIN-b20\\H-I586-cygwin32\\bin&amp;lt;br /&amp;gt;&lt;br /&gt;
/bin&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Bash$ mount -f D:\\PROGRAMME\\cygnus\\CYGWIN-b20\\share&amp;lt;br /&amp;gt;&lt;br /&gt;
/cygnus/CYGWIN-b20/share&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
3) Unzip the sdcc source kit to any directory and make this the&amp;lt;br /&amp;gt;&lt;br /&gt;
working directory in the bash shell you have already open.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Bash$ cd D:/sdcc&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
4) When I got the source kit, it was not clean. There were some objects&amp;lt;br /&amp;gt;&lt;br /&gt;
left in the avr package which were compiled on a linux machine I guess.&amp;lt;br /&amp;gt;&lt;br /&gt;
Take a Explorer and delete *.o files in the directory sdcc/src/avr&amp;lt;br /&amp;gt;&lt;br /&gt;
directory.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
5) Run the configure script&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Bash$ sh -c &amp;quot;./configure --prefix=/sdcc_2_2_0a&amp;quot;&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
This prepares the source to install the compiler in the D:\sdcc_2_2_0a&amp;lt;br /&amp;gt;&lt;br /&gt;
directory&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
It takes quite a while.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
6) Run make&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Bash$ make&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
It takes a while to build the sdcc compiler and tools. Because the&amp;lt;br /&amp;gt;&lt;br /&gt;
curses package is not included in the CYGWIN B20.1 FULL installation,&amp;lt;br /&amp;gt;&lt;br /&gt;
the simulators will not be built. You must compile and install the&amp;lt;br /&amp;gt;&lt;br /&gt;
curses package first if you want to build the simulators.&amp;lt;br /&amp;gt;&lt;br /&gt;
I did not do this because I do not consider to use the simulator.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
7) Run make install&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
Bash$ make install&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
This will copy most of the files to the destination you have defined&amp;lt;br /&amp;gt;&lt;br /&gt;
in step 5.&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
8) Copy the binaries .exe from the /sdcc/bin to the destination&amp;lt;br /&amp;gt;&lt;br /&gt;
/sdcc_2_2_0a/bin directory. You may use a Explorer to do this&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;br /&gt;
_______________________________________________&amp;lt;br /&amp;gt;&lt;br /&gt;
Sdcc-user mailing list&amp;lt;br /&amp;gt;&lt;br /&gt;
Sdcc-user@lists.sourceforge.net&amp;lt;br /&amp;gt;&lt;br /&gt;
http://lists.sourceforge.net/mailman/listinfo/sdcc-user&amp;lt;br /&amp;gt;&lt;br /&gt;
&amp;lt;br /&amp;gt;&lt;/div&gt;</summary>
		<author><name>Borutr</name></author>	</entry>

	</feed>