<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Help compiling c code into &amp;quot;PA-RISC1.1 shared executable dynamically linked -not stripped&amp;quot; files in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/help-compiling-c-code-into-quot-pa-risc1-1-shared-executable/m-p/4340025#M666071</link>
    <description>&amp;gt;For the C compiler I believe it is the bundled&lt;BR /&gt;&lt;BR /&gt;The bundled C compiler on PA will not support -Aa nor -g.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;But can you help me to understand what the -lm does.&lt;BR /&gt;&lt;BR /&gt;It links in libm so you can call functions like sin(3).&lt;BR /&gt;&lt;BR /&gt;</description>
    <pubDate>Mon, 19 Jan 2009 06:10:28 GMT</pubDate>
    <dc:creator>Dennis Handly</dc:creator>
    <dc:date>2009-01-19T06:10:28Z</dc:date>
    <item>
      <title>Help compiling c code into "PA-RISC1.1 shared executable dynamically linked -not stripped" files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-compiling-c-code-into-quot-pa-risc1-1-shared-executable/m-p/4340022#M666068</link>
      <description>Hi list,&lt;BR /&gt;I have a HP-UX 10.20 box that I want to move to 11.11.&lt;BR /&gt;This box uses cgi scripts for the http installation that are "PA-RISC1.1 shared executable dynamically linked -not stripped" files when I issue the file command against them.&lt;BR /&gt;I do have the c code and I need to make some changes to it because some paths need to be changed to reflect the new environment. After that I need to recompile it back into PA-RISC shared executables. &lt;BR /&gt;&lt;BR /&gt;What commands do I use to turn these .c files into PA-RISC shared executables?&lt;BR /&gt;&lt;BR /&gt;I obviously am not a programmer but I just need to change hard set paths in the c code and recompile them. Can you help me?&lt;BR /&gt;I am pretty lost here, I assume the cc command should be used but not sure.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;James</description>
      <pubDate>Mon, 19 Jan 2009 00:46:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-compiling-c-code-into-quot-pa-risc1-1-shared-executable/m-p/4340022#M666068</guid>
      <dc:creator>TechC</dc:creator>
      <dc:date>2009-01-19T00:46:26Z</dc:date>
    </item>
    <item>
      <title>Re: Help compiling c code into "PA-RISC1.1 shared executable dynamically linked -not stripped" files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-compiling-c-code-into-quot-pa-risc1-1-shared-executable/m-p/4340023#M666069</link>
      <description>Are your executables composed of single source C files?&lt;BR /&gt;Do you have the C compiler installed or the bundled C compiler?&lt;BR /&gt;For the simple case, you should be able to use:&lt;BR /&gt;$ cc -o executable foo.c</description>
      <pubDate>Mon, 19 Jan 2009 04:54:24 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-compiling-c-code-into-quot-pa-risc1-1-shared-executable/m-p/4340023#M666069</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-01-19T04:54:24Z</dc:date>
    </item>
    <item>
      <title>Re: Help compiling c code into "PA-RISC1.1 shared executable dynamically linked -not stripped" files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-compiling-c-code-into-quot-pa-risc1-1-shared-executable/m-p/4340024#M666070</link>
      <description>Dennis,&lt;BR /&gt;Thank you for responding.&lt;BR /&gt;I have what look to be single c source files.&lt;BR /&gt;so I have a cgi script named brakes.cgi and I found the c source code named brakes.c&lt;BR /&gt;&lt;BR /&gt;For the C compiler I believe it is the bundled or "standard issue" C compiler.&lt;BR /&gt;I found a string I think was used to compile the original cgi scripts from the c code.&lt;BR /&gt;It is...&lt;BR /&gt;"cc -Aa -g cgia.c license.c -lm -o cgia&lt;BR /&gt;&lt;BR /&gt;From the man page it looks like -Aa is saying use ANSI mode. -g is to generate info for the symbolic debugger. I understand that -o cgia is outputting cgia as the executable. &lt;BR /&gt;&lt;BR /&gt;But can you help me to understand what the -lm does. It says something similar to "resolve unresolvable external references"&lt;BR /&gt;I am not sure what to make of that.&lt;BR /&gt;&lt;BR /&gt;Thank you again&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Jan 2009 06:02:19 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-compiling-c-code-into-quot-pa-risc1-1-shared-executable/m-p/4340024#M666070</guid>
      <dc:creator>TechC</dc:creator>
      <dc:date>2009-01-19T06:02:19Z</dc:date>
    </item>
    <item>
      <title>Re: Help compiling c code into "PA-RISC1.1 shared executable dynamically linked -not stripped" files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-compiling-c-code-into-quot-pa-risc1-1-shared-executable/m-p/4340025#M666071</link>
      <description>&amp;gt;For the C compiler I believe it is the bundled&lt;BR /&gt;&lt;BR /&gt;The bundled C compiler on PA will not support -Aa nor -g.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;But can you help me to understand what the -lm does.&lt;BR /&gt;&lt;BR /&gt;It links in libm so you can call functions like sin(3).&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 19 Jan 2009 06:10:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-compiling-c-code-into-quot-pa-risc1-1-shared-executable/m-p/4340025#M666071</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-01-19T06:10:28Z</dc:date>
    </item>
    <item>
      <title>Re: Help compiling c code into "PA-RISC1.1 shared executable dynamically linked -not stripped" files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-compiling-c-code-into-quot-pa-risc1-1-shared-executable/m-p/4340026#M666072</link>
      <description>Dennis thanks again.&lt;BR /&gt;OK thanks for the heads up on the -lm.&lt;BR /&gt;How can I get the c compiler I am looking for?&lt;BR /&gt;Is it simply downloadable from ITRC in .depot format.&lt;BR /&gt;&lt;BR /&gt;Thank you&lt;BR /&gt;James</description>
      <pubDate>Mon, 19 Jan 2009 06:41:07 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-compiling-c-code-into-quot-pa-risc1-1-shared-executable/m-p/4340026#M666072</guid>
      <dc:creator>TechC</dc:creator>
      <dc:date>2009-01-19T06:41:07Z</dc:date>
    </item>
    <item>
      <title>Re: Help compiling c code into "PA-RISC1.1 shared executable dynamically linked -not stripped" files</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/help-compiling-c-code-into-quot-pa-risc1-1-shared-executable/m-p/4340027#M666073</link>
      <description>&amp;gt;How can I get the C compiler I am looking for?&lt;BR /&gt;&lt;BR /&gt;If your code is simple, you can attempt using the bundled compiler.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Is it simply downloadable from ITRC in .depot format.&lt;BR /&gt;&lt;BR /&gt;You have to purchase it.  There is an evaluation copy available:&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=e9083a7373f021103a7373f02110275d6e10RCRD" target="_blank"&gt;http://h21007.www2.hp.com/portal/site/dspp/menuitem.863c3e4cbcdc3f3515b49c108973a801/?ciid=e9083a7373f021103a7373f02110275d6e10RCRD&lt;/A&gt;</description>
      <pubDate>Mon, 19 Jan 2009 06:54:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/help-compiling-c-code-into-quot-pa-risc1-1-shared-executable/m-p/4340027#M666073</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2009-01-19T06:54:51Z</dc:date>
    </item>
  </channel>
</rss>

