<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML><HEAD>
<META http-equiv=Content-Type content="text/html; charset=iso-8859-1">
<META content="MSHTML 6.00.2715.400" name=GENERATOR></HEAD>
<BODY bgColor=#ffffff>
<DIV><FONT face=Arial size=2>Angelo,</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Thanks for the answer - when you say the "latest
linux build tools" do you mean the native compiler under Linux, and if so, which
version of that compiler? Did you rebuild them specially and call them
i386-rtems-xxx or do you just use /usr/bin/gcc? I find that with the
latter approach I end up selecting all the wrong header files all the time (e.g.
termios.h).</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Also I don't see a BSP called pc386dx - is this
really just the pc386 BSP with some CPU= flags set to select the
386dx?</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Will try out the getch() thing too!</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2>Cheers,</FONT></DIV>
<DIV><FONT face=Arial size=2>Robin</FONT></DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<DIV><FONT face=Arial size=2></FONT> </DIV>
<BLOCKQUOTE
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">----- Original Message ----- </DIV>
<DIV
style="BACKGROUND: #e4e4e4; FONT: 10pt arial; font-color: black"><B>From:</B>
<A title=angelo_f@bigpond.com href="mailto:angelo_f@bigpond.com">Angelo
Fraietta</A> </DIV>
<DIV style="FONT: 10pt arial"><B>To:</B> <A title=robin@iddon.no-ip.com
href="mailto:robin@iddon.no-ip.com">Robin Iddon</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Cc:</B> <A title=rtems-users@oarcorp.com
href="mailto:rtems-users@oarcorp.com">rtems-users@oarcorp.com</A> </DIV>
<DIV style="FONT: 10pt arial"><B>Sent:</B> Sunday, May 19, 2002 2:55 AM</DIV>
<DIV style="FONT: 10pt arial"><B>Subject:</B> Re: pc386 BSP - is it still
supported?</DIV>
<DIV><BR></DIV>I am using that bsp (actually the pc386dx which is identical
except that it does not use the math co-processor). I am using the lastest
snapshots with the latest linux build tools. Give it a go and see how that
works. I used getch (insetad of getc(STDIN) )from the PC keyboard a while ago
and it worked for me.<BR><BR>i.e<BR><BR>char c;<BR>c = (char)
getch();<BR><BR>See how that goes for you.<BR><BR>Robin Iddon wrote:<BR>
<BLOCKQUOTE cite=mid:007801c1feaf$59075830$cb65a8c0@polywhirl type="cite">
<META content="MSHTML 6.00.2715.400" name=GENERATOR>
<STYLE></STYLE>
<DIV><FONT face=Arial size=2>Hi,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I have tried to use the pc386 BSP with limited
success.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I started off with the 4.5.0 release, and I
could build the BSP and boot it with GRUB onto my target.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>However, the "unlimited.exe" test appears to
fail with hundreds of "thread exceptions" being reported to the
console. I tried to add in some "getc(stdin)" to the code to allow me
to work out which of the three tests was causing the failure, but they
caused it to hang (presumably stdin isn't the PC keyboard).</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>The hello test does work, so it is something a
little more subtle than it just not working.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Anyway, I noticed that the whole 4.5.0 release
is no quite old, so I downloaded the latest snapshot. Unfortunately
that doesn't build for the pc386 BSP.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>I am using the recommended compiler chain
running under Linux.</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Can anyone offer me some advice on what to look
for?</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Thanks in advance,</FONT></DIV>
<DIV> </DIV>
<DIV><FONT face=Arial size=2>Robin Iddon</FONT></DIV>
<DIV> </DIV></BLOCKQUOTE><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></BLOCKQUOTE></BODY></HTML>