ddd
[Top][All Lists]
Advanced

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

Re: DDD 3.3.8 and HP-UX 11.0


From: Andrew Gaylard
Subject: Re: DDD 3.3.8 and HP-UX 11.0
Date: Mon, 19 Jan 2004 21:23:13 +0200
User-agent: Mozilla/5.0 (X11; U; Linux i686; en-US; rv:1.0.1) Gecko/20021003

Tom Wurgler wrote:
Recently "Arnaud Desitter" <address@hidden> wrote:

Arnaud> From: "Arnaud Arnaud" <address@hidden>
Arnaud> Cc: <address@hidden>
Arnaud> Date: Mon, 19 Jan 2004 15:03:52 -0000

Arnaud> Hi,

Arnaud> Try to install gcc and binutils from http://hpux.cs.utah.edu/.
Ok, I'll try this.  Thanks.


Arnaud> Having say that, there is now reason why you could not build
Arnaud> ddd using the HP compilers (cc and aCC).

It won't compile with cc and aCC.  See this info in my note below:

Tom,

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

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


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

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

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

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

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





reply via email to

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