<html>
<head>
</head>
<body>
<br>
<br>
Angelo Fraietta wrote:<br>
<blockquote type="cite" cite="mid:3E6E96BD.4030407@bigpond.com"> Joel Sherrill
wrote:<br>
<blockquote type="cite" cite="mid:3E6E6ABE.F19758F3@OARcorp.com">
<pre wrap=""><br>Angelo Fraietta wrote:<br></pre>
<blockquote type="cite">
<pre wrap="">I am unable to make and install RTEMS under cygwin.<br><br>If I do a make all, RTEMS builds (the samples still don't work though);<br>however, if I do a make install, I get the following failure:<br><br>/usr/nin/install: cannot create regular file<br>//opt/rtems/i386-rtems/pc386/lib " no such host or network<br><br>I believe the problem is that is is trying to go to //opt instead of /opt<br>Is there anything special I need to do in the configure for cygwin?<br></pre>
</blockquote>
<pre wrap=""><!----><br>I downloaded over the weekend to my home computer and did a<br>"native" Cygwin build without problems. <br><br>I think you are right that // is special in Cygwin. Can you tell<br>from the logs where it started to come from? I believe it is looking<br>for the host named "opt". :(<br></pre>
</blockquote>
<pre class="moz-signature" cols="$mailwrapcol"><br>The error is occuring when it says<br>make install-data-hook<br><br>the command says makedir -p //opt/rtems/i386-rtems/pc386/lib<br><br>I have had a look in the makefile and it has<br><br><br>install-data-hook: $(LIB)<br> @$(mkinstalldirs) $(DESTDIR)/$(libdir)<br> $(INSTALL_DATA) $(LIB) $(DESTDIR)/$(libdir)<br><br><br>I have found in that libdir defined inthe makefile as <br>libdir = ${exec_prefix}/pc386/lib<br><br>however DESTDIR is not defined anywhere in that file<br></pre>
</blockquote>
<br>
Removing
<pre class="moz-signature" cols="$mailwrapcol">$(DESTDIR)/</pre>
from the makefile allowed RTEMS to install, and I was successfully able to
build and run the hello world example<br>
The libcpp project did not build.<br>
I built ticker, however, it failed when I tried to run it.<br>
<pre class="moz-signature" cols="$mailwrapcol">--
Angelo Fraietta
PO Box 859
Hamilton NSW 2303
Home Page
<a class="moz-txt-link-freetext" href="http://www.users.bigpond.com/angelo_f/">http://www.users.bigpond.com/angelo_f/</a>
There are those who seek knowledge for the sake of knowledge - that is CURIOSITY
There are those who seek knowledge to be known by others - that is VANITY
There are those who seek knowledge in order to serve - that is LOVE
Bernard of Clairvaux (1090 - 1153)</pre>
<br>
</body>
</html>