This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

3.42 build successful on HP-UX 11.00 700 series


Hello,

  I have been able to build GCC v3.42 successfully under HP-UX 11.00,
 on a 700 series machine. I do not see that version currently
 listed on your site. Nor is it currently on the HP portal site for 
 HP-UX 11.00,  HP 700 series.
------------------------------------------------------------------------

/0b/opt/gcc/src/gcc-3.4.2%config.guess 
hppa2.0w-hp-hpux11.00
------------------------------------------------------------------------

%gcc -v
Reading specs from /usr/local/lib/gcc/hppa2.0n-hp-hpux11.00/3.4.2/specs
Configured with: /0b/opt/gcc/src/gcc-3.4.2/configure --srcdir=/0b/opt/gcc/src/gcc-3.4.2 --mandir=/usr/share/man --with-gnu-as --with-as=/usr/local/bin/as --with-system-ld --with-ar=/usr/local/bin/ar --with-m4=/usr/local/bin/m4 --with-ld=/usr/bin/ld --with-ranlib=/usr/local/bin/ranlib --with-flex=/usr/local/bin/flex --with-bison=/usr/local/bin/bison --enable-bfd --disable-checking --with-included-gettext --enable-threads=single --enable-multilib --enable-nls --enable-languages=c,c++,f77,objc --disable-ada --host=hppa2.0n-hp-hpux11.00
Thread model: single
gcc version 3.4.2
------------------------------------------------------------------------

 To build, I first compiled "binutils" v2.15, applied it, then
 compiled GCC v3.42 with an existing HP-UX version of GCC v3.32.
 
 I was able to obtain "binutils" from    http://ftp.gnu.org/gnu/binutils/
 
 %/usr/local/bin/as --version
GNU assembler 2.15
Copyright 2002 Free Software Foundation, Inc.
This program is free software; you may redistribute it under the terms of
the GNU General Public License.  This program has absolutely no warranty.
This assembler was configured for a target of `hppa2.0n-hp-hpux11.00'.

 ------------------------------------------------------------------------
 
 Built with GCC v3.32, which was *once* available from
 the HP porting center at   http://hpux.cs.utah.edu/
 ------------------------------------------------------------------------
Using  GNU Make 3.80

%/usr/local/bin/gmake --v
GNU Make 3.80
Copyright (C) 2002  Free Software Foundation, Inc.
This is free software; see the source for copying conditions.
There is NO warranty; not even for MERCHANTABILITY or FITNESS FOR A
PARTICULAR PURPOSE.

------------------------------------------------------------------------

%uname -a
HP-UX edsh0020 B.11.00 A 9000/785 2009434451 two-user license
------------------------------------------------------------------------

I guess the important thing to pass along is that I used the option
"--with-system-ld" and "--with-ld=/usr/bin/ld"

As under HP-UX, I had trouble using the GNU or binutils "ld" for the builds:
------------------------------------------------------------------------
%/usr/bin/ld -V
92453-07 linker command s800.sgs ld PA64 B.11.41 REL 040808
/usr/bin/ld: 92453-07 linker linker ld B.11.41 040911
/usr/bin/ld: Usage:  /usr/bin/ld [options] [flags] files
------------------------------------------------------------------------

The "bounds checking patch" for v3.42 under HP-UX found nothing.
Presumably, it was not needed for GCC v3.42 under HP-UX 11.00.
------------------------------------------------------------------------
Other helpful information is in the README:

-----------------------------------------------------------------------
The BFD ("binary file description") library, the readline library,
and other libraries all have directories of their own underneath
the GDB debugger sources.

On HP-UX, GDB requires FLEX, BISON, and M4

HP-UX Build-time dependencies:

         autoconf bison db flex gawk m4 make perl texinfo

HP-UX Run-time dependencies:

         gettext libiconv

         - the above also requires:

              tcltk

-----------------------------------------------------------------------

Dejagnu testing gives:

Test Run By root on Wed Feb  2 16:55:43 2005
Native configuration is hppa2.0n-hp-hpux11.00

                === gcc tests ===

Schedule of variations:
    unix

Running target unix
....
                === gcc Summary ===

# of expected passes            24019
# of unexpected failures        2
# of expected failures          69
# of unresolved testcases       22
# of untested testcases         7
# of unsupported tests          373
/0b/opt/gcc/build_3.4.2_dir/gcc/xgcc version 3.4.2

-----------------------------------------------------------------------
Test Run By root on Wed Feb  2 18:49:45 2005
Native configuration is hppa2.0n-hp-hpux11.00

                === g++ tests ===
...
                === g++ Summary ===

# of expected passes            9438
# of unexpected failures        1
# of unexpected successes       2
# of expected failures          70
# of unresolved testcases       3
# of unsupported tests          88
/0b/opt/gcc/build_3.4.2_dir/gcc/testsuite/../g++ version 3.4.2
-----------------------------------------------------------------------
Test Run By root on Wed Feb  2 19:38:07 2005
Native configuration is hppa2.0n-hp-hpux11.00

                === g77 tests ===
...
                === g77 Summary ===

# of expected passes            1800
# of unsupported tests          6
/0b/opt/gcc/build_3.4.2_dir/gcc/testsuite/../g77 version 3.4.2
-----------------------------------------------------------------------
Test Run By root on Wed Feb  2 19:50:18 2005
Native configuration is hppa2.0n-hp-hpux11.00

                === objc tests ===
...
                === objc Summary ===

# of expected passes            1352
# of unsupported tests          8
/0b/opt/gcc/build_3.4.2_dir/gcc/xgcc version 3.4.2

-----------------------------------------------------------------------


 - Dave Hamm
============================================
Milford Proving Grounds, GM Powertrain EDS
Dave Hamm       Milford, Michigan
   8-341-3655   (GM network)
(248)684-3655   mz295r@powertrain.mpg.gm.com
============================================


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]