<?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>Realview C / C++</title><link>https://community.arm.com/developer/tools-software/tools/f/keil-forum/20920/realview-c-c</link><description> 
Does someone know what advantage the C++ option brings to
Realview. I see in the help it mentions the Rogue Wave C++
library. 

 
I notice that there are a number of LIB folders. ie. ARM\LIB which
contains CAL.lib and CALFP.lib, is this the library</description><dc:language>en-US</dc:language><generator>Telligent Community 10</generator><item><title>RE: Realview C / C++</title><link>https://community.arm.com/thread/151820?ContentTypeID=1</link><pubDate>Wed, 29 Nov 2006 00:50:41 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b42f7dc5-8841-4a36-94fe-af5ef3ebf128</guid><dc:creator>Graham Gollings</dc:creator><description>&lt;p&gt;&lt;p&gt;
Leslie, are you replying to my question, or something else? - If
so thanks!&lt;/p&gt;

&lt;p&gt;
Wonder if there is there a way to get c:\tools\Grep.bat into run
user program#1 by default?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Realview C / C++</title><link>https://community.arm.com/thread/151830?ContentTypeID=1</link><pubDate>Mon, 27 Nov 2006 10:56:45 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:cdc8d274-512b-43d7-a0dc-2e3444c16bda</guid><dc:creator>Dave Sudolcan</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hey... thanks for the GREP tips. I just realized that the uV3 IDE
now supports executing user defined programs both BEFORE and AFTER
doing the build. Now that&amp;#39;s handy.&lt;/p&gt;

&lt;p&gt;
Thanks KEIL !!&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Realview C / C++</title><link>https://community.arm.com/thread/151086?ContentTypeID=1</link><pubDate>Fri, 24 Nov 2006 08:15:14 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:44e2d672-fdf9-425d-875d-88bdeccd6779</guid><dc:creator>Leslie Viljoen</dc:creator><description>&lt;p&gt;&lt;p&gt;
Set the path:&lt;/p&gt;

&lt;p&gt;
Start-&amp;gt;Control Panel-&amp;gt;System-&amp;gt;&lt;br /&gt;
Advanced Tab&lt;br /&gt;
&amp;quot;Environment Variables&amp;quot;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Realview C / C++</title><link>https://community.arm.com/thread/150585?ContentTypeID=1</link><pubDate>Sat, 11 Nov 2006 17:08:24 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c8dd5cc4-d6c3-4929-93c5-cc521328b01d</guid><dc:creator>Graham Gollings</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thanks, this worked for me&lt;/p&gt;

&lt;p&gt;
C:\tools\ grep.exe and grep.bat&lt;br /&gt;
grep.bat contains c:\tools\grep.exe &amp;quot;Total R&amp;quot; *.map&lt;/p&gt;

&lt;p&gt;
In Uvision output after make box c:\tools\Grep.bat&lt;/p&gt;

&lt;p&gt;
produces output like :-&lt;/p&gt;

&lt;pre&gt;
User command #1: c:\tools\Grep.bat
C:\Program Files\Keil\ ARM\PROJECTS\Hello&amp;gt;c:\tools\grep.exe &amp;quot;Total R&amp;quot; *.map
Total RO Size  (Code + RO Data)          4936 (4.82kB)
Total RW Size  (RW Data + ZI Data)       1480 (1.45kB)
Total ROM Size (Code + RO Data + RW Data)4952 (4.84kB)
&amp;quot;Hello.axf&amp;quot; - 0 Error(s), 0 Warning(s).
&lt;/pre&gt;

&lt;p&gt;
&lt;br /&gt;
I tried playing with XP&amp;#39;s system variables but Path didn&amp;#39;t seem to
help (or I got it wrong). What happened to autoexec.bat? Wonder if
there is there a way to get c:\tools\Grep.bat into run user program#1
by default?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Realview C / C++</title><link>https://community.arm.com/thread/150188?ContentTypeID=1</link><pubDate>Sat, 11 Nov 2006 14:41:57 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:9effa5d9-2bc2-4803-af67-d48470032dee</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;&amp;quot;blanks in filenames are really more trouble than they&amp;#39;re
worth.&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Absolutely!&lt;/p&gt;

&lt;p&gt;
Let&amp;#39;s just have it again, one more time:&lt;/p&gt;

&lt;p&gt;
&lt;b&gt;blanks in filenames are &lt;i&gt;really&lt;/i&gt; more trouble than they&amp;#39;re
worth.&lt;/b&gt;&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Realview C / C++</title><link>https://community.arm.com/thread/141677?ContentTypeID=1</link><pubDate>Sat, 11 Nov 2006 09:13:23 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:dc029b8a-96db-488a-81c6-8d7aacd5e5b6</guid><dc:creator>HansBernhard Broeker</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;2. But I have a problem if I use file names like &amp;quot;abc def.map&amp;quot;
Grep wont work so I would have to change to single word file names or
use underscore.&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Put quotes around it, or do the sane thing: stay clear of blanks
in filenames: tey&amp;#39;re a pest. People using strictly only GUI tools are
mostly unaware of the side effects, but trust an old commandline
jockey: blanks in filenames are really more trouble than they&amp;#39;re
worth.&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;3. Main question. Is there a way to make the grep independent
of a project folder?&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Any external tool can be invoked with a full path, unless I&amp;#39;m very
much mistaken. I.e. you can make the call&lt;/p&gt;

&lt;pre&gt;
d:\where\ever\it\is\grep.exe &amp;quot;Total R&amp;quot; project.map
&lt;/pre&gt;

&lt;p&gt;
Or put a directory holding your personal collection of such tools
(including grep) in the PATH once and for good --- that&amp;#39;s what it
exists for.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Realview C / C++</title><link>https://community.arm.com/thread/149734?ContentTypeID=1</link><pubDate>Sat, 11 Nov 2006 08:15:33 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:96fdacea-2a32-47d8-b2a6-3fca5327a23d</guid><dc:creator>Andy Neil</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;&amp;quot;2. But I have a problem if I use file names like &amp;quot;abc def.map&amp;quot;
Grep wont work so I would have to change to single word file names or
use underscore.&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
It should work if you enclose the filename in double quotes, or
just say *.map&lt;/p&gt;

&lt;p&gt;
You might even find that abc*.map also works...&lt;/p&gt;

&lt;p&gt;
&lt;i&gt;&amp;quot;Is there a way to make the grep independent of a project
folder?&amp;quot;&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
Like any other External command, can&amp;#39;t you just make sure it&amp;#39;s in
your PATH?&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Realview C / C++</title><link>https://community.arm.com/thread/138309?ContentTypeID=1</link><pubDate>Fri, 10 Nov 2006 19:58:28 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:e40e352d-7aeb-41b2-b9c6-3a848b143a1d</guid><dc:creator>Graham Gollings</dc:creator><description>&lt;p&gt;&lt;p&gt;
I posted a bit to quickly. I downloaded a gnu grep from
&lt;a href="http://unxutils.sourceforge.net/"&gt;unxutils.sourceforge.net/&lt;/a&gt;&lt;/p&gt;

&lt;p&gt;
1. It works. I found that grep &amp;quot;Total R&amp;quot; pulls the 3x wanted lines
with 1x grep call&lt;/p&gt;

&lt;p&gt;
2. But I have a problem if I use file names like &amp;quot;abc def.map&amp;quot;
Grep wont work so I would have to change to single word file names or
use underscore.&lt;/p&gt;

&lt;p&gt;
3. Main question. Is there a way to make the grep independent of a
project folder? I cannot remember how to tell the batch file to take
a path. ie put the batch and grep in say c:\grepit call it from
Keil/arm/etc so that it operates on the required .map file. Otherwise
I have to copy the tools to each project file path.&lt;/p&gt;

