ddd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: address@hidden: Re: DDD 3.3.8 and HP-UX 11.0]


From: Tom Wurgler
Subject: Re: address@hidden: Re: DDD 3.3.8 and HP-UX 11.0]
Date: Thu, 22 Jan 2004 11:57:32 -0500 (EST)

Andrew>  ------- Start of forwarded message -------
Andrew>  Date: Mon, 19 Jan 2004 21:23:13 +0200
Andrew>  From: Andrew Gaylard <address@hidden>
Andrew>  User-Agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) 
Gecko/20021003
Andrew>  To: Tom Wurgler <address@hidden>
Andrew>  CC: address@hidden
Andrew>  Subject: Re: DDD 3.3.8 and HP-UX 11.0

Andrew>  Tom,

Andrew>  Here's my recipe to build binutils and gcc on HPUX-11.11.
Andrew>  Give it a spin, it should do the trick.  I had the same
Andrew>  problem with HP's assembler that you did until I used
Andrew>  GNU as (which is part of binutils).  You don't need
Andrew>  GNU ld; HP's one is OK, provided that you have installed
Andrew>  patch PHSS_28871.

Andrew>  With all of these tools installed, ddd builds out-of-the-box
Andrew>  on HPUX-11.11.

Andrew>  ##################
Andrew>  build_dir=`pwd`         # Best to run this script 'here'

Andrew>  PATH=/usr/local/bin:$PATH
Andrew>  export PATH             # So that 'make bootstrap' finds gnu-as

Andrew>  # (gcc needs bison, binutils, and make to be available)
Andrew>  for d in m4-1.4 bison-1.875 flex-2.5.4 make-3.80 \
Andrew>            binutils-2.14 zlib-1.1.3; do
Andrew>           cd $d
Andrew>           if [ -f Makefile ]; then make distclean; fi
Andrew>           ./configure
Andrew>           make
Andrew>           make install
Andrew>           cd $build_dir
Andrew>  done

Andrew>  # we don't want to replace the vendor yacc
Andrew>  rm /usr/local/bin/yacc

Andrew>  cd gcc-3.3.2
Andrew>           rm -rf obj-hpux11
Andrew>           mkdir obj-hpux11 ; cd obj-hpux11
Andrew>           ../configure --with-gnu-as --with-as=/usr/local/bin/as
Andrew>           make bootstrap
Andrew>           make install
Andrew>  cd $build_dir
Andrew>  ################
Andrew>  ------- End of forwarded message -------


I had the m4, the bison, the flex, make, binutils and zlib versions as
listed above.

I renamed my local yacc, as above.

I then tried to rebuild gcc with the above configure options.  It said in
the configure ouput it was using the GNU assembler, so that is a big step
(for me!).

I got down to this:

[snip]
mkdir .libs/libstdc++.lax/libsupc++convenience.a
(cd .libs/libstdc++.lax/libsupc++convenience.a && ar x 
/u/rdsnfs5/t901353/src/gcc-3.3.2.obj/hppa2.0w-hp-hpux11.00/libstdc++-v3/src/../libsupc++/.libs/libsupc++convenience.a)
 /u/rdsnfs5/t901353/src/gcc-3.3.2.obj/gcc/xgcc -shared-libgcc 
-B/u/rdsnfs5/t901353/src/gcc-3.3.2.obj/gcc/ -nostdinc++  
-L/u/rdsnfs5/t901353/src/gcc-3.3.2.obj/hppa2.0w-hp-hpux11.00/libstdc++-v3/src 
-L/u/rdsnfs5/t901353/src/gcc-3.3.2.obj/hppa2.0w-hp-hpux11.00/libstdc++-v3/src/.libs
 -B/u/rdsnfs5/t901353/local/hppa2.0w-hp-hpux11.00/bin/ 
-B/u/rdsnfs5/t901353/local/hppa2.0w-hp-hpux11.00/lib/ -isystem 
/u/rdsnfs5/t901353/local/hppa2.0w-hp-hpux11.00/include -shared -nostdlib -fPIC 
-Wl,+h -Wl,libstdc++.sl.5 -Wl,+b -Wl,/u/rdsnfs5/t901353/local/lib/. -o 
.libs/libstdc++.sl.5.5   .libs/bitset.o .libs/codecvt.o .libs/complex_io.o 
.libs/concept-inst.o .libs/ctype.o .libs/ext-inst.o .libs/fstream.o 
.libs/fstream-inst.o .libs/functexcept.o .libs/globals.o .libs/io-inst.o 
.libs/ios.o .libs/istream-inst.o .libs/limits.o .libs/locale.o 
.libs/locale-inst.o .libs/localename.o .libs/misc-inst.o .libs/ostream-inst.o 
.libs/sstream-inst.o .libs/stdexcept.o .libs/stl-inst.o .libs/streambuf-inst.o 
.libs/s!
tring-inst.o .libs/strstream.o .libs/valarray-inst.o .libs/vterminate.o 
.libs/wstring-inst.o .libs/codecvt_members.o .libs/collate_members.o 
.libs/ctype_members.o .libs/messages_members.o .libs/monetary_members.o 
.libs/numeric_members.o .libs/time_members.o .libs/basic_file.o 
.libs/c++locale.o .libs/libstdc++.lax/libmath.a/stubs.o 
.libs/libstdc++.lax/libmath.a/signbit.o 
.libs/libstdc++.lax/libmath.a/signbitf.o  
.libs/libstdc++.lax/libsupc++convenience.a/del_op.o 
.libs/libstdc++.lax/libsupc++convenience.a/del_opnt.o 
.libs/libstdc++.lax/libsupc++convenience.a/del_opv.o 
.libs/libstdc++.lax/libsupc++convenience.a/del_opvnt.o 
.libs/libstdc++.lax/libsupc++convenience.a/eh_alloc.o 
.libs/libstdc++.lax/libsupc++convenience.a/eh_aux_runtime.o 
.libs/libstdc++.lax/libsupc++convenience.a/eh_catch.o 
.libs/libstdc++.lax/libsupc++convenience.a/eh_exception.o 
.libs/libstdc++.lax/libsupc++convenience.a/eh_globals.o 
.libs/libstdc++.lax/libsupc++convenience.a/eh_personality.o 
.libs/libstdc++.lax/!
libsupc++convenience.a/eh_terminate.o .libs/libstdc++.lax/l!
ibsupc++convenience.a/eh_throw.o 
.libs/libstdc++.lax/libsupc++convenience.a/eh_type.o 
.libs/libstdc++.lax/libsupc++convenience.a/guard.o 
.libs/libstdc++.lax/libsupc++convenience.a/new_handler.o 
.libs/libstdc++.lax/libsupc++convenience.a/new_op.o 
.libs/libstdc++.lax/libsupc++convenience.a/new_opnt.o 
.libs/libstdc++.lax/libsupc++convenience.a/new_opv.o 
.libs/libstdc++.lax/libsupc++convenience.a/new_opvnt.o 
.libs/libstdc++.lax/libsupc++convenience.a/pure.o 
.libs/libstdc++.lax/libsupc++convenience.a/tinfo.o 
.libs/libstdc++.lax/libsupc++convenience.a/tinfo2.o 
.libs/libstdc++.lax/libsupc++convenience.a/vec.o 
.libs/libstdc++.lax/libsupc++convenience.a/cxa_demangle.o 
.libs/libstdc++.lax/libsupc++convenience.a/dyn-string.o   
-L/u/rdsnfs5/t901353/src/gcc-3.3.2.obj/hppa2.0w-hp-hpux11.00/libstdc++-v3/src 
-L/u/rdsnfs5/t901353/src/gcc-3.3.2.obj/hppa2.0w-hp-hpux11.00/libstdc++-v3/src/.libs
 -lm ../libmath/.libs/libmath.a -lm ../libsupc++/.libs/libsupc++convenience.a 
-lm -L/u/rdsnfs5/t901353/s!
rc/gcc-3.3.2.obj/gcc -L/u/rdsnfs5/t901353/local/hppa2.0w-hp-hpux11.00/bin 
-L/u/rdsnfs5/t901353/local/lib/gcc-lib/hppa2.0w-hp-hpux11.00/3.3.2 
-L/usr/ccs/bin -L/usr/ccs/lib -L/opt/langtools/lib 
-L/u/rdsnfs5/t901353/local/lib -lgcc_s -lgcc_s -lm -lgcc_s -lgcc_s -lc  
collect2: ld terminated with signal 11 [Segmentation fault]
make[3]: *** [libstdc++.la] Error 1
make[3]: Leaving directory 
`/u/rdsnfs5/t901353/src/gcc-3.3.2.obj/hppa2.0w-hp-hpux11.00/libstdc++-v3/src'
make[2]: *** [all-recursive] Error 1
make[2]: Leaving directory 
`/u/rdsnfs5/t901353/src/gcc-3.3.2.obj/hppa2.0w-hp-hpux11.00/libstdc++-v3'
make[1]: *** [all-recursive-am] Error 2
make[1]: Leaving directory 
`/u/rdsnfs5/t901353/src/gcc-3.3.2.obj/hppa2.0w-hp-hpux11.00/libstdc++-v3'
make: *** [all-target-libstdc++-v3] Error 2
[gcc-3.3.2.obj]rds294[299]% 

I don't have the system ld patch installed.  I talked to my systems people
and they figure to install it for me today.

I'll let you know how it goes...

thanks to all

tom




reply via email to

[Prev in Thread] Current Thread [Next in Thread]