<?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: gcc g++ on hpux won't compile (can't find stdint) in Operating System - Linux</title>
    <link>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061765#M94518</link>
    <description>Could you tell us more about what version of HP-UX (probably HP-PA 11.11?) and what version of GCC you are using?  Also, where did you get the GCC compiler, from &lt;A href="http://www.hp.com/go/gcc" target="_blank"&gt;http://www.hp.com/go/gcc&lt;/A&gt; or from the HP Porting and Archive center or from somewhere else?  It should be possible to compile hello world on an HP-UX platform with g++ and without any workarounds and if it isn't I am interested in understanding why things aren't working out of the box.</description>
    <pubDate>Wed, 29 Aug 2007 10:44:04 GMT</pubDate>
    <dc:creator>Steve Ellcey</dc:creator>
    <dc:date>2007-08-29T10:44:04Z</dc:date>
    <item>
      <title>gcc g++ on hpux won't compile (can't find stdint)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061756#M94509</link>
      <description>Hello,&lt;BR /&gt;&lt;BR /&gt;I am trying to get started with some very basic c++ coding on my hpux system.&lt;BR /&gt;But I am stuck at square one.  I cannot even compile "hello world"&lt;BR /&gt;g++ returns an error that says it cannot find stdint.h  (which I am not even including so it must be included by iostream)&lt;BR /&gt;&lt;BR /&gt;Any advice?&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 28 Aug 2007 12:04:13 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061756#M94509</guid>
      <dc:creator>BenIsCool</dc:creator>
      <dc:date>2007-08-28T12:04:13Z</dc:date>
    </item>
    <item>
      <title>Re: gcc g++ on hpux won't compile (can't find stdint)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061757#M94510</link>
      <description>stdint.h is a C99 header, only available on 11.23.  I'm surprised that C++ would be including it.  And if g++ needed it, it should include its own copy.</description>
      <pubDate>Tue, 28 Aug 2007 15:01:02 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061757#M94510</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-28T15:01:02Z</dc:date>
    </item>
    <item>
      <title>Re: gcc g++ on hpux won't compile (can't find stdint)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061758#M94511</link>
      <description>Shalom,&lt;BR /&gt;&lt;BR /&gt;Can you say where you got gcc and what version it is? If it is depot software, run swverify against it and see if its even installed correcty.&lt;BR /&gt;&lt;BR /&gt;SEP</description>
      <pubDate>Tue, 28 Aug 2007 15:23:31 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061758#M94511</guid>
      <dc:creator>Steven E. Protter</dc:creator>
      <dc:date>2007-08-28T15:23:31Z</dc:date>
    </item>
    <item>
      <title>Re: gcc g++ on hpux won't compile (can't find stdint)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061759#M94512</link>
      <description>I agree that if g++ needed it, it should install its own copy (and be configured to find it).  I got gcc from the utah unix porting depot and it is the most recent there.&lt;BR /&gt;&lt;BR /&gt;I found on my own that stdint.h is on the system (and was installed by gcc because it is under the file structure that gcc created)&lt;BR /&gt;&lt;BR /&gt;I created a ln -s to that stdint.h into /usr/include&lt;BR /&gt;&lt;BR /&gt;Now my code compiles fine.&lt;BR /&gt;&lt;BR /&gt;I don't know that this is correct but it worked.&lt;BR /&gt;&lt;BR /&gt;Any thoughts.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 28 Aug 2007 15:26:37 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061759#M94512</guid>
      <dc:creator>BenIsCool</dc:creator>
      <dc:date>2007-08-28T15:26:37Z</dc:date>
    </item>
    <item>
      <title>Re: gcc g++ on hpux won't compile (can't find stdint)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061760#M94513</link>
      <description>&amp;gt;I found on my own that stdint.h is on the system (and was installed by gcc because it is under the file structure that gcc created)&lt;BR /&gt;&lt;BR /&gt;The correct solution is to add a -I path to the gcc version.</description>
      <pubDate>Tue, 28 Aug 2007 15:31:23 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061760#M94513</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-28T15:31:23Z</dc:date>
    </item>
    <item>
      <title>Re: gcc g++ on hpux won't compile (can't find stdint)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061761#M94514</link>
      <description>I'm sorry but I do not know how to do that? (new to g++)&lt;BR /&gt;Can you give me some pointers on that?&lt;BR /&gt;&lt;BR /&gt;I have searched for and found a lot of documentation on g++ and c++ coding but nothing on actually using g++ on hpux specifically addressing issues like this.&lt;BR /&gt;&lt;BR /&gt;Thanks</description>
      <pubDate>Tue, 28 Aug 2007 15:34:32 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061761#M94514</guid>
      <dc:creator>BenIsCool</dc:creator>
      <dc:date>2007-08-28T15:34:32Z</dc:date>
    </item>
    <item>
      <title>Re: gcc g++ on hpux won't compile (can't find stdint)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061762#M94515</link>
      <description>&amp;gt;I'm sorry but I do not know how to do that?&lt;BR /&gt;&lt;BR /&gt;You found the header in some directory.  Just add -Ifull-directory-path to your compile line.&lt;BR /&gt;&lt;BR /&gt;The same as any other -I option.</description>
      <pubDate>Tue, 28 Aug 2007 15:43:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061762#M94515</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-28T15:43:09Z</dc:date>
    </item>
    <item>
      <title>Re: gcc g++ on hpux won't compile (can't find stdint)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061763#M94516</link>
      <description>Ahh.  (you said -l to gcc version - thought you meant something more profound like configuring the gcc version)&lt;BR /&gt;&lt;BR /&gt;I can use -L  (capital) on the gcc 'compile' line and that does work.&lt;BR /&gt;&lt;BR /&gt;Thank you.&lt;BR /&gt;&lt;BR /&gt;</description>
      <pubDate>Tue, 28 Aug 2007 15:48:10 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061763#M94516</guid>
      <dc:creator>BenIsCool</dc:creator>
      <dc:date>2007-08-28T15:48:10Z</dc:date>
    </item>
    <item>
      <title>Re: gcc g++ on hpux won't compile (can't find stdint)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061764#M94517</link>
      <description>&amp;gt;I can use -L on the gcc 'compile' line and that does work.&lt;BR /&gt;&lt;BR /&gt;This is for lib paths.  -I is for include paths.</description>
      <pubDate>Tue, 28 Aug 2007 15:57:52 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061764#M94517</guid>
      <dc:creator>Dennis Handly</dc:creator>
      <dc:date>2007-08-28T15:57:52Z</dc:date>
    </item>
    <item>
      <title>Re: gcc g++ on hpux won't compile (can't find stdint)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061765#M94518</link>
      <description>Could you tell us more about what version of HP-UX (probably HP-PA 11.11?) and what version of GCC you are using?  Also, where did you get the GCC compiler, from &lt;A href="http://www.hp.com/go/gcc" target="_blank"&gt;http://www.hp.com/go/gcc&lt;/A&gt; or from the HP Porting and Archive center or from somewhere else?  It should be possible to compile hello world on an HP-UX platform with g++ and without any workarounds and if it isn't I am interested in understanding why things aren't working out of the box.</description>
      <pubDate>Wed, 29 Aug 2007 10:44:04 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061765#M94518</guid>
      <dc:creator>Steve Ellcey</dc:creator>
      <dc:date>2007-08-29T10:44:04Z</dc:date>
    </item>
    <item>
      <title>Re: gcc g++ on hpux won't compile (can't find stdint)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061766#M94519</link>
      <description>I was a bit confused as to why I could not compile 'hello world' out of box.&lt;BR /&gt;&lt;BR /&gt;This is a fresh install of hp-ux pa 11.11 patched up through the gold pack of early '07.&lt;BR /&gt;&lt;BR /&gt;I am using gcc-4.2.1-hppa-11.11.depot that I got from the Utah HP porting center.&lt;BR /&gt;&lt;BR /&gt;I also tried adding, from the porting center, gettext-0.16.1, libiconv-1.11, make-3.81, and from itrc, PHKL_29243, PHSS_34880, and PHSS_35383.</description>
      <pubDate>Thu, 30 Aug 2007 13:02:09 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061766#M94519</guid>
      <dc:creator>BenIsCool</dc:creator>
      <dc:date>2007-08-30T13:02:09Z</dc:date>
    </item>
    <item>
      <title>Re: gcc g++ on hpux won't compile (can't find stdint)</title>
      <link>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061767#M94520</link>
      <description>When GCC is built it makes (modified) copies of some of the system header files.  I think these copies may be out of synch with your own system header files.  If you downloaded GCC 4.2.1 from the HP Porting and Archive Center you should have a command on your system called mkheaders, the path is probably:&lt;BR /&gt; /usr/local/libexec/gcc/hppa2.0w-hp-hpux11.11/4.2.1/install-tools/mkheaders&lt;BR /&gt;&lt;BR /&gt;If you have a different GCC version or are on a different OS the path may be slightly different.  Try running this mkheaders command, it will reexamine the system headers and update the GCC specific versions of those headers to match what is on your system.  You will probably need to be root to do this and it will modify your GCC header files so you might want to back them up or if you still have the depot you could restore them using that if something got messed up.  mkheaders should not change any files except ones that are part of the GCC installation.</description>
      <pubDate>Thu, 30 Aug 2007 13:15:29 GMT</pubDate>
      <guid>https://community.hpe.com/t5/operating-system-linux/gcc-g-on-hpux-won-t-compile-can-t-find-stdint/m-p/4061767#M94520</guid>
      <dc:creator>Steve Ellcey</dc:creator>
      <dc:date>2007-08-30T13:15:29Z</dc:date>
    </item>
  </channel>
</rss>

