<?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 Code Profiling in 'C' programs by using gcc compiling suite in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/code-profiling-in-c-programs-by-using-gcc-compiling-suite/m-p/3459413#M703933</link>
    <description>I'm trying to profile some C program code on HP-UX by using gcc via following command:&lt;BR /&gt;&lt;BR /&gt;mygcc +DA1.1 -Wl,+s -D__BIGMSGQUEUE_ENABLED  -I$TUXDIR/include -o ../../TMPBIN//TrafficArchiverE BS-5f07.c  -L${TUXDIR}/lib ../../TMPOBJ//TrafficArchiverE.o -pg /dsk2/pri/h3gcallt/libcbin/LIB_DataBase.a /dsk2/pri/h3gcallt/libcbin/LIB_FileManager.a /dsk2/pri/h3gcallt/libcbin/LIB_Log.a /dsk2/pri/h3gcallt/libcbin/LIB_SHMManager.a /dsk2/pri/h3gcallt/libcbin/LIB_Expression.a /dsk2/pri/h3gcallt/libcbin/LIB_Timing.a /dsk2/pri/h3gcallt/libcbin/LIB_LicManager.a /dsk2/pri/h3gcallt/libcbin/LIB_InterProcComm.a -L/usr/local/ssl/lib -lcrypto  -ltux -lbuft  -L${ORACLE_HOME}/lib -lm -lc -lnsl -lclient8 -lclntsh -lsql8 -lcommon8 -lgeneric8 -lnls8 -lcore8 -lwtc8 -lfml -lfml32 -lengine -lpthread -lcl -lnsl&lt;BR /&gt;&lt;BR /&gt;Code is not profiled, and the following error is reported by the command execution:&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/bin/ld: Can't open gcrt0.o&lt;BR /&gt;/usr/ccs/bin/ld: No such file or directory&lt;BR /&gt;&lt;BR /&gt;Trying using -p instead of -pg the following errors are displyed:&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/bin/ld: Can't open mcrt0.o&lt;BR /&gt;/usr/ccs/bin/ld: No such file or directory&lt;BR /&gt;&lt;BR /&gt;Does patch PHSS-26559 solve this problem totally or partially?&lt;BR /&gt;&lt;BR /&gt;Could be the problem originated by incomplete/damaged installation of gcc/OS?&lt;BR /&gt;&lt;BR /&gt;Thankyou</description>
    <pubDate>Mon, 10 Jan 2005 08:41:51 GMT</pubDate>
    <dc:creator>Maurizio_12</dc:creator>
    <dc:date>2005-01-10T08:41:51Z</dc:date>
    <item>
      <title>Code Profiling in 'C' programs by using gcc compiling suite</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/code-profiling-in-c-programs-by-using-gcc-compiling-suite/m-p/3459413#M703933</link>
      <description>I'm trying to profile some C program code on HP-UX by using gcc via following command:&lt;BR /&gt;&lt;BR /&gt;mygcc +DA1.1 -Wl,+s -D__BIGMSGQUEUE_ENABLED  -I$TUXDIR/include -o ../../TMPBIN//TrafficArchiverE BS-5f07.c  -L${TUXDIR}/lib ../../TMPOBJ//TrafficArchiverE.o -pg /dsk2/pri/h3gcallt/libcbin/LIB_DataBase.a /dsk2/pri/h3gcallt/libcbin/LIB_FileManager.a /dsk2/pri/h3gcallt/libcbin/LIB_Log.a /dsk2/pri/h3gcallt/libcbin/LIB_SHMManager.a /dsk2/pri/h3gcallt/libcbin/LIB_Expression.a /dsk2/pri/h3gcallt/libcbin/LIB_Timing.a /dsk2/pri/h3gcallt/libcbin/LIB_LicManager.a /dsk2/pri/h3gcallt/libcbin/LIB_InterProcComm.a -L/usr/local/ssl/lib -lcrypto  -ltux -lbuft  -L${ORACLE_HOME}/lib -lm -lc -lnsl -lclient8 -lclntsh -lsql8 -lcommon8 -lgeneric8 -lnls8 -lcore8 -lwtc8 -lfml -lfml32 -lengine -lpthread -lcl -lnsl&lt;BR /&gt;&lt;BR /&gt;Code is not profiled, and the following error is reported by the command execution:&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/bin/ld: Can't open gcrt0.o&lt;BR /&gt;/usr/ccs/bin/ld: No such file or directory&lt;BR /&gt;&lt;BR /&gt;Trying using -p instead of -pg the following errors are displyed:&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/bin/ld: Can't open mcrt0.o&lt;BR /&gt;/usr/ccs/bin/ld: No such file or directory&lt;BR /&gt;&lt;BR /&gt;Does patch PHSS-26559 solve this problem totally or partially?&lt;BR /&gt;&lt;BR /&gt;Could be the problem originated by incomplete/damaged installation of gcc/OS?&lt;BR /&gt;&lt;BR /&gt;Thankyou</description>
      <pubDate>Mon, 10 Jan 2005 08:41:51 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/code-profiling-in-c-programs-by-using-gcc-compiling-suite/m-p/3459413#M703933</guid>
      <dc:creator>Maurizio_12</dc:creator>
      <dc:date>2005-01-10T08:41:51Z</dc:date>
    </item>
    <item>
      <title>Re: Code Profiling in 'C' programs by using gcc compiling suite</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/code-profiling-in-c-programs-by-using-gcc-compiling-suite/m-p/3459414#M703934</link>
      <description>mcrt0.o, gcrt0.o etc are sym links from /usr/lib into /usr/ccs/lib&lt;BR /&gt;&lt;BR /&gt;If you have the sym link in /usr/lib, but don't actually have the files in /usr/ccs/lib, then you will get the problem you describe.</description>
      <pubDate>Tue, 11 Jan 2005 07:36:01 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/code-profiling-in-c-programs-by-using-gcc-compiling-suite/m-p/3459414#M703934</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-01-11T07:36:01Z</dc:date>
    </item>
    <item>
      <title>Re: Code Profiling in 'C' programs by using gcc compiling suite</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/code-profiling-in-c-programs-by-using-gcc-compiling-suite/m-p/3459415#M703935</link>
      <description>h3gcallt[ta]:/lib&amp;gt;ls -lrt /usr/ccs/lib/*.o&lt;BR /&gt;-r--r--r--   1 bin        bin          11608 Feb  1  2001 /usr/ccs/lib/crt0.o&lt;BR /&gt;-r--r--r--   1 bin        bin            588 Feb  1  2001 /usr/ccs/lib/dyncall.o&lt;BR /&gt;h3gcallt[ta]:/lib&amp;gt;ls -lrt /usr/lib/*.o&lt;BR /&gt;-r--r--r--   1 bin        bin            624 Nov  7  1997 /usr/lib/unix95.o&lt;BR /&gt;lr--r--r-T   1 root       sys             19 Mar 23  2002 /usr/lib/crt0.o@ -&amp;gt; /usr/ccs/lib/crt0.o&lt;BR /&gt;lr--r--r-T   1 root       sys             22 Mar 23  2002 /usr/lib/dyncall.o@ -&amp;gt; /usr/ccs/lib/dyncall.o&lt;BR /&gt;lrwxrwxrwt   1 root       sys             20 Mar 23  2002 /usr/lib/gcrt0.o@ -&amp;gt; /usr/ccs/lib/gcrt0.o&lt;BR /&gt;lrwxrwxrwt   1 root       sys             20 Mar 23  2002 /usr/lib/icrt0.o@ -&amp;gt; /usr/ccs/lib/icrt0.o&lt;BR /&gt;lrwxrwxrwt   1 root       sys             20 Mar 23  2002 /usr/lib/mcrt0.o@ -&amp;gt; /usr/ccs/lib/mcrt0.o&lt;BR /&gt;&lt;BR /&gt;Actual files do not exist there!&lt;BR /&gt;thank you</description>
      <pubDate>Tue, 11 Jan 2005 11:00:20 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/code-profiling-in-c-programs-by-using-gcc-compiling-suite/m-p/3459415#M703935</guid>
      <dc:creator>Maurizio_12</dc:creator>
      <dc:date>2005-01-11T11:00:20Z</dc:date>
    </item>
    <item>
      <title>Re: Code Profiling in 'C' programs by using gcc compiling suite</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/code-profiling-in-c-programs-by-using-gcc-compiling-suite/m-p/3459416#M703936</link>
      <description>I don't have the file either, but I use gcc, not aCC. Maybe the files come with the HP-UX C/C++ compiler? Presumably you have to pay if you want them.</description>
      <pubDate>Tue, 11 Jan 2005 11:08:50 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/code-profiling-in-c-programs-by-using-gcc-compiling-suite/m-p/3459416#M703936</guid>
      <dc:creator>Stephen Keane</dc:creator>
      <dc:date>2005-01-11T11:08:50Z</dc:date>
    </item>
  </channel>
</rss>

