Untarring GCC 4.8.1 - LongLink file (339 Views)
Reply
Regular Advisor
Paul Maglinger
Posts: 171
Registered: ‎05-11-2007
Message 1 of 5 (339 Views)
Accepted Solution

Untarring GCC 4.8.1 - LongLink file

[ Edited ]

Our developers want me to install the latest gcc compiler for HP-UX 11.31.  After going out to the HP Porting and Archving Center the latest version that I see there is 4.2.3.  The developers told me the latest and greatest is 4.8.1.  I went to gcc.gnu.org, downloaded the latest version, but when I try to untar it stops and has a file name in the directory called @LongLink.  I understand that this is caused by a limitation of tar that a filename can not be longer than 256 characters.

 

Can anyone offer a suggestion on how to work around this or, if there is no workaround, point me to a version that I can use?

 

Paul

 

 

P.S. This thread has been moved from HP-UX > System Administration to HP-UX > languages - HP Forum Moderator

Please use plain text.
Honored Contributor
Patrick Wallek
Posts: 13,722
Registered: ‎06-21-2000
Message 2 of 5 (333 Views)

Re: Untarring GCC 4.8.1 - LongLink file

GCC 4.7.2 is available from here:

http://mirrors.develooper.com/hpux/downloads.html

 

Scroll all the way to the bottom of the page to see it.

 

It appears this was built on an Itanium system, so if you happen to be running a PA-RISC based server this may not work for you.

Please use plain text.
Honored Contributor
Matti_Kurkela
Posts: 6,271
Registered: ‎12-02-2001
Message 3 of 5 (326 Views)

Re: Untarring GCC 4.8.1 - LongLink file

The "@LongLink" happens because the software at gcc.gnu.org is packaged using GNU tar instead of the standard HP-UX tar. You could untar it without errors if you first install the GNU tar and use it instead of the standard tar command. It is available at the Porting and Archiving Center.

MK
Please use plain text.
Regular Advisor
Paul Maglinger
Posts: 171
Registered: ‎05-11-2007
Message 4 of 5 (315 Views)

Re: Untarring GCC 4.8.1 - LongLink file

Thanks Matti, that was perfect. Patrick's suggestion might have worked but the developers really preferred that I install 4.8.1.
Please use plain text.
Honored Contributor
Steven Schweda
Posts: 9,068
Registered: ‎02-23-2005
Message 5 of 5 (308 Views)

Re: Untarring GCC 4.8.1 - LongLink file

Please use plain text.
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation