<?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 Proc*C with debug option in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-proc-c-with-debug-option/m-p/3558653#M226076</link>
    <description>I don't have an Itanium box handy but the solution should be very similar.&lt;BR /&gt;&lt;BR /&gt;In demo_proc.mk there is a line similar to this:&lt;BR /&gt;include $(ORACLE_HOME)/precomp/lib/env_precomp.mk&lt;BR /&gt;&lt;BR /&gt;It is this file that needs to me modified.&lt;BR /&gt;&lt;BR /&gt;There should be a definition for CCFLAGS; modify it and add "-" to it.&lt;BR /&gt;</description>
    <pubDate>Mon, 06 Jun 2005 15:00:44 GMT</pubDate>
    <dc:creator>A. Clay Stephenson</dc:creator>
    <dc:date>2005-06-06T15:00:44Z</dc:date>
    <item>
      <title>Compile Proc*C with debug option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-proc-c-with-debug-option/m-p/3558649#M226072</link>
      <description>I have a big trouble, I can´t compile a program with  debug option. I don't know if I'm making a mistake. &lt;BR /&gt;&lt;BR /&gt;If a Compile on this way, results OK! and I can generate my .exe:&lt;BR /&gt; &lt;BR /&gt;make -f $ORACLE_HOME/precomp/demo/proc/demo_proc.mk build EXE=pruebita.exe OBJS=pruebita.o&lt;BR /&gt;&lt;BR /&gt;But if I compile like this:&lt;BR /&gt;&lt;BR /&gt;make -g $ORACLE_HOME/precomp/demo/proc/demo_proc.mk build EXE=pruebita.exe OBJS=pruebita.o&lt;BR /&gt;&lt;BR /&gt;result: `/oracle/product/9.2.0/precomp/demo/proc/demo_proc.mk' is up to date.&lt;BR /&gt;Make: Don't know how to make build.  Stop.&lt;BR /&gt;&lt;BR /&gt;Maybe I'm missing something... somebody could help me please!!</description>
      <pubDate>Mon, 06 Jun 2005 11:06:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-proc-c-with-debug-option/m-p/3558649#M226072</guid>
      <dc:creator>Duda_1</dc:creator>
      <dc:date>2005-06-06T11:06:23Z</dc:date>
    </item>
    <item>
      <title>Re: Compile Proc*C with debug option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-proc-c-with-debug-option/m-p/3558650#M226073</link>
      <description>I forgot to say:&lt;BR /&gt;My operating system is HPUX 11.23 (ITANIUM)&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for any response.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jun 2005 11:09:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-proc-c-with-debug-option/m-p/3558650#M226073</guid>
      <dc:creator>Duda_1</dc:creator>
      <dc:date>2005-06-06T11:09:58Z</dc:date>
    </item>
    <item>
      <title>Re: Compile Proc*C with debug option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-proc-c-with-debug-option/m-p/3558651#M226074</link>
      <description>Make doesn't have a clue what "-g" means. You need to modify the makefile itself where the suffixes and rules are to add the -g flag to the options supplied to the C/C++ compiler. These are generally found in the include files listed in the actual makefile.</description>
      <pubDate>Mon, 06 Jun 2005 13:14:48 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-proc-c-with-debug-option/m-p/3558651#M226074</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-06-06T13:14:48Z</dc:date>
    </item>
    <item>
      <title>Re: Compile Proc*C with debug option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-proc-c-with-debug-option/m-p/3558652#M226075</link>
      <description>Please, could yo tell me where to add the -g&lt;BR /&gt;I did a review of my demo_prok.mk but I didn't figure out where to put it.&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jun 2005 14:34:28 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-proc-c-with-debug-option/m-p/3558652#M226075</guid>
      <dc:creator>Duda_1</dc:creator>
      <dc:date>2005-06-06T14:34:28Z</dc:date>
    </item>
    <item>
      <title>Re: Compile Proc*C with debug option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-proc-c-with-debug-option/m-p/3558653#M226076</link>
      <description>I don't have an Itanium box handy but the solution should be very similar.&lt;BR /&gt;&lt;BR /&gt;In demo_proc.mk there is a line similar to this:&lt;BR /&gt;include $(ORACLE_HOME)/precomp/lib/env_precomp.mk&lt;BR /&gt;&lt;BR /&gt;It is this file that needs to me modified.&lt;BR /&gt;&lt;BR /&gt;There should be a definition for CCFLAGS; modify it and add "-" to it.&lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jun 2005 15:00:44 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-proc-c-with-debug-option/m-p/3558653#M226076</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-06-06T15:00:44Z</dc:date>
    </item>
    <item>
      <title>Re: Compile Proc*C with debug option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-proc-c-with-debug-option/m-p/3558654#M226077</link>
      <description>Ooops,&lt;BR /&gt;&lt;BR /&gt;That should be:&lt;BR /&gt;&lt;BR /&gt;There should be a definition for CCFLAGS; modify it and add "-g" to it. &lt;BR /&gt;&lt;BR /&gt;You make also see some use of $(GFLAG) but without a definition for it. Instead of modifying CCFLAGS, you could add a definition&lt;BR /&gt;GFLAG=-g &lt;BR /&gt;near the top of the include file.&lt;BR /&gt;&lt;BR /&gt;You really need to understand make before tackling ProC or you are going to be faced with many obscure problems. It's probably easier to get started with make compiling plain C programs before adding ProC to the mix.&lt;BR /&gt;&lt;BR /&gt;  &lt;BR /&gt;</description>
      <pubDate>Mon, 06 Jun 2005 15:04:58 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-proc-c-with-debug-option/m-p/3558654#M226077</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-06-06T15:04:58Z</dc:date>
    </item>
    <item>
      <title>Re: Compile Proc*C with debug option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-proc-c-with-debug-option/m-p/3558655#M226078</link>
      <description>thanks, it works!!!&lt;BR /&gt;&lt;BR /&gt;Now I can compile with debug option but I can't finish the complete process because I'm getting the following error&lt;BR /&gt;&lt;BR /&gt;ld: Can't find library or mismatched ABI for -lclntsh&lt;BR /&gt;Fatal error.&lt;BR /&gt;*** Error exit code 1  &lt;BR /&gt;&lt;BR /&gt;Any ideas?</description>
      <pubDate>Mon, 06 Jun 2005 20:05:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-proc-c-with-debug-option/m-p/3558655#M226078</guid>
      <dc:creator>Duda_1</dc:creator>
      <dc:date>2005-06-06T20:05:31Z</dc:date>
    </item>
    <item>
      <title>Re: Compile Proc*C with debug option</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/compile-proc-c-with-debug-option/m-p/3558656#M226079</link>
      <description>The linker is telling you that you haven't told it where to look for libraries. You probably need to define something like PRODLIBHOME in that same make include file.&lt;BR /&gt;&lt;BR /&gt;You really, really need to first learn make or you are simply going to get more of these types of problems. Make is a very good tool and its purpose in life is to look at suffixes (e.g. .c, .pc, .s, .o) and timestamps and decide what operations need to be done to build a target file (an executable, library, etc.). Until you bother to study make, you are wasting time.</description>
      <pubDate>Mon, 06 Jun 2005 22:27:11 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/compile-proc-c-with-debug-option/m-p/3558656#M226079</guid>
      <dc:creator>A. Clay Stephenson</dc:creator>
      <dc:date>2005-06-06T22:27:11Z</dc:date>
    </item>
  </channel>
</rss>

