<?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 How do you generate ELF object file output using g++ compiler? in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706007#M103407</link>
    <description>&lt;P&gt;&lt;BR /&gt;I am trying to compile a C++ program using g++. I need the object files to be "ELF-64 relocatable object file - PA-RISC 2.0 (LP64)" files. When I use g++ to compile, I end up with "PA-RISC1.1 relocatable object" object files. How can I tell the g++ compiler to change the object file format? I don't have HP's c++ compiler, so I'm stuck with g++. Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-------------------------------&lt;BR /&gt;&lt;BR /&gt;P.S. This Thread has been moved from HP-UX --&amp;gt; Netwrking to HP-UX --&amp;gt; Languages &amp;amp; Scripting - Forum Moderator&lt;/P&gt;</description>
    <pubDate>Mon, 30 Jan 2012 09:20:47 GMT</pubDate>
    <dc:creator>Maribeth Romeo</dc:creator>
    <dc:date>2012-01-30T09:20:47Z</dc:date>
    <item>
      <title>How do you generate ELF object file output using g++ compiler?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706007#M103407</link>
      <description>&lt;P&gt;&lt;BR /&gt;I am trying to compile a C++ program using g++. I need the object files to be "ELF-64 relocatable object file - PA-RISC 2.0 (LP64)" files. When I use g++ to compile, I end up with "PA-RISC1.1 relocatable object" object files. How can I tell the g++ compiler to change the object file format? I don't have HP's c++ compiler, so I'm stuck with g++. Thanks.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;-------------------------------&lt;BR /&gt;&lt;BR /&gt;P.S. This Thread has been moved from HP-UX --&amp;gt; Netwrking to HP-UX --&amp;gt; Languages &amp;amp; Scripting - Forum Moderator&lt;/P&gt;</description>
      <pubDate>Mon, 30 Jan 2012 09:20:47 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706007#M103407</guid>
      <dc:creator>Maribeth Romeo</dc:creator>
      <dc:date>2012-01-30T09:20:47Z</dc:date>
    </item>
    <item>
      <title>Re: How do you generate ELF object file output using g++ compiler?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706008#M103408</link>
      <description>Hi Maribeth,&lt;BR /&gt;&lt;BR /&gt;i don't use g++, but in order to obtain ELF objects in HP's c++ compiler &lt;BR /&gt;"+DAportable" option in used.&lt;BR /&gt;Maybe something similar in g++?&lt;BR /&gt;&lt;BR /&gt;regards</description>
      <pubDate>Tue, 10 Jan 2006 11:02:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706008#M103408</guid>
      <dc:creator>Piergiacomo Perini</dc:creator>
      <dc:date>2006-01-10T11:02:20Z</dc:date>
    </item>
    <item>
      <title>Re: How do you generate ELF object file output using g++ compiler?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706009#M103409</link>
      <description>Well, that's exactly what I'm trying to figure out.  I don't know what that option is. I've been pouring over the gcc documentation, but haven't found it yet.</description>
      <pubDate>Tue, 10 Jan 2006 11:07:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706009#M103409</guid>
      <dc:creator>Maribeth Romeo</dc:creator>
      <dc:date>2006-01-10T11:07:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do you generate ELF object file output using g++ compiler?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706010#M103410</link>
      <description>right, DAportable seems not be a option of g++.&lt;BR /&gt;So, try to "googleize" or try this&lt;BR /&gt;&lt;A href="http://lists.gnu.org/archive/html/" target="_blank"&gt;http://lists.gnu.org/archive/html/&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;regards</description>
      <pubDate>Tue, 10 Jan 2006 11:14:27 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706010#M103410</guid>
      <dc:creator>Piergiacomo Perini</dc:creator>
      <dc:date>2006-01-10T11:14:27Z</dc:date>
    </item>
    <item>
      <title>Re: How do you generate ELF object file output using g++ compiler?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706011#M103411</link>
      <description>Maribeth,&lt;BR /&gt;-melf according to doc:&lt;BR /&gt;"Generate an executable in the ELF format, rather than the default'mmo' format used by the mmix simulalator"</description>
      <pubDate>Tue, 10 Jan 2006 11:15:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706011#M103411</guid>
      <dc:creator>Peter Godron</dc:creator>
      <dc:date>2006-01-10T11:15:06Z</dc:date>
    </item>
    <item>
      <title>Re: How do you generate ELF object file output using g++ compiler?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706012#M103412</link>
      <description>That's not an option for HP-UX.  The doc says, "-melf - Legacy no-op option only recognized with the cris-axis-elf and cris-axis-linuxgnu targets."&lt;BR /&gt;&lt;BR /&gt;If you type "gcc -melf my.c" on the command line, you will get "invalid options 'elf'" &lt;BR /&gt; &lt;BR /&gt;This doesn't seem like an unreasonable thing to do, does it?</description>
      <pubDate>Tue, 10 Jan 2006 11:22:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706012#M103412</guid>
      <dc:creator>Maribeth Romeo</dc:creator>
      <dc:date>2006-01-10T11:22:03Z</dc:date>
    </item>
    <item>
      <title>Re: How do you generate ELF object file output using g++ compiler?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706013#M103413</link>
      <description>You'll need 64-bit version of gcc. One place you can it from is &lt;A href="http://www.hp.com/go/gcc," target="_blank"&gt;http://www.hp.com/go/gcc,&lt;/A&gt; click on 'GCC for HP-UX' link and download    HP-GCC PA-RISC LP64 (either 3.x or 4.x).</description>
      <pubDate>Tue, 10 Jan 2006 23:48:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706013#M103413</guid>
      <dc:creator>Ermin Borovac</dc:creator>
      <dc:date>2006-01-10T23:48:55Z</dc:date>
    </item>
    <item>
      <title>Re: How do you generate ELF object file output using g++ compiler?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706014#M103414</link>
      <description>Hello, &lt;BR /&gt;&lt;BR /&gt;You need to download 64 bit GCC for generating 64 bit objects. Default GCC what you download is capable of generating 32 bit objects. You can download from, &lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,7663,00.html" target="_blank"&gt;http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,7663,00.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Remember to download 64 bit version. It is HP Supported GCC. &lt;BR /&gt;&lt;BR /&gt;-Arun</description>
      <pubDate>Tue, 10 Jan 2006 23:52:54 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706014#M103414</guid>
      <dc:creator>Arunvijai_4</dc:creator>
      <dc:date>2006-01-10T23:52:54Z</dc:date>
    </item>
    <item>
      <title>Re: How do you generate ELF object file output using g++ compiler?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706015#M103415</link>
      <description>You have to use +DA2.0 option with aCC or cc compiler.&lt;BR /&gt;&lt;BR /&gt;&lt;A href="http://groups.google.com/group/comp.soft-sys.ace/browse_thread/thread/74e72c0f9078d9b9/ba55ca761d7c8fa0%23ba55ca761d7c8fa0?sa=X&amp;amp;oi=groupsr&amp;amp;start=0&amp;amp;num=3" target="_blank"&gt;http://groups.google.com/group/comp.soft-sys.ace/browse_thread/thread/74e72c0f9078d9b9/ba55ca761d7c8fa0%23ba55ca761d7c8fa0?sa=X&amp;amp;oi=groupsr&amp;amp;start=0&amp;amp;num=3&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;--&lt;BR /&gt;Muthu</description>
      <pubDate>Tue, 10 Jan 2006 23:59:38 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706015#M103415</guid>
      <dc:creator>Muthukumar_5</dc:creator>
      <dc:date>2006-01-10T23:59:38Z</dc:date>
    </item>
    <item>
      <title>Re: How do you generate ELF object file output using g++ compiler?</title>
      <link>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706016#M103416</link>
      <description>You are all right. I chose to use aCC only because of time constraints. I have to pay for it, but it is probably quicker than getting another version of gcc. Thanks to all of you.</description>
      <pubDate>Wed, 11 Jan 2006 08:43:03 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/how-do-you-generate-elf-object-file-output-using-g-compiler/m-p/3706016#M103416</guid>
      <dc:creator>Maribeth Romeo</dc:creator>
      <dc:date>2006-01-11T08:43:03Z</dc:date>
    </item>
  </channel>
</rss>

