- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- Trying to compile gcc 3.0.4 in HPUX 11 without suc...
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-18-2002 07:45 AM
04-18-2002 07:45 AM
I do have gcc 3.0.1 in the system, but the Makefile keeps getting cc to compile the sources.
Then, in the end of the compilation, I get this strange error (see below) about the libstdc++-v3... "compile libstdc++-v3... configure: error: please upgrade to GCC 3.0 or above"
Any ideas?
Building:
checking for /home/fjeronym/gnu_hpux/gcc-3.0.4/gcc/xgcc option to produce PIC... -fPIC -DPIC
checking if /home/fjeronym/gnu_hpux/gcc-3.0.4/gcc/xgcc PIC flag -fPIC -DPIC works... no
checking if /home/fjeronym/gnu_hpux/gcc-3.0.4/gcc/xgcc static flag -static works... no
finding the maximum length of command line arguments... (cached) 393217
checking if /home/fjeronym/gnu_hpux/gcc-3.0.4/gcc/xgcc supports -c -o file.o... (cached) yes
checking if /home/fjeronym/gnu_hpux/gcc-3.0.4/gcc/xgcc supports -fno-rtti -fno-exceptions ... no
checking whether the linker (/usr/ccs/bin/ld) supports shared libraries...
checking how to hardcode library paths into programs... relink
checking whether stripping libraries is possible... yes
checking dynamic linker characteristics... hpux11.00 dld.sl
checking command to parse /usr/ccs/bin/nm output... failed
checking if libtool supports shared libraries... no
checking whether to build shared libraries... no
checking whether to build static libraries... yes
appending configuration tag "CXX" to libtool
checking for GNU make... gmake
checking for g++ that will successfully compile libstdc++-v3... configure: error: please upgrade to GCC 3.0 or above
gmake[1]: *** [configure-target-libstdc++-v3] Error 1
gmake[1]: Leaving directory `/tmp_mnt/home/fjeronym/gnu_hpux/gcc-3.0.4'
gmake: *** [bootstrap] Error 2
# g++ -v
Reading specs from /tools/gcc/3.0.1//lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.0.1/specs
Configured with: ./configure : (reconfigured) ./configure : (reconfigured) ./configure : (reconfigured) ./configure : (reconfigured) ./configure
Thread model: single
gcc version 3.0.1
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 07:49 AM
04-18-2002 07:49 AM
Re: Trying to compile gcc 3.0.4 in HPUX 11 without success.
look at http://forums.itrc.hp.com/cm/QuestionAnswer/1,,0x06449f5b3d4fd61190030090279cd0f9,00.html
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 08:02 AM
04-18-2002 08:02 AM
Re: Trying to compile gcc 3.0.4 in HPUX 11 without success.
It looks cc is in your default path , do a which cc and find where it is located and try to move it from there temp when the compile is going on. May be this will help .
Manoj Srivastava
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 09:43 AM
04-18-2002 09:43 AM
Re: Trying to compile gcc 3.0.4 in HPUX 11 without success.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 09:57 AM
04-18-2002 09:57 AM
Re: Trying to compile gcc 3.0.4 in HPUX 11 without success.
/gcc-3.0.4$ gmake bootstrap
/gcc-3.0.4/libiberty
gmake[1]: Entering directory `/gcc-3.0.4/libiberty'
if [ x"" != x ]; then gcc -c -DHAVE_CONFIG_H -I. -I./../include argv.c -o pic/argv.o; else true; fi
gcc -c -DHAVE_CONFIG_H -I. -I./../include argv.c
as: warning 2: Unknown option "--traditional-format" ignored.
as: "/var/tmp/cc1Z5vCe.s", line 18: error 1052: Directive name not recognized - NSUBSPA
as: "/var/tmp/cc1Z5vCe.s", line 145: error 1052: Directive name not recognized - NSUBSPA
as: "/var/tmp/cc1Z5vCe.s", line 191: error 1052: Directive name not recognized - NSUBSPA
gmake[1]: *** [argv.o] Error 1
gmake[1]: Leaving directory `/gcc-3.0.4/libiberty'
gmake: *** [all-libiberty] Error 2
/gcc-3.0.4$ which as
/binutils/bin/as
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
04-18-2002 10:16 AM
04-18-2002 10:16 AM
SolutionIf you are not a masochist, please go for the precompiled packages. The porting centre has just upgraded to 3.0.4
http://forums.itrc.hp.com/cm/QuestionAnswer/ 1,,0x06449f5b3d4fd61190030090279cd0f9,00.html
http://h21007.www2.hp.com/dspp/tech/ tech_TechSoftwareDetailPage_IDX/1,1703,547,00.html
http://hpux.tn.tudelft.nl/hppd/hpux/Gnu/gcc-3.0.4/ (32 bit)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-08-2002 04:22 AM
05-08-2002 04:22 AM
Re: Trying to compile gcc 3.0.4 in HPUX 11 without success.
If someone can supply me with a writable ftp with enough disk space, I can make it available (time and network access permitting)
unpacked 75 MB
tar/gzip 25 MB
tar/bzip 18 MB
This gcc version has some changes that may affect some build processes. I've changed the perl configuration, and bleading edge perl now builds out of the box using this gcc :) and passes all tests