This is the mail archive of the
libstdc++@gcc.gnu.org
mailing list for the libstdc++ project.
Re: Patch for 64-bit HP-UX libstdc++-v3
- From: Benjamin Kosnik <bkoz at redhat dot com>
- To: Jessica Han <jessica at cup dot hp dot com>
- Cc: gcc-patches at gcc dot gnu dot org, libstdc++ at gcc dot gnu dot org
- Date: Thu, 21 Feb 2002 12:11:44 -0800 (PST)
- Subject: Re: Patch for 64-bit HP-UX libstdc++-v3
Thanks for the patch. I think the idea for a general solution, outlined
in the link below, is a better way to solve this for everybody:
http://gcc.gnu.org/ml/libstdc++/2002-02/msg00169.html
I'd appreciate it if you could test this patch, and let the list know
your results. If it works, then all the HPUX-specific hackery can get
removed. Sound good?
-benjamin
> Define strtoll to be strtol, and strtoull to be strtoul at 64-bit on hpux.
> This fixed unresolved symbols while linking 64-bit objects on hpux,
> __strtoll and __strtoull, which are defined in /usr/lib/hpux32/libc.so but
> not in /usr/lib/hpux64/libc.so on either IA64 or PA-RISC.
> Can someone review this and check it in if it is OK? I don't have write
> permission to CVS. Thanks.