<?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 gcc: Compile a simple program with &amp;quot;GNU Multiple Precision Arithmetic Library&amp;quot; in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compile-a-simple-program-with-quot-gnu-multiple-precision/m-p/7081949#M495847</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Why doesn't&amp;nbsp;gcc compile this simple program?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;fraapp31_cotafac]/tmp# gcc -v kk.c
Using built-in specs.
Target: ia64-hp-hpux11.23
Configured with: ../gcc/configure
Thread model: posix
gcc version 4.2.3
 /usr/local/libexec/gcc/ia64-hp-hpux11.23/4.2.3/cc1 -quiet -v kk.c -quiet -dumpbase kk.c -auxbase kk -version -o /var/tmp//cc3XeKba.s
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory "/usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.3/../../../../ia64-hp-hpux11.23/include"
#include "..." search starts here:
#include &amp;lt;...&amp;gt; search starts here:
 /usr/local/include
 /usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.3/include
 /usr/include
End of search list.
GNU C version 4.2.3 (ia64-hp-hpux11.23)
        compiled by GNU C version 4.2.3.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: a60fba7fb6c876ab3d8a00a8d3192d93
 /usr/local/bin/as -x -o /var/tmp//ccqdO0Ue.o /var/tmp//cc3XeKba.s
 /usr/local/libexec/gcc/ia64-hp-hpux11.23/4.2.3/collect2 -z +Accept TypeMismatch -u main /usr/lib/hpux32/unix98.o -L/usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.3 -L/usr/ccs/lib -L/usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.3/../../.. /var/tmp//ccqdO0Ue.o -lgcc -lc -lgcc
ld: Unsatisfied symbol "__gmpz_init" in file /var/tmp//ccqdO0Ue.o
1 errors.
collect2: ld returned 1 exit status
[fraapp31_cotafac]/tmp#
[fraapp31_cotafac]/tmp#
[fraapp31_cotafac]/tmp# cat kk.c

#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;gmp.h&amp;gt;

int main()
{
        mpz_t x, y;
        mpz_init (x);

}
[fraapp31_cotafac]/tmp#
[fraapp31_cotafac]/tmp#
[fraapp31_cotafac]/tmp# ll /usr/local/lib/hpux64/libgmp.*
-rw-r--r--   1 root       sys        3339670 Aug 18  2017 /usr/local/lib/hpux64/libgmp.a
-rwxr-xr-x   1 root       sys            887 Aug 18  2017 /usr/local/lib/hpux64/libgmp.la
-r-xr-xr-x   1 root       sys        2079408 Aug 18  2017 /usr/local/lib/hpux64/libgmp.so
[fraapp31_cotafac]/tmp#
[fraapp31_cotafac]/tmp#
[fraapp31_cotafac]/tmp# uname -a
HP-UX fraapp31 B.11.23 U ia64 1849578169 unlimited-user license
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I really appreciate any help you can provide.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jose Luis.&lt;/P&gt;</description>
    <pubDate>Mon, 09 Mar 2020 18:24:45 GMT</pubDate>
    <dc:creator>JoseLuis2</dc:creator>
    <dc:date>2020-03-09T18:24:45Z</dc:date>
    <item>
      <title>gcc: Compile a simple program with "GNU Multiple Precision Arithmetic Library"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compile-a-simple-program-with-quot-gnu-multiple-precision/m-p/7081949#M495847</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Why doesn't&amp;nbsp;gcc compile this simple program?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="c"&gt;fraapp31_cotafac]/tmp# gcc -v kk.c
Using built-in specs.
Target: ia64-hp-hpux11.23
Configured with: ../gcc/configure
Thread model: posix
gcc version 4.2.3
 /usr/local/libexec/gcc/ia64-hp-hpux11.23/4.2.3/cc1 -quiet -v kk.c -quiet -dumpbase kk.c -auxbase kk -version -o /var/tmp//cc3XeKba.s
ignoring nonexistent directory "NONE/include"
ignoring nonexistent directory "/usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.3/../../../../ia64-hp-hpux11.23/include"
#include "..." search starts here:
#include &amp;lt;...&amp;gt; search starts here:
 /usr/local/include
 /usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.3/include
 /usr/include
End of search list.
GNU C version 4.2.3 (ia64-hp-hpux11.23)
        compiled by GNU C version 4.2.3.
GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072
Compiler executable checksum: a60fba7fb6c876ab3d8a00a8d3192d93
 /usr/local/bin/as -x -o /var/tmp//ccqdO0Ue.o /var/tmp//cc3XeKba.s
 /usr/local/libexec/gcc/ia64-hp-hpux11.23/4.2.3/collect2 -z +Accept TypeMismatch -u main /usr/lib/hpux32/unix98.o -L/usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.3 -L/usr/ccs/lib -L/usr/local/lib/gcc/ia64-hp-hpux11.23/4.2.3/../../.. /var/tmp//ccqdO0Ue.o -lgcc -lc -lgcc
ld: Unsatisfied symbol "__gmpz_init" in file /var/tmp//ccqdO0Ue.o
1 errors.
collect2: ld returned 1 exit status
[fraapp31_cotafac]/tmp#
[fraapp31_cotafac]/tmp#
[fraapp31_cotafac]/tmp# cat kk.c

#include &amp;lt;stdio.h&amp;gt;
#include &amp;lt;gmp.h&amp;gt;

int main()
{
        mpz_t x, y;
        mpz_init (x);

}
[fraapp31_cotafac]/tmp#
[fraapp31_cotafac]/tmp#
[fraapp31_cotafac]/tmp# ll /usr/local/lib/hpux64/libgmp.*
-rw-r--r--   1 root       sys        3339670 Aug 18  2017 /usr/local/lib/hpux64/libgmp.a
-rwxr-xr-x   1 root       sys            887 Aug 18  2017 /usr/local/lib/hpux64/libgmp.la
-r-xr-xr-x   1 root       sys        2079408 Aug 18  2017 /usr/local/lib/hpux64/libgmp.so
[fraapp31_cotafac]/tmp#
[fraapp31_cotafac]/tmp#
[fraapp31_cotafac]/tmp# uname -a
HP-UX fraapp31 B.11.23 U ia64 1849578169 unlimited-user license
&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;SPAN&gt;I really appreciate any help you can provide.&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jose Luis.&lt;/P&gt;</description>
      <pubDate>Mon, 09 Mar 2020 18:24:45 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compile-a-simple-program-with-quot-gnu-multiple-precision/m-p/7081949#M495847</guid>
      <dc:creator>JoseLuis2</dc:creator>
      <dc:date>2020-03-09T18:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: gcc: Compile a simple program with "GNU Multiple Precision Arithmetic Library"</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compile-a-simple-program-with-quot-gnu-multiple-precision/m-p/7082024#M495848</link>
      <description>&lt;P&gt;I had finaly compile with this command:&lt;/P&gt;&lt;P&gt;cc -I/usr/local/include +DD64 -L/usr/local/lib/hpux64 -lgmp +DD64 kk.c&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Jose Luis.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 10 Mar 2020 07:36:43 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/gcc-compile-a-simple-program-with-quot-gnu-multiple-precision/m-p/7082024#M495848</guid>
      <dc:creator>JoseLuis2</dc:creator>
      <dc:date>2020-03-10T07:36:43Z</dc:date>
    </item>
  </channel>
</rss>

