Operating System - HP-UX
1751976 Members
5066 Online
108784 Solutions
New Discussion юеВ

HPUX linker with gnu compilers

 
Steve Boniwell
Frequent Advisor

HPUX linker with gnu compilers

I have a client who has started experiencing problems with the default linker and their own code which is being compiled with the gnu C++ compiler. They are supporting both 10.20 and 11 variants. Can anyone point me at relevant versions/info on the default hpux linker; or know of any problems with this mix?

All knowledge is useful!
One man's magic..............
2 REPLIES 2
H.Merijn Brand (procura
Honored Contributor

Re: HPUX linker with gnu compilers

You have no choice actually :)

GNU can only work with HP's linker when the compilers are 32bit, because GNU does not support a 32bit GNU ld on HP-UX

If you use the 64bit versions, you've got the choice, and then I'd even recommend to use the GNU ld from binutils-2.13 when using GNU gcc and g++

All gcc/g++/binutils available on https://www.beepz.com/personal/merijn
Enjoy, Have FUN! H.Merijn
Wodisch_1
Honored Contributor

Re: HPUX linker with gnu compilers

Hi,

be careful with C++/g++, as the so-called mangling is different!
It should be "standard" now with GCC/G++ 3.2, but I have not verified it...

FWIW,
Wodisch