<?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: How to get on which version of the OS the binary is compiled in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-get-on-which-version-of-the-os-the-binary-is-compiled/m-p/2793872#M80462</link>
    <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;There is a command  odump  that will&lt;BR /&gt;give you info about what compiler-version and&lt;BR /&gt;on what HP-UX version a binrary was compiled.&lt;BR /&gt;&lt;BR /&gt;On  hp-ux 10.20 you will find odump&lt;BR /&gt;in  /usr/contrib/bin&lt;BR /&gt;On hp-ux 11.xx you will find odump in &lt;BR /&gt;/usr/ccs/bin/odump&lt;BR /&gt;If you do not find it there,  install one&lt;BR /&gt;of the later ld-patches (e.ex PHSS_26262)&lt;BR /&gt;&lt;BR /&gt;Use odump  like this to get the info you&lt;BR /&gt;want:&lt;BR /&gt;&lt;BR /&gt;   odump -compunit  &lt;BINARY&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Olav&lt;BR /&gt;&lt;/BINARY&gt;</description>
    <pubDate>Mon, 26 Aug 2002 12:17:21 GMT</pubDate>
    <dc:creator>Olav Baadsvik</dc:creator>
    <dc:date>2002-08-26T12:17:21Z</dc:date>
    <item>
      <title>How to get on which version of the OS the binary is compiled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-get-on-which-version-of-the-os-the-binary-is-compiled/m-p/2793867#M80457</link>
      <description>Hi,&lt;BR /&gt; I have got some binary. It is mentioned that they have compiled on HP-UX10.X. &lt;BR /&gt;&lt;BR /&gt;My question is how to find out what version of the OS is used while compiling the binary? and also what version is used for compiling the Shared Library.&lt;BR /&gt; The utilities like what, chatr and ldd are not giving this information.&lt;BR /&gt;&lt;BR /&gt;Thanks in advance.</description>
      <pubDate>Mon, 26 Aug 2002 10:30:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-get-on-which-version-of-the-os-the-binary-is-compiled/m-p/2793867#M80457</guid>
      <dc:creator>Sreenivas_1</dc:creator>
      <dc:date>2002-08-26T10:30:32Z</dc:date>
    </item>
    <item>
      <title>Re: How to get on which version of the OS the binary is compiled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-get-on-which-version-of-the-os-the-binary-is-compiled/m-p/2793868#M80458</link>
      <description>Hi,&lt;BR /&gt;#file binary_file&lt;BR /&gt;will give you more information.&lt;BR /&gt;regards,&lt;BR /&gt;U.SivaKumar</description>
      <pubDate>Mon, 26 Aug 2002 10:38:53 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-get-on-which-version-of-the-os-the-binary-is-compiled/m-p/2793868#M80458</guid>
      <dc:creator>U.SivaKumar_2</dc:creator>
      <dc:date>2002-08-26T10:38:53Z</dc:date>
    </item>
    <item>
      <title>Re: How to get on which version of the OS the binary is compiled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-get-on-which-version-of-the-os-the-binary-is-compiled/m-p/2793869#M80459</link>
      <description>Hi&lt;BR /&gt;Have you tried with&lt;BR /&gt;what &lt;BINARY_FILE&gt;&lt;/BINARY_FILE&gt;</description>
      <pubDate>Mon, 26 Aug 2002 11:02:36 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-get-on-which-version-of-the-os-the-binary-is-compiled/m-p/2793869#M80459</guid>
      <dc:creator>Leif Halvarsson_2</dc:creator>
      <dc:date>2002-08-26T11:02:36Z</dc:date>
    </item>
    <item>
      <title>Re: How to get on which version of the OS the binary is compiled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-get-on-which-version-of-the-os-the-binary-is-compiled/m-p/2793870#M80460</link>
      <description>Here is differrent outputs of file command on different HP-UX Kernels:&lt;BR /&gt;&lt;BR /&gt;A- 9000/893/T600  &lt;BR /&gt;HP-UX OS Release B.11.0 - 32 Bits   &lt;BR /&gt;# file /stand/vmunix&lt;BR /&gt;/stand/vmunix:  PA-RISC1.1 executable -not stripped&lt;BR /&gt;&lt;BR /&gt;B- 9000/800/R390&lt;BR /&gt;HP-UX OS Release B.11.0 - 64 Bits   &lt;BR /&gt;# file /stand/vmunix&lt;BR /&gt;/stand/vmunix:  ELF-64 executable object file - PA-RISC 2.0 (LP64)&lt;BR /&gt; &lt;BR /&gt;Cheers!&lt;BR /&gt;T??</description>
      <pubDate>Mon, 26 Aug 2002 11:04:06 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-get-on-which-version-of-the-os-the-binary-is-compiled/m-p/2793870#M80460</guid>
      <dc:creator>T. M. Louah</dc:creator>
      <dc:date>2002-08-26T11:04:06Z</dc:date>
    </item>
    <item>
      <title>Re: How to get on which version of the OS the binary is compiled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-get-on-which-version-of-the-os-the-binary-is-compiled/m-p/2793871#M80461</link>
      <description>'file' gives you *for* what *architecture* the binary is compiled, but does not show on what machine or OS version it was built, nor does it show with what compiler it was built. OTOH, it might just what you need to know.&lt;BR /&gt;&lt;BR /&gt;'what' /could/ give you more info (but not neccesarily). If it produces output, look for crt0.o&lt;BR /&gt;&lt;BR /&gt;# what less&lt;BR /&gt;less:&lt;BR /&gt;        $Revision: 92453-07 linker linker crt0.o B.11.30 010914 $&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;That'll show you on what system the binary was linked (and therefor most likely also compiled)&lt;BR /&gt;&lt;BR /&gt;Some prefer 'ident' over 'what', because it shows RCS (Revision Control System) version info ('what' shows SCCS (Source Code Control System) info)&lt;BR /&gt;&lt;BR /&gt;# ident less&lt;BR /&gt;less:&lt;BR /&gt;     $Revision: 92453-07 linker linker crt0.o B.11.30 010914 $&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;For some binaries 'strings' reveal a whole lot of information about it that `standard' utilities hide for you. Also 'chatr' might be useful.</description>
      <pubDate>Mon, 26 Aug 2002 11:22:34 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-get-on-which-version-of-the-os-the-binary-is-compiled/m-p/2793871#M80461</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-08-26T11:22:34Z</dc:date>
    </item>
    <item>
      <title>Re: How to get on which version of the OS the binary is compiled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-get-on-which-version-of-the-os-the-binary-is-compiled/m-p/2793872#M80462</link>
      <description>&lt;BR /&gt;Hi,&lt;BR /&gt;&lt;BR /&gt;There is a command  odump  that will&lt;BR /&gt;give you info about what compiler-version and&lt;BR /&gt;on what HP-UX version a binrary was compiled.&lt;BR /&gt;&lt;BR /&gt;On  hp-ux 10.20 you will find odump&lt;BR /&gt;in  /usr/contrib/bin&lt;BR /&gt;On hp-ux 11.xx you will find odump in &lt;BR /&gt;/usr/ccs/bin/odump&lt;BR /&gt;If you do not find it there,  install one&lt;BR /&gt;of the later ld-patches (e.ex PHSS_26262)&lt;BR /&gt;&lt;BR /&gt;Use odump  like this to get the info you&lt;BR /&gt;want:&lt;BR /&gt;&lt;BR /&gt;   odump -compunit  &lt;BINARY&gt;&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;Olav&lt;BR /&gt;&lt;/BINARY&gt;</description>
      <pubDate>Mon, 26 Aug 2002 12:17:21 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-get-on-which-version-of-the-os-the-binary-is-compiled/m-p/2793872#M80462</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2002-08-26T12:17:21Z</dc:date>
    </item>
    <item>
      <title>Re: How to get on which version of the OS the binary is compiled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-get-on-which-version-of-the-os-the-binary-is-compiled/m-p/2793873#M80463</link>
      <description>Forgot about odump, indeed, but I never use it since it fails way too often to yield some info. See for the less from my previous examples:&lt;BR /&gt;&lt;BR /&gt;# odump -compunit !$&lt;BR /&gt;odump -compunit /pro/bin/less&lt;BR /&gt;&lt;BR /&gt;Compilation Unit Dictionary from /pro/bin/less:&lt;BR /&gt;&lt;BR /&gt;Index Chunk     Language                                    Name&lt;BR /&gt;        Product_id ; Version_id&lt;BR /&gt;        Compile time ; Source time&lt;BR /&gt;#&lt;BR /&gt;&lt;BR /&gt;Uhhhh, no additional info whatsoever.</description>
      <pubDate>Mon, 26 Aug 2002 12:38:26 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-get-on-which-version-of-the-os-the-binary-is-compiled/m-p/2793873#M80463</guid>
      <dc:creator>H.Merijn Brand (procura</dc:creator>
      <dc:date>2002-08-26T12:38:26Z</dc:date>
    </item>
    <item>
      <title>Re: How to get on which version of the OS the binary is compiled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-get-on-which-version-of-the-os-the-binary-is-compiled/m-p/2793874#M80464</link>
      <description>Hi,&lt;BR /&gt;&lt;BR /&gt;I will still highly recommend the odump&lt;BR /&gt;command.&lt;BR /&gt;The output Procura has  demonstrated is&lt;BR /&gt;exactly what you get from odump when&lt;BR /&gt;the binaray has been stripped with the&lt;BR /&gt;strip command.&lt;BR /&gt;&lt;BR /&gt;You can see if a binary has been stripped&lt;BR /&gt;by using the file command:&lt;BR /&gt;&lt;BR /&gt;file lesdir.exe&lt;BR /&gt;lesdir.exe:     PA-RISC1.1 shared executable dynamically linked&lt;BR /&gt;&lt;BR /&gt;showes that the executalble  lesdir.exe  has&lt;BR /&gt;been stripped,  while&lt;BR /&gt;/home/olav/com: file meminfo.exe&lt;BR /&gt;meminfo.exe:    PA-RISC1.1 shared executable -not stripped&lt;BR /&gt;&lt;BR /&gt;show that meminfo.exe has not been stripped.&lt;BR /&gt;&lt;BR /&gt;Regards &lt;BR /&gt;Olav&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 26 Aug 2002 13:02:22 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-get-on-which-version-of-the-os-the-binary-is-compiled/m-p/2793874#M80464</guid>
      <dc:creator>Olav Baadsvik</dc:creator>
      <dc:date>2002-08-26T13:02:22Z</dc:date>
    </item>
    <item>
      <title>Re: How to get on which version of the OS the binary is compiled</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/how-to-get-on-which-version-of-the-os-the-binary-is-compiled/m-p/2793875#M80465</link>
      <description>Hi &lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;You may try man ident.&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;Manoj Srivastava</description>
      <pubDate>Mon, 26 Aug 2002 13:43:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/how-to-get-on-which-version-of-the-os-the-binary-is-compiled/m-p/2793875#M80465</guid>
      <dc:creator>MANOJ SRIVASTAVA</dc:creator>
      <dc:date>2002-08-26T13:43:48Z</dc:date>
    </item>
  </channel>
</rss>

