- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- GCC for HP-UX 11.20
Categories
Company
Local Language
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Forums
Discussions
Discussions
Discussions
Forums
Discussions
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Community
Resources
Forums
Blogs
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2002 11:39 PM
04-11-2002 11:39 PM
GCC for HP-UX 11.20
Any of you know where I can download the gcc depot for HP-UX 11.20? So far, I have only found gcc depot for HP-UX 11.11 but not HP-UX 11.20.
Compiling the gcc source with the default HP-UX CC compiler breaks miserably.
Thanks in advance. Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-11-2002 11:50 PM
04-11-2002 11:50 PM
Re: GCC for HP-UX 11.20
http://h21007.www2.hp.com/dspp/tech/tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html
http://hpux.cs.utah.edu/hppd/hpux/Gnu/gcc-3.0.4/
But if you'd like to build it yourself, modify the next sequence to your needs:
a5:/pro/3gl/GNU/gcc 103 > cat Conf
#!/usr/bin/sh
export CONFIG_SITE=
export CC=cc
export PATH=.:/u/usr/merijn/bin/private:/u/usr/merijn/bin:/pro/local/bin:/pro/bin:/usr/hosts:/usr/bin:/usr/dt/bin:/usr/bin/X11:/opt/ansic/bin:/usr/sbin:/etc:/sbin:/usr/lib:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/contrib/bin/X11:/opt/java/bin:/opt/hparray/bin:/opt/resmon/bin:/opt/pred/bin:/opt/langtools/bin:/opt/perf/bin:/opt/imake/bin:/opt/hpnp/bin:/opt/xftp/bin/X11:/usr/sbin/stm/uut/bin/progs:/pro/tu/bin:/pro/local/MySQL/bin:/wrk/GNUpro/bin
rm -rf obj
mkdir obj
cd obj
../src/configure --enable-languages=gcc --prefix=/pro/local --with-local-prefix=/pro/local --without-gnu-as --without-gnu-ld --disable-shared --disable-nls
echo "Changing obj/gcc/Makefile"
echo " ... 'tail +16c' to 'head -c -n4' in compare-lean"
echo " ... add '/pro/local/lib/libgcc.a' to LIBS"
perl -pi -e 'm:^LIBS\s*=:&&s:$: /pro/local/lib/libgcc.a:;s:\btail \+\d+c\b:head -c -n4:g' gcc/Makefile
echo "Done"
echo ""
echo "Now start 'Build'"
a5:/pro/3gl/GNU/gcc 104 > cat Build
#!/usr/bin/sh
export CONFIG_SITE=
export CC=cc
export PATH=.:/u/usr/merijn/bin/private:/u/usr/merijn/bin:/pro/local/bin:/pro/bin:/usr/hosts:/usr/bin:/usr/dt/bin:/usr/bin/X11:/opt/ansic/bin:/usr/sbin:/etc:/sbin:/usr/lib:/usr/ccs/bin:/usr/contrib/bin:/opt/nettladm/bin:/opt/fc/bin:/opt/fcms/bin:/opt/upgrade/bin:/opt/pd/bin:/usr/contrib/bin/X11:/opt/java/bin:/opt/hparray/bin:/opt/resmon/bin:/opt/pred/bin:/opt/langtools/bin:/opt/perf/bin:/opt/imake/bin:/opt/hpnp/bin:/opt/xftp/bin/X11:/usr/sbin/stm/uut/bin/progs:/pro/tu/bin:/pro/local/MySQL/bin:/wrk/GNUpro/bin
cd obj
make CFLAGS='-O -Wa,+DA2.0' LIBCFLAGS='-O2 -Wa,+DA2.0' LIBCXXFLAGS='-O2 -Wa,+DA2.0 -fno-implicit-templates' bootstrap-lean
a5:/pro/3gl/GNU/gcc 105 >
Which worked in a plain run for me for a 32bit gcc-3.0.4
Now working together with the GNU folks on a 64bit build for 3.1
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 01:34 AM
04-12-2002 01:34 AM
Re: GCC for HP-UX 11.20
I just managed to build gcc-3.1-20020408/64 on HP-UX 11.00 using HP C-ANSI-C for phase 1
******************
I wish I could asign myself points, because I'm now a happy camper :)))))
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 05:58 AM
04-12-2002 05:58 AM
Re: GCC for HP-UX 11.20
Thanks. I am running HP-UX 11.20 (HP 11i 1.5) IA64 on a HP i2000 workstation and I do not have Ansi-C installed. Thus, I would prefer a downloadable depot.
I have downloaded the depot from your first link. Will know whether that works when I install the depot next week. Will assign scores then.
Regards.
Steven Sim Kok Leong
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 06:21 AM
04-12-2002 06:21 AM
Re: GCC for HP-UX 11.20
Next I built gcc-3.0.4/64 using gcc-3.1-20020408, and used that to build perl. Success.
I'm putting the binary distribution of gcc-3.0.4 + binutils-2.12 for hppa-2.0w (hppa64) online now (wait till it's finished) at
http://home.hccnet.nl/h.m.brand/hppa64-gcc-3.0.4-binutils-2.12.tbz
rw-rw-rw- 1 merijn softwr 12572739 Apr 12 16:18 hppa64-gcc-3.0.4-binutils-2.12.tbz
# cd /usr/local
# bzip2 -d
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-12-2002 06:34 AM
04-12-2002 06:34 AM
Re: GCC for HP-UX 11.20
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-14-2002 09:45 PM
04-14-2002 09:45 PM
Re: GCC for HP-UX 11.20
Anyone knows where to get /usr/local/bin/addr2line?
Thanks in advance. Regards.
Steven Sim Kok Leong
======= 04/15/02 10:07:05 SST BEGIN install AGENT SESSION (pid=22756)
(jobid=hpi2000-0010)
* Agent session started for user "root@localhost". (pid=22756)
* Beginning Analysis Phase.
* Source: localhost:/var/sw/gcc-3.0-11.20.depot
* Target: hpi2000:/
* Target logfile: hpi2000:/var/adm/sw/swagent.log
* Reading source for product information.
* Reading source for file information.
* Executing preDSA command.
NOTE: The used disk space on filesystem "/usr" is estimated to
increase by 107487 Kbytes.
This will leave 182900 Kbytes of available user disk space
after the installation.
NOTE: The used disk space on filesystem "/var" is estimated to
increase by 54 Kbytes.
This will leave 2295460 Kbytes of available user disk space
after the installation.
* Summary of Analysis Phase:
* 1 of 1 filesets had no Errors or Warnings.
* The Analysis Phase succeeded.
* Beginning the Install Execution Phase.
* Filesets: 1
* Files: 383
* Kbytes: 106793
* Installing fileset "gcc.gcc,r=3.0.2001-07-12" (1 of 1).
ERROR: Could not access remote file "/usr/local/bin/addr2line" in
software item
"gcc.gcc,r=3.0.2001-07-12,a=HP-UX_B.11.20_64,v=HP:/" due to an
internal error on the remote system.
ERROR: Failed installing fileset "gcc.gcc,r=3.0.2001-07-12". Check
the above output for details.
* Retry number 1 of 1 for loading files for fileset
"gcc.gcc,r=3.0.2001-07-12".
* Installing fileset "gcc.gcc,r=3.0.2001-07-12" (1 of 1).
ERROR: Could not access remote file "/usr/local/bin/addr2line" in
software item
"gcc.gcc,r=3.0.2001-07-12,a=HP-UX_B.11.20_64,v=HP:/" due to an
internal error on the remote system.
ERROR: Failed installing fileset "gcc.gcc,r=3.0.2001-07-12". Check
the above output for details.
NOTE: The Install Phase has suspended. Check the above output for
reasons.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2002 12:59 AM
04-15-2002 12:59 AM
Re: GCC for HP-UX 11.20
addr2line is part of the binutils package. You can download from the HP porting centre. It installs to /opt/binutils/bin/addr2line
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-15-2002 02:00 AM
04-15-2002 02:00 AM
Re: GCC for HP-UX 11.20
Binutils 2.12 is to be prefered over 2.11, mainly because of hppa changes in the binutils. (For example, you *need* 2.12 to successfully build gcc-3.x on hppa)
binutils home page: http://sources.redhat.com/binutils/
and the binutils sourcecan be found here: ftp://sources.redhat.com/pub/binutils/releases/ (amongst other places)
I did not find a 32bit prebuilt binary port for hppa (yet)
I'm going to retry to put the 2.12 binutils + gcc-3.0.4 64bit for hppa64 (hppa-2.0w) on-line today on a different place.