HPE GreenLake Administration
- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- GCC for HPUX 11.00
Operating System - HP-UX
1826464
Members
3148
Online
109692
Solutions
Forums
Categories
Company
Local Language
back
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
back
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
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Go to solution
Topic Options
- 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
05-17-2005 05:33 AM
05-17-2005 05:33 AM
I am working on a project that I have to build gcc 2.8.1. I installed a gcc binary that was built I think on a 700 workstation. My server of course is an 800. The gcc will build on the workstation but I can't get the compiler to configure on the server. Looking at the workstation build log, it's making a system, target and host for hppa1.1-hp-hpux11.00. When I try to configure for the server it is making system hppa1.0-hp-hpux1.00. When it tests to see if the gcc compiler is working, it says no and errors out. Is this due to architecture differences? If so, where can I find a gcc binary for HPUX 11.00 built on a server?
Thanks
Pam
Thanks
Pam
Solved! Go to Solution.
3 REPLIES 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 05:36 AM
05-17-2005 05:36 AM
Solution
Should not make a difference, server versus workstation.
Binary locations:
http://www.hpux.ws/merijn
One possible source.
Another
http://hpux.connect.org.uk/
SEP
Binary locations:
http://www.hpux.ws/merijn
One possible source.
Another
http://hpux.connect.org.uk/
SEP
Steven E Protter
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
Owner of ISN Corporation
http://isnamerica.com
http://hpuxconsulting.com
Sponsor: http://hpux.ws
Twitter: http://twitter.com/hpuxlinux
Founder http://newdatacloud.com
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 06:50 AM
05-17-2005 06:50 AM
Re: GCC for HPUX 11.00
hppa1.0-hp-hpux1.00 <- That's a typo I hope
anyway, presuming it said hppa1.0-hp-hpux11.00, it tells you that you have a PA-RISC 1.0 CPU, which is unbeleivingly old.
Your post does not tell me what type of 800 server you have, and what CPU it should run on.
I have several binary builds available, amongst which 2.95.3 for HP-UX 10.20 pa-1.1
So let us assume you indeed have a HP-UX 11.00 system with a PA-RISC-1.0 CPU, then
--8<---
#!/usr/bin/sh
export LD_PXDB=/usr/bin/true
export CONFIG_SITE=
export CC="gcc -B/usr/local/pa10_32/bin"
export PATH=.:/usr/local/pa10_32/bin:/pro/local/bin
export PATH=$PATH"":/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/opt/langtools/bin
export PATH=$PATH"":/opt/imake/bin
rm -rf obj
mkdir obj
cd obj
../src/configure \
--enable-languages=c,c++ \
--prefix=/usr/local/pa10_32 --with-local-prefix=/usr/local/pa10_32 \
--with-gnu-as --with-as=/usr/local/pa10_32/bin/as \
--with-ld=/usr/ccs/bin/ld \
--disable-shared \
--disable-nls \
--host=hppa1.0-hp-hpux11.00
make bootstrap-lean
make install
-->8---
Above snippet however assumes you already have binutils installed on /usr/local/pa10_32
pa10_32 is the way I use to code 32bit objects for PA_RISC-1.0. My other builds would go to pa11_32, pa20_32, and pa20_64.
HTH, Enjoy, Have FUN! H.Merijn
anyway, presuming it said hppa1.0-hp-hpux11.00, it tells you that you have a PA-RISC 1.0 CPU, which is unbeleivingly old.
Your post does not tell me what type of 800 server you have, and what CPU it should run on.
I have several binary builds available, amongst which 2.95.3 for HP-UX 10.20 pa-1.1
So let us assume you indeed have a HP-UX 11.00 system with a PA-RISC-1.0 CPU, then
--8<---
#!/usr/bin/sh
export LD_PXDB=/usr/bin/true
export CONFIG_SITE=
export CC="gcc -B/usr/local/pa10_32/bin"
export PATH=.:/usr/local/pa10_32/bin:/pro/local/bin
export PATH=$PATH"":/usr/bin:/opt/ansic/bin:/usr/ccs/bin:/opt/langtools/bin
export PATH=$PATH"":/opt/imake/bin
rm -rf obj
mkdir obj
cd obj
../src/configure \
--enable-languages=c,c++ \
--prefix=/usr/local/pa10_32 --with-local-prefix=/usr/local/pa10_32 \
--with-gnu-as --with-as=/usr/local/pa10_32/bin/as \
--with-ld=/usr/ccs/bin/ld \
--disable-shared \
--disable-nls \
--host=hppa1.0-hp-hpux11.00
make bootstrap-lean
make install
-->8---
Above snippet however assumes you already have binutils installed on /usr/local/pa10_32
pa10_32 is the way I use to code 32bit objects for PA_RISC-1.0. My other builds would go to pa11_32, pa20_32, and pa20_64.
HTH, Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-17-2005 07:05 AM
05-17-2005 07:05 AM
Re: GCC for HPUX 11.00
Some additional info
Feeling a little bit masochistic, I just fetched ftp://ftp.nluug.nl/mirror/languages/gcc/old-releases/gcc-2/gcc-2.8.1.tar.bz2 and tried to compile it on HP-UX 11.00 using gcc-4.0.0 (which failed), and with HP C-ANSi-C (which also failed)
2.8.1 does not know about bootstrap-lean
My advice: don't even try!
2.95.3 wasn't that much pain to do, and more recent (and far better) versions are widely available. gcc-2.8.1 is NOT worth sleepless nights.
Enjoy, Have FUN! H.Merijn
Feeling a little bit masochistic, I just fetched ftp://ftp.nluug.nl/mirror/languages/gcc/old-releases/gcc-2/gcc-2.8.1.tar.bz2 and tried to compile it on HP-UX 11.00 using gcc-4.0.0 (which failed), and with HP C-ANSi-C (which also failed)
2.8.1 does not know about bootstrap-lean
My advice: don't even try!
2.95.3 wasn't that much pain to do, and more recent (and far better) versions are widely available. gcc-2.8.1 is NOT worth sleepless nights.
Enjoy, Have FUN! H.Merijn
Enjoy, Have FUN! H.Merijn
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
Company
Support
Events and news
Customer resources
© Copyright 2025 Hewlett Packard Enterprise Development LP