<?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: Compile C in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/compile-c/m-p/4005992#M96173</link>
    <description>First, create a c source file, e.g., myfile.c.&lt;BR /&gt;&lt;BR /&gt;------------------------------------------&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;&lt;BR /&gt;int main()&lt;BR /&gt;{&lt;BR /&gt;  (void) printf("Hello world.\n");&lt;BR /&gt;  return(0);&lt;BR /&gt;}&lt;BR /&gt;------------------------------------------&lt;BR /&gt;Next, compile it and link it:&lt;BR /&gt;cc myfile.c -o myfile&lt;BR /&gt;&lt;BR /&gt;Next execute it:&lt;BR /&gt;myfile&lt;BR /&gt;&lt;BR /&gt;Now the c compiler that comes standard with HP-UX is the Bundled C compiler; it only understands K &amp;amp; R C and is really intended only for building kernels. It can be used for limited development but the product you need is aCC which understands both ANSI C and C++. You can also install the Gnu C compiler for development; it has the virtue of being free.&lt;BR /&gt;&lt;BR /&gt;&lt;/STDIO.H&gt;</description>
    <pubDate>Wed, 23 May 2007 16:16:22 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2007-05-23T16:16:22Z</dc:date>
    <item>
      <title>Compile C</title>
      <link>https://community.hpe.com/t5/operating-system-linux/compile-c/m-p/4005991#M96172</link>
      <description>hi friends:&lt;BR /&gt;&lt;BR /&gt;I have a question for you:&lt;BR /&gt;&lt;BR /&gt;How can i compile a C program in a HPUX11i environment?&lt;BR /&gt;&lt;BR /&gt;I´m novice in this topic, and i need ypur help to resolve this problem.&lt;BR /&gt;&lt;BR /&gt;What is the correct statement?&lt;BR /&gt;&lt;BR /&gt;after compile, what is the next step?&lt;BR /&gt;&lt;BR /&gt;Thanks&lt;BR /&gt;&lt;BR /&gt;Daniel</description>
      <pubDate>Wed, 23 May 2007 16:06:39 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/compile-c/m-p/4005991#M96172</guid>
      <dc:creator>JOSE DANIEL AYALA BARRE</dc:creator>
      <dc:date>2007-05-23T16:06:39Z</dc:date>
    </item>
    <item>
      <title>Re: Compile C</title>
      <link>https://community.hpe.com/t5/operating-system-linux/compile-c/m-p/4005992#M96173</link>
      <description>First, create a c source file, e.g., myfile.c.&lt;BR /&gt;&lt;BR /&gt;------------------------------------------&lt;BR /&gt;#include &lt;STDIO.H&gt;&lt;BR /&gt;&lt;BR /&gt;int main()&lt;BR /&gt;{&lt;BR /&gt;  (void) printf("Hello world.\n");&lt;BR /&gt;  return(0);&lt;BR /&gt;}&lt;BR /&gt;------------------------------------------&lt;BR /&gt;Next, compile it and link it:&lt;BR /&gt;cc myfile.c -o myfile&lt;BR /&gt;&lt;BR /&gt;Next execute it:&lt;BR /&gt;myfile&lt;BR /&gt;&lt;BR /&gt;Now the c compiler that comes standard with HP-UX is the Bundled C compiler; it only understands K &amp;amp; R C and is really intended only for building kernels. It can be used for limited development but the product you need is aCC which understands both ANSI C and C++. You can also install the Gnu C compiler for development; it has the virtue of being free.&lt;BR /&gt;&lt;BR /&gt;&lt;/STDIO.H&gt;</description>
      <pubDate>Wed, 23 May 2007 16:16:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/compile-c/m-p/4005992#M96173</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2007-05-23T16:16:22Z</dc:date>
    </item>
  </channel>
</rss>

