<?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 Problem when compiling PA-RISC code on Itanium in Operating System - HP-UX</title>
    <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-compiling-pa-risc-code-on-itanium/m-p/4725261#M655643</link>
    <description>I need to link new C code with a legacy library (PA-RISC). I'm using GCC4.4.3 that I obtained from the HP website (DSPP).&lt;BR /&gt;HPUX11.31 is supplied with PA-RISC libraries, so I assumed it would be simple.&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;hptest&amp;gt; gcc -v&lt;BR /&gt;Using built-in specs.&lt;BR /&gt;Target: hppa1.1-hp-hpux11.11&lt;BR /&gt;Configured with: /tmp/gcc-4.4.3.tar.gz/gcc-4.4.3/configure --host=hppa1.1-hp-hpux11.11 --target=hppa1.1-hp-hpux11.11 --build=hppa1.1-hp-hpux11.11 --prefix=/opt/hp-gcc-4.4.3 --with-gnu-as --without-gnu-ld --enable-threads=posix --enable-languages=c,c++ --with-gmp=/proj/opensrc/be/hppa1.1-hp-hpux11.11 --with-mpfr=/proj/opensrc/be/hppa1.1-hp-hpux11.11 SED=/usr/bin/sed&lt;BR /&gt;Thread model: posix&lt;BR /&gt;gcc version 4.4.3 (GCC)&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;My first attempt gave this (some paths shortened)&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;export LDOPTS="-v"&lt;BR /&gt;gcc -v -march=1.1 -I/myinc -L/mylibs mylib1.a prog.c&lt;BR /&gt;&lt;BR /&gt;Using built-in specs.&lt;BR /&gt;Target: hppa1.1-hp-hpux11.11&lt;BR /&gt;Configured with: /tmp/gcc-4.4.3.tar.gz/gcc-4.4.3/configure --host=hppa1.1-hp-hpux11.11 --target=hppa1.1-hp-hpux11.11 --build=hppa1.1-hp-hpux11.11 --prefix=/opt/hp-gcc-4.4.3 --with-gnu-as --without-gnu-ld --enable-threads=posix --enable-languages=c,c++ --with-gmp=/proj/opensrc/be/hppa1.1-hp-hpux11.11 --with-mpfr=/proj/opensrc/be/hppa1.1-hp-hpux11.11 SED=/usr/bin/sed                                      &lt;BR /&gt;Thread model: posix                                                                  &lt;BR /&gt;gcc version 4.4.3 (GCC)                                                                 &lt;BR /&gt;COLLECT_GCC_OPTIONS='-v' '-march=1.1' '-I/myinc' '-L/mylibs' '-mschedule=7100LC'                                                            &lt;BR /&gt; /opt/hp-gcc-4.4.3/libexec/gcc/hppa1.1-hp-hpux11.11/4.4.3/cc1 -quiet -v -I/myinc  prog.c -quiet -dumpbase prog.c -march=1.1 -mschedule=7100LC -auxbase ex3 -version -o /var/tmp//ccFG1Yla.s &lt;BR /&gt;ignoring nonexistent directory "/opt/hp-gcc-4.4.3/hppa1.1-hp-hpux11.11/include"&lt;BR /&gt;#include "..." search starts here:&lt;BR /&gt;#include &amp;lt;...&amp;gt; search starts here:&lt;BR /&gt; /myinc&lt;BR /&gt; /usr/local/include&lt;BR /&gt; /opt/hp-gcc-4.4.3/include&lt;BR /&gt; /opt/hp-gcc-4.4.3/lib/gcc/hppa1.1-hp-hpux11.11/4.4.3/include&lt;BR /&gt; /opt/hp-gcc-4.4.3/lib/gcc/hppa1.1-hp-hpux11.11/4.4.3/include-fixed&lt;BR /&gt; /usr/include&lt;BR /&gt;End of search list.&lt;BR /&gt;GNU C (GCC) version 4.4.3 (hppa1.1-hp-hpux11.11)&lt;BR /&gt;        compiled by GNU C version 4.4.3, GMP version 4.2.4, MPFR version 2.4.1.&lt;BR /&gt;GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072&lt;BR /&gt;Compiler executable checksum: cf6b82a9c6a4c8b4c5c83f9910f85797&lt;BR /&gt;COLLECT_GCC_OPTIONS='-v' '-march=1.1' '-I/myinc' '-mschedule=7100LC'&lt;BR /&gt; /opt/hp-gcc-4.4.3/hppa1.1-hp-hpux11.11/bin/as -v -I/myinc -o /var/tmp//cceSogXF.o /var/tmp//ccFG1Yla.s&lt;BR /&gt;GNU assembler version 2.20 (hppa1.1-hp-hpux11.11) using BFD version (GNU Binutils) 2.20&lt;BR /&gt;COMPILER_PATH=/opt/hp-gcc-4.4.3/libexec/gcc/hppa1.1-hp-hpux11.11/4.4.3/:/opt/hp-gcc-4.4.3/libexec/gcc/hppa1.1-hp-hpux11.11/4.4.3/:/opt/hp-gcc-4.4.3/libexec/gcc/hppa1.1-hp-hpux11.11/:/opt/hp-gcc-4.4.3/lib/gcc/hppa1.1-hp-hpux11.11/4.4.3/:/opt/hp-gcc-4.4.3/lib/gcc/hppa1.1-hp-hpux11.11/:/opt/hp-gcc-4.4.3/hppa1.1-hp-hpux11.11/bin/:/usr/ccs/bin/&lt;BR /&gt;LIBRARY_PATH=/opt/hp-gcc-4.4.3/lib/gcc/hppa1.1-hp-hpux11.11/4.4.3/:/usr/ccs/lib/:/opt/langtools/lib/:/opt/hp-gcc-4.4.3/lib/:/lib/:/usr/lib/&lt;BR /&gt;COLLECT_GCC_OPTIONS='-v' '-march=1.1' '-I/myinc' '-L/mylibs' '-mschedule=7100LC'&lt;BR /&gt; /opt/hp-gcc-4.4.3/libexec/gcc/hppa1.1-hp-hpux11.11/4.4.3/collect2 -z -u main -u __gcc_plt_call crt0.o unix98.o -L/mylibs -L/opt/hp-gcc-4.4.3/lib/gcc/hppa1.1-hp-hpux11.11/4.4.3 -L/usr/ccs/lib -L/opt/langtools/lib -L/opt/hp-gcc-4.4.3/lib mylib1.a /var/tmp//cceSogXF.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh&lt;BR /&gt;ld: Mismatched ABI (not an ELF file) for -lgcc, found /opt/hp-gcc-4.4.3/lib/gcc/hppa1.1-hp-hpux11.11/4.4.3/libgcc.a&lt;BR /&gt;Fatal error.&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;Obviously ctr0.o (the first object file) force the linker to use ELF (Itanium format). Second attempt to use ctr0.o from a different directory. I used SDKROOT (thanks to Dennis).&lt;BR /&gt;Here's the result (shortened):&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;export LDOPTS="-v"&lt;BR /&gt;export SDKROOT=/usr/ccs/pa&lt;BR /&gt;gcc -v -march=1.1 -I/myinc -L/mylibs mylib1.a prog.c&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/pa/usr/ccs/lbin/ld32 -v -z -u main -u __gcc_plt_call crt0.o unix98.o -Lmylibs -L/opt/hp-gcc-4.4.3/lib/gcc/hppa1.1-hp-hpux11.11/4.4.3 -L/usr/ccs/lib -L/opt/langtools/lib -L/opt/hp-gcc-4.4.3/lib lib1.a /var/tmp//ccQfvieL.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh&lt;BR /&gt;LPATH is : /usr/lib:/opt/langtools/lib&lt;BR /&gt;/usr/ccs/pa/usr/ccs/lbin/ld32: Can't open crt0.o&lt;BR /&gt;/usr/ccs/pa/usr/ccs/lbin/ld32: No such file or directory&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;Here's the result of next attempt:&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;export LPATH=/usr/ccs/pa/usr/ccs/lib:/usr/lib:/opt/langtools/lib&lt;BR /&gt;export LDOPTS="-v"&lt;BR /&gt;export SDKROOT=/usr/ccs/pa&lt;BR /&gt;gcc -v -march=1.1 -I/myinc -L/mylibs mylib1.a prog.c&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/pa/usr/ccs/lbin/ld32 -v -z -u main -u __gcc_plt_call /usr/ccs/pa/usr/ccs/lib/crt0.o unix98.o -L/mylibs -L/usr/ccs/pa/usr/ccs/lib -L/opt/langtools/lib -L/opt/hp-gcc-4.4.3/lib/gcc/hppa1.1-hp-hpux11.11/4.4.3 -L/usr/ccs/lib -L/opt/langtools/lib -L/opt/hp-gcc-4.4.3/lib mylib1.a /var/tmp//cconAqDU.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh&lt;BR /&gt;LPATH is : /usr/ccs/pa/usr/ccs/lib:/usr/lib:/opt/langtools/lib&lt;BR /&gt;Loading /usr/ccs/pa/usr/ccs/lib/crt0.o:&lt;BR /&gt;/usr/ccs/pa/usr/ccs/lbin/ld32: Can't open unix98.o&lt;BR /&gt;/usr/ccs/pa/usr/ccs/lbin/ld32: No such file or directory&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;ctr0.o is now OK but unix98.o is not and there is no unix98 file for PA-RISC.&lt;BR /&gt;&lt;BR /&gt;Any suggestion will be appreciated.&lt;BR /&gt;Sorry for the long post.&lt;BR /&gt;</description>
    <pubDate>Sun, 12 Dec 2010 18:01:55 GMT</pubDate>
    <dc:creator>Gilles Allard</dc:creator>
    <dc:date>2010-12-12T18:01:55Z</dc:date>
    <item>
      <title>Problem when compiling PA-RISC code on Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-compiling-pa-risc-code-on-itanium/m-p/4725261#M655643</link>
      <description>I need to link new C code with a legacy library (PA-RISC). I'm using GCC4.4.3 that I obtained from the HP website (DSPP).&lt;BR /&gt;HPUX11.31 is supplied with PA-RISC libraries, so I assumed it would be simple.&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;hptest&amp;gt; gcc -v&lt;BR /&gt;Using built-in specs.&lt;BR /&gt;Target: hppa1.1-hp-hpux11.11&lt;BR /&gt;Configured with: /tmp/gcc-4.4.3.tar.gz/gcc-4.4.3/configure --host=hppa1.1-hp-hpux11.11 --target=hppa1.1-hp-hpux11.11 --build=hppa1.1-hp-hpux11.11 --prefix=/opt/hp-gcc-4.4.3 --with-gnu-as --without-gnu-ld --enable-threads=posix --enable-languages=c,c++ --with-gmp=/proj/opensrc/be/hppa1.1-hp-hpux11.11 --with-mpfr=/proj/opensrc/be/hppa1.1-hp-hpux11.11 SED=/usr/bin/sed&lt;BR /&gt;Thread model: posix&lt;BR /&gt;gcc version 4.4.3 (GCC)&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;My first attempt gave this (some paths shortened)&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;export LDOPTS="-v"&lt;BR /&gt;gcc -v -march=1.1 -I/myinc -L/mylibs mylib1.a prog.c&lt;BR /&gt;&lt;BR /&gt;Using built-in specs.&lt;BR /&gt;Target: hppa1.1-hp-hpux11.11&lt;BR /&gt;Configured with: /tmp/gcc-4.4.3.tar.gz/gcc-4.4.3/configure --host=hppa1.1-hp-hpux11.11 --target=hppa1.1-hp-hpux11.11 --build=hppa1.1-hp-hpux11.11 --prefix=/opt/hp-gcc-4.4.3 --with-gnu-as --without-gnu-ld --enable-threads=posix --enable-languages=c,c++ --with-gmp=/proj/opensrc/be/hppa1.1-hp-hpux11.11 --with-mpfr=/proj/opensrc/be/hppa1.1-hp-hpux11.11 SED=/usr/bin/sed                                      &lt;BR /&gt;Thread model: posix                                                                  &lt;BR /&gt;gcc version 4.4.3 (GCC)                                                                 &lt;BR /&gt;COLLECT_GCC_OPTIONS='-v' '-march=1.1' '-I/myinc' '-L/mylibs' '-mschedule=7100LC'                                                            &lt;BR /&gt; /opt/hp-gcc-4.4.3/libexec/gcc/hppa1.1-hp-hpux11.11/4.4.3/cc1 -quiet -v -I/myinc  prog.c -quiet -dumpbase prog.c -march=1.1 -mschedule=7100LC -auxbase ex3 -version -o /var/tmp//ccFG1Yla.s &lt;BR /&gt;ignoring nonexistent directory "/opt/hp-gcc-4.4.3/hppa1.1-hp-hpux11.11/include"&lt;BR /&gt;#include "..." search starts here:&lt;BR /&gt;#include &amp;lt;...&amp;gt; search starts here:&lt;BR /&gt; /myinc&lt;BR /&gt; /usr/local/include&lt;BR /&gt; /opt/hp-gcc-4.4.3/include&lt;BR /&gt; /opt/hp-gcc-4.4.3/lib/gcc/hppa1.1-hp-hpux11.11/4.4.3/include&lt;BR /&gt; /opt/hp-gcc-4.4.3/lib/gcc/hppa1.1-hp-hpux11.11/4.4.3/include-fixed&lt;BR /&gt; /usr/include&lt;BR /&gt;End of search list.&lt;BR /&gt;GNU C (GCC) version 4.4.3 (hppa1.1-hp-hpux11.11)&lt;BR /&gt;        compiled by GNU C version 4.4.3, GMP version 4.2.4, MPFR version 2.4.1.&lt;BR /&gt;GGC heuristics: --param ggc-min-expand=100 --param ggc-min-heapsize=131072&lt;BR /&gt;Compiler executable checksum: cf6b82a9c6a4c8b4c5c83f9910f85797&lt;BR /&gt;COLLECT_GCC_OPTIONS='-v' '-march=1.1' '-I/myinc' '-mschedule=7100LC'&lt;BR /&gt; /opt/hp-gcc-4.4.3/hppa1.1-hp-hpux11.11/bin/as -v -I/myinc -o /var/tmp//cceSogXF.o /var/tmp//ccFG1Yla.s&lt;BR /&gt;GNU assembler version 2.20 (hppa1.1-hp-hpux11.11) using BFD version (GNU Binutils) 2.20&lt;BR /&gt;COMPILER_PATH=/opt/hp-gcc-4.4.3/libexec/gcc/hppa1.1-hp-hpux11.11/4.4.3/:/opt/hp-gcc-4.4.3/libexec/gcc/hppa1.1-hp-hpux11.11/4.4.3/:/opt/hp-gcc-4.4.3/libexec/gcc/hppa1.1-hp-hpux11.11/:/opt/hp-gcc-4.4.3/lib/gcc/hppa1.1-hp-hpux11.11/4.4.3/:/opt/hp-gcc-4.4.3/lib/gcc/hppa1.1-hp-hpux11.11/:/opt/hp-gcc-4.4.3/hppa1.1-hp-hpux11.11/bin/:/usr/ccs/bin/&lt;BR /&gt;LIBRARY_PATH=/opt/hp-gcc-4.4.3/lib/gcc/hppa1.1-hp-hpux11.11/4.4.3/:/usr/ccs/lib/:/opt/langtools/lib/:/opt/hp-gcc-4.4.3/lib/:/lib/:/usr/lib/&lt;BR /&gt;COLLECT_GCC_OPTIONS='-v' '-march=1.1' '-I/myinc' '-L/mylibs' '-mschedule=7100LC'&lt;BR /&gt; /opt/hp-gcc-4.4.3/libexec/gcc/hppa1.1-hp-hpux11.11/4.4.3/collect2 -z -u main -u __gcc_plt_call crt0.o unix98.o -L/mylibs -L/opt/hp-gcc-4.4.3/lib/gcc/hppa1.1-hp-hpux11.11/4.4.3 -L/usr/ccs/lib -L/opt/langtools/lib -L/opt/hp-gcc-4.4.3/lib mylib1.a /var/tmp//cceSogXF.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh&lt;BR /&gt;ld: Mismatched ABI (not an ELF file) for -lgcc, found /opt/hp-gcc-4.4.3/lib/gcc/hppa1.1-hp-hpux11.11/4.4.3/libgcc.a&lt;BR /&gt;Fatal error.&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;Obviously ctr0.o (the first object file) force the linker to use ELF (Itanium format). Second attempt to use ctr0.o from a different directory. I used SDKROOT (thanks to Dennis).&lt;BR /&gt;Here's the result (shortened):&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;export LDOPTS="-v"&lt;BR /&gt;export SDKROOT=/usr/ccs/pa&lt;BR /&gt;gcc -v -march=1.1 -I/myinc -L/mylibs mylib1.a prog.c&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/pa/usr/ccs/lbin/ld32 -v -z -u main -u __gcc_plt_call crt0.o unix98.o -Lmylibs -L/opt/hp-gcc-4.4.3/lib/gcc/hppa1.1-hp-hpux11.11/4.4.3 -L/usr/ccs/lib -L/opt/langtools/lib -L/opt/hp-gcc-4.4.3/lib lib1.a /var/tmp//ccQfvieL.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh&lt;BR /&gt;LPATH is : /usr/lib:/opt/langtools/lib&lt;BR /&gt;/usr/ccs/pa/usr/ccs/lbin/ld32: Can't open crt0.o&lt;BR /&gt;/usr/ccs/pa/usr/ccs/lbin/ld32: No such file or directory&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;Here's the result of next attempt:&lt;BR /&gt;&lt;BR /&gt;&lt;CODE&gt;&lt;BR /&gt;export LPATH=/usr/ccs/pa/usr/ccs/lib:/usr/lib:/opt/langtools/lib&lt;BR /&gt;export LDOPTS="-v"&lt;BR /&gt;export SDKROOT=/usr/ccs/pa&lt;BR /&gt;gcc -v -march=1.1 -I/myinc -L/mylibs mylib1.a prog.c&lt;BR /&gt;&lt;BR /&gt;/usr/ccs/pa/usr/ccs/lbin/ld32 -v -z -u main -u __gcc_plt_call /usr/ccs/pa/usr/ccs/lib/crt0.o unix98.o -L/mylibs -L/usr/ccs/pa/usr/ccs/lib -L/opt/langtools/lib -L/opt/hp-gcc-4.4.3/lib/gcc/hppa1.1-hp-hpux11.11/4.4.3 -L/usr/ccs/lib -L/opt/langtools/lib -L/opt/hp-gcc-4.4.3/lib mylib1.a /var/tmp//cconAqDU.o -lgcc -lgcc_eh -lc -lgcc -lgcc_eh&lt;BR /&gt;LPATH is : /usr/ccs/pa/usr/ccs/lib:/usr/lib:/opt/langtools/lib&lt;BR /&gt;Loading /usr/ccs/pa/usr/ccs/lib/crt0.o:&lt;BR /&gt;/usr/ccs/pa/usr/ccs/lbin/ld32: Can't open unix98.o&lt;BR /&gt;/usr/ccs/pa/usr/ccs/lbin/ld32: No such file or directory&lt;BR /&gt;collect2: ld returned 1 exit status&lt;BR /&gt;&lt;/CODE&gt;&lt;BR /&gt;&lt;BR /&gt;ctr0.o is now OK but unix98.o is not and there is no unix98 file for PA-RISC.&lt;BR /&gt;&lt;BR /&gt;Any suggestion will be appreciated.&lt;BR /&gt;Sorry for the long post.&lt;BR /&gt;</description>
      <pubDate>Sun, 12 Dec 2010 18:01:55 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-compiling-pa-risc-code-on-itanium/m-p/4725261#M655643</guid>
      <dc:creator>Gilles Allard</dc:creator>
      <dc:date>2010-12-12T18:01:55Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when compiling PA-RISC code on Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-compiling-pa-risc-code-on-itanium/m-p/4725262#M655644</link>
      <description>&amp;gt;I need to link new C code with a legacy library (PA-RISC). &lt;BR /&gt;&lt;BR /&gt;This is only supported using HP's compilers and only if you are running on Integrity.&lt;BR /&gt;&lt;A href="http://www.hp.com/go/xpade" target="_blank"&gt;http://www.hp.com/go/xpade&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;&amp;gt;is supplied with PA-RISC libraries, so I assumed it would be simple.&lt;BR /&gt;&lt;BR /&gt;No, these shlibs are there only for running applications, not development.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;crt0.o unix98.o&lt;BR /&gt;&lt;BR /&gt;These would need to be absolute paths.</description>
      <pubDate>Sun, 12 Dec 2010 19:28:14 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-compiling-pa-risc-code-on-itanium/m-p/4725262#M655644</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-12-12T19:28:14Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when compiling PA-RISC code on Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-compiling-pa-risc-code-on-itanium/m-p/4725263#M655645</link>
      <description>Hi Dennis&lt;BR /&gt;&amp;gt;This is only supported using HP's compilers and only if you are running on Integrity.&lt;BR /&gt;&amp;gt;&lt;A href="http://www.hp.com/go/xpade" target="_blank"&gt;http://www.hp.com/go/xpade&lt;/A&gt;&lt;BR /&gt;If you look at my original post, gcc worked fine and gcc is using the HP linker.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;&amp;gt;crt0.o unix98.o&lt;BR /&gt;&amp;gt;These would need to be absolute paths.&lt;BR /&gt;There is no PA-RISC version of unix98.o&lt;BR /&gt;</description>
      <pubDate>Sun, 12 Dec 2010 20:55:12 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-compiling-pa-risc-code-on-itanium/m-p/4725263#M655645</guid>
      <dc:creator>Gilles Allard</dc:creator>
      <dc:date>2010-12-12T20:55:12Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when compiling PA-RISC code on Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-compiling-pa-risc-code-on-itanium/m-p/4725264#M655646</link>
      <description>How did you know gcc worked fine? The compiled code would have used Integrity native header files from /usr/include. Even if the code compiles, it may not work fine depending on structure layout and size differences between PA-RISC and Integrity HP-UX.&lt;BR /&gt;&lt;BR /&gt;As Dennis suggested, what you are trying to accomplish is supported using HP XPADE (PA-RISC cross development environment for Integrity). XPADE provides PA-RISC header files, libraries and special object files e.g. crt0.o, unix*.o suitable for PA-RISC code compilation and linking on Integrity.&lt;BR /&gt;&lt;BR /&gt;unix95.o is present in XPADE (/opt/XPADE/v3/usr/lib/unix95.o)&lt;BR /&gt;&lt;BR /&gt;Regards&lt;BR /&gt;-Rajesh</description>
      <pubDate>Mon, 13 Dec 2010 04:03:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-compiling-pa-risc-code-on-itanium/m-p/4725264#M655646</guid>
      <dc:creator>Rajesh K Chaurasia</dc:creator>
      <dc:date>2010-12-13T04:03:02Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when compiling PA-RISC code on Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-compiling-pa-risc-code-on-itanium/m-p/4725265#M655647</link>
      <description>&amp;gt;gcc worked fine and gcc is using the HP linker.&lt;BR /&gt;&lt;BR /&gt;gcc didn't work fine because you have linker errors.  gcc includes the link step.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;There is no PA-RISC version of unix98.o&lt;BR /&gt;&lt;BR /&gt;That's correct.  An absolute path to where you copied them.&lt;BR /&gt;&lt;BR /&gt;&amp;gt;Rajesh: The compiled code would have used Integrity native header files from /usr/include. Even if the code compiles, it may not work fine depending on structure layout and size differences between PA-RISC and Integrity HP-UX.&lt;BR /&gt;&lt;BR /&gt;Ideally the headers are the same between the two but with #if.</description>
      <pubDate>Tue, 14 Dec 2010 02:22:25 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-compiling-pa-risc-code-on-itanium/m-p/4725265#M655647</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2010-12-14T02:22:25Z</dc:date>
    </item>
    <item>
      <title>Re: Problem when compiling PA-RISC code on Itanium</title>
      <link>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-compiling-pa-risc-code-on-itanium/m-p/4725266#M655648</link>
      <description>Thank you&lt;BR /&gt;XPADE is the solution and it works fine.</description>
      <pubDate>Mon, 03 Jan 2011 15:44:46 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-hp-ux/problem-when-compiling-pa-risc-code-on-itanium/m-p/4725266#M655648</guid>
      <dc:creator>Gilles Allard</dc:creator>
      <dc:date>2011-01-03T15:44:46Z</dc:date>
    </item>
  </channel>
</rss>