&lt;p&gt;
It works great though.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Realview C / C++</title><link>https://community.arm.com/thread/134869?ContentTypeID=1</link><pubDate>Fri, 10 Nov 2006 12:39:59 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c891ad16-2b72-49bb-85b9-21aa7084c02c</guid><dc:creator>Graham Gollings</dc:creator><description>&lt;p&gt;&lt;p&gt;
Thanks! I did it and it works fine. When you see the info it just
feels like the compiler/linker has done something. Where as just
getting 0 errors doesn&amp;#39;t!&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Realview C / C++</title><link>https://community.arm.com/thread/123493?ContentTypeID=1</link><pubDate>Fri, 10 Nov 2006 03:59:51 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:64cd0c60-2977-4a37-9dcc-6282e866c552</guid><dc:creator>Patrick Noonan</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hi John,&lt;/p&gt;

&lt;p&gt;
Here&amp;#39;s a tip to get easy access to the statistics again. It works
for me at least and may be useful for you too. You will need to have
a copy of &lt;b&gt;grep&lt;/b&gt;.&lt;/p&gt;

&lt;p&gt;
1. Create a batch file to &lt;b&gt;grep&lt;/b&gt; the interesting lines from
the MAP file.&lt;br /&gt;
2. Call this batch file at the end of the build process. (Select Run
User Command in the output dialog).&lt;/p&gt;

&lt;p&gt;
The interesting lines from the MAP file will then appear in the
build window after the build.&lt;/p&gt;

&lt;p&gt;
Batch file contents (update for your map file location)&lt;/p&gt;

&lt;pre&gt;
grep &amp;quot;Total ROM&amp;quot; obj\output.map
grep &amp;quot;Total RO &amp;quot;   obj\ output.map
grep &amp;quot;Total RW&amp;quot;   obj\ output.map
&lt;/pre&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Realview C / C++</title><link>https://community.arm.com/thread/112447?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2006 11:39:05 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:1bcfc975-0d95-42db-b651-a9cab41e2701</guid><dc:creator>Graham Gollings</dc:creator><description>&lt;p&gt;&lt;p&gt;
Yes, thanks I knew about that. It&amp;#39;s just a drag to go there and
look.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Realview C / C++</title><link>https://community.arm.com/thread/98614?ContentTypeID=1</link><pubDate>Tue, 07 Nov 2006 09:01:32 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:fb08cf30-53ae-47ee-b8e4-de125a8ca51a</guid><dc:creator>Matthias Hertel</dc:creator><description>&lt;p&gt;&lt;p&gt;
&lt;i&gt;... I did like the CARM ROM/RAM statistics in the output
window. I cannot find how to enable it again.&lt;/i&gt;&lt;/p&gt;

&lt;p&gt;
There is no output like this at the moment, but if you have a look
to the end of the linker map file, the RVCT shows you similar
information here.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Realview C / C++</title><link>https://community.arm.com/thread/74522?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2006 16:37:08 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:b504b729-8149-4330-a4df-81701317b83d</guid><dc:creator>Graham Gollings</dc:creator><description>&lt;p&gt;&lt;p&gt;
Hi, I barely used CARM before upgrading to Realview. But I did
like the CARM ROM/RAM statistics in the output window. I cannot find
how to enable it again.&lt;/p&gt;

&lt;p&gt;
But my main question was if anyone had tried the C++ compiler /
library that seems to be available. I have read the user manual in
more detail and C++ seems to be available. I am just curious how it
compares to the C compiler. I was hoping someone had experimented
with it a bit.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item><item><title>RE: Realview C / C++</title><link>https://community.arm.com/thread/47164?ContentTypeID=1</link><pubDate>Mon, 06 Nov 2006 14:48:08 GMT</pubDate><guid isPermaLink="false">dd9e70c8-6d3c-4c71-b136-2456382a7b5c:c59c8d8c-b843-4966-8280-0550cf2e7967</guid><dc:creator>Dave Sudolcan</dc:creator><description>&lt;p&gt;&lt;p&gt;
I believe the floating point math is supported with more bits of
resolution for floats &amp;amp; doubles in the RealView tools than it was
for prior CARM tools. That&amp;#39;s why I made the (virtually painless)
switch to RealView. The way things work in the IDE are not quite
exactly the same as they did in CARM (such as not getting ROM/RAM
usage statistics in the output window after a build), but it seems
close enough to me to not be a problem.&lt;/p&gt;
&lt;/p&gt;&lt;div style="clear:both;"&gt;&lt;/div&gt;</description></item></channel></rss>