- Community Home
- >
- Servers and Operating Systems
- >
- Operating Systems
- >
- Operating System - HP-UX
- >
- compiling gcc 3.3.3 on hpux 11.11
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
05-09-2004 11:08 PM
05-09-2004 11:08 PM
compiling gcc 3.3.3 on hpux 11.11
I am trying to compile and install gcc 3.3.3 on HPUX 11.11.
I'm doing this because I want static library of gcc rather than the dynamic.
I have updated other required utils (e.g binutils, flext, bison etc).
I am compiling this with gcc 3.2.3.
The configure goes fine, but while doing make I get following error
---------------------------------------------
gmake[1]: Entering directory `/cpifs/rohan/gcc3.3.3/src/gcc-3.3.3/libiberty'
if [ x"" != x ]; then \
gcc -c -DHAVE_CONFIG_H -I. -I./../include -W -Wall -Wtraditional -pedantic floatformat.c -o pic/floatformat.o; \
else true; fi
gcc -c -DHAVE_CONFIG_H -I. -I./../include -W -Wall -Wtraditional -pedantic floatformat.c -o floatformat.o
floatformat.c:24: syntax error before "size_t"
floatformat.c:25: syntax error before "size_t"
gmake[1]: *** [floatformat.o] Error 1
---------------------------------------------
Any clues why this would be happening?
I see following during configure stage
"checking for mempcpy... no"
for configure in "libiberty" directory. Is this any way related?
Thanks in advance
Rohan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2004 11:19 PM
05-09-2004 11:19 PM
Re: compiling gcc 3.3.3 on hpux 11.11
I suggest to either fetch a prebuilt static gcc for 11i (I think my build is static, because I build explicitely to disable dynamic) or use a 11i made gcc to rebuild gcc
My HP ITRC site pages can be found at (please use LA as primary choice):
USA Los Angeles http://mirrors.develooper.com/hpux/
SGP Singapore https://www.beepz.com/personal/merijn/
USA Chicago http://ww.hpux.ws/merijn/
NL Hoofddorp http://www.cmve.net/~merijn/
Enjoy, have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2004 11:33 PM
05-09-2004 11:33 PM
Re: compiling gcc 3.3.3 on hpux 11.11
Thanks a lot for the response. Actually, I saw the link to your site in one of other postings on similary topic. But was not sure whether the gcc built with -disable-shared or not.
I guess the problem, I'm seeing is indeed because my gcc 3.2.3 was built for HP 11.00.
Its lib resides in /usr/local/lib/gcc-lib/hppa2.0n-hp-hpux11.00/3.2.3
Is the reasoning right?
Meanwhile, I'm trying to download gcc you supplied.
Thanks
Rohan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-09-2004 11:47 PM
05-09-2004 11:47 PM
Re: compiling gcc 3.3.3 on hpux 11.11
I've had reports that gcc/64 might use --enable-shared by default, even if disabled, but I did not investigate further.
I don't want to ship dynamic builds, because it is a PITA to upgrade once you don't clean up well
Enjoy, Have FUN! H.Merijn
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 04:00 AM
05-10-2004 04:00 AM
Re: compiling gcc 3.3.3 on hpux 11.11
I took the gcc use supplied, but its compiled without thread support. I require gcc with POSIX threads!
So now I am trying to build gcc 3.3.3 using the binutils and gcc provided by you - installed at non-standard path.
It went fine till I got assembler problem. It said something like
as: "/var/tmp/ccZCpQ0a.s", line 10: error 1052: Directive name not recognized - FILE
as: "/var/tmp/ccZCpQ0a.s", line 11: error 1052: Directive name not recognized - STABS
After referring to http://forums1.itrc.hp.com/service/forums/questionanswer.do?threadId=140645
and setting the env variable pointing to bin directory of your gcc installation, I could compile my GCC 3.3.3 with posix threads.
However, now when I compile other C programs with my compiled GCC, i have to set COMPILER_PATH, otherwise it gaves me same assembler problem.
Would properly installing binutils 2.14 would solve the problem? (i.e w/o compiling my GCC 3.3.3).
Thanks a lot
Rohan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
05-10-2004 04:33 AM
05-10-2004 04:33 AM
Re: compiling gcc 3.3.3 on hpux 11.11
Enjoy, Have FUN! H.Merijn [ who's affraid he cannot help here ]