<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="https://community.arm.com/utility/feedstylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>problem compiling standard keil examples</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/20498/problem-compiling-standard-keil-examples</link><description> 
I have been using ARM for a few days and downloaded the file
lpc2100_intsio.zip from the Keil file download section. I have a
question. The program compiles and runs fine in THUMB mode, but when
I switch the Target options to ARM mode the compiler generates</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: problem compiling standard keil examples</title><link>https://community.arm.com/thread/98508?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2006 14:18:13 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:66a13131-4df7-4952-b2cb-c5c182942346</guid><dc:creator>Gp F</dc:creator><description>&lt;p&gt;&lt;p&gt;
Graham,&lt;/p&gt;

&lt;p&gt;
The &amp;#39;C/C++ tab&amp;#39; exists only if you have selected the RealView
Compilation Tools. You can choose the toolset you like under
&amp;#39;Components, Environment and Books&amp;#39; using the Folders/Extensions tab.
You will notice that &amp;#39;Use RealView Compiler&amp;#39; is selected there.&lt;/p&gt;

&lt;p&gt;
One more note on the toolset: if you are starting a new ARM
project, then you should use the RealView Compiler tools. The CARM
toolset is no longer actively developed and will disappear from the
CD someday in the future. Also, the RealView Compiler supports ARM7,
ARM9 and Cortex - besides ARM7, the CARM tools will never support
ARM9, Cortex etc.&lt;/p&gt;

&lt;p&gt;
Hope that brings some light into this corner.&lt;/p&gt;

&lt;p&gt;
Regards,&lt;br /&gt;
Peter&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem compiling standard keil examples</title><link>https://community.arm.com/thread/74436?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2006 13:44:03 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:dfb3ced1-73bd-40db-aa1a-901d9c4a5941</guid><dc:creator>Graham Gollings</dc:creator><description>&lt;p&gt;&lt;p&gt;
Peter, Thank you it worked. I don&amp;#39;t think I would have found this
option by myself. I notice that the Options for target menu changes.
With the examples the Target-options tab has a C tab. But if I create
a new project I see an target-options with a C/C++ tab under that tab
there is a button to select &amp;quot;Enable Arm/Thumb interworking&amp;quot;. This
sounds they added the same thing as a selectable option?&lt;/p&gt;

&lt;p&gt;
Thanks for the help.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: problem compiling standard keil examples</title><link>https://community.arm.com/thread/46992?ContentTypeID=1</link><pubDate>Thu, 12 Oct 2006 10:30:50 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:23c344aa-29dd-4a33-9caf-33e3bee2f242</guid><dc:creator>Peter Holzer</dc:creator><description>&lt;p&gt;&lt;p&gt;
You need to put a -&lt;/p&gt;

&lt;pre&gt;
#pragma INTERWORK
&lt;/pre&gt;

&lt;p&gt;
in front of your &amp;#39;Serial.C&amp;#39; which contains putchar(), getchar(),
init_serial() etc. This works for both arm and thumb mode.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>