<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<br>
On 8/6/2014 2:24 PM, Michael Davidsaver wrote:<br>
<span style="white-space: pre;">> On 08/06/2014 03:14 PM, Joel
Sherrill wrote:<br>
> ...<br>
>> How recent is your toolset? __DEVOLATILE is defined in
<sys/cdefs.h>. I<br>
>> know it<br>
>> wasn't defined in some of the older newlibs.<br>
><br>
> Ah, you caught me! I just finished building the 4.11 tools
for the<br>
> first time. So I'm probably doing something wrong.<br>
><br>
> I should have the latest: gcc 4.8.2 (patch 20140210) with
newlib 1.20.0<br>
> (20130325).<br>
><br>
> fresh from:<br>
><br>
> <a class="moz-txt-link-freetext" href="http://www.rtems.org/ftp/pub/rtems/SOURCES/4.11/">http://www.rtems.org/ftp/pub/rtems/SOURCES/4.11/</a><br>
><br>
> I confess I can't find any mention of __DEVOLATILE() anywhere
in the gcc<br>
> or newlib sources.<br>
></span><br>
It was added after newlib 1.20.0. The RTEMS Community worked to get
<sys/cdefs.h><br>
in newlib math the newest from FreeBSD.<br>
<br>
You really want to use the RTEMS Source Builder (RSB). It is a tool
written in Python<br>
that knows the versions, patches, locations, and how to build each
target. It can<br>
also build some simulators and it has an initial attempt at starting
to add building<br>
libraries for a specific BSP.<br>
<br>
RSB: <a class="moz-txt-link-freetext" href="http://git.rtems.org/rtems-source-builder/">http://git.rtems.org/rtems-source-builder/</a><br>
<br>
Documentation is online at:<br>
<br>
<a class="moz-txt-link-freetext" href="ftp://ftp.rtems.org/pub/rtems/people/chrisj/source-builder/source-builder.html">ftp://ftp.rtems.org/pub/rtems/people/chrisj/source-builder/source-builder.html</a><br>
<br>
It is pretty easy to use.<br>
<span style="white-space: pre;">></span><br>
<br>
-- <br>
Joel Sherrill, Ph.D. Director of Research &
Development<br>
<a class="moz-txt-link-abbreviated" href="mailto:joel.sherrill@OARcorp.com">joel.sherrill@OARcorp.com</a> On-Line Applications Research<br>
Ask me about RTEMS: a free RTOS Huntsville AL 35805<br>
Support Available (256) 722-9985<br>
<br>
</body>
</html>