"Fossies" - the Fresh Open Source Software Archive

Member "Tk-804.036/README.HPUX" (15 Nov 2013, 3083 Bytes) of package /linux/misc/Tk-804.036.tar.gz:


As a special service "Fossies" has tried to format the requested text file into HTML format (style: standard) with prefixed line numbers. Alternatively you can here view or download the uninterpreted source code file.

    1 
    2 To build dynamic loaded you need the extra cost compiler, or really up-to-date
    3 GCC and appropriate 'GNU binutils'. Neither bundled
    4 compiler or older gcc/binutils can build correct position
    5 independant code. It will build static with most gcc's.
    6 
    7 You will probably have to explcitly specify pathnames to X11, e.g.
    8 Nick built using GNU gcc-2.6.2 on a 'borrowed' machine like this:
    9 
   10 perl Makefile.PL X11=/usr/local/X11R5
   11 make
   12 make tkperl
   13 tkperl basic_demo
   14 
   15 
   16 If you do have the extra cost compiler may also have trouble with some of the
   17 initialized data structures, causing link errors. However it does work
   18 with the following configuration, compiler and dynamic loading
   19 flags are probably important:
   20 
   21 From  okamoto@hpcc123.corp.hp.com  Mon Sep 11 19:31:16 1995
   22 Return-Path: <okamoto@hpcc123.corp.hp.com>
   23 From: okamoto@hpcc123.corp.hp.com (Jeff Okamoto)
   24 Message-Id: <199509111831.AA020354270@hpcc123.corp.hp.com>
   25 Subject: Re: Tk on HP-UX 9.05  - DynaLoader issues.
   26 To: Nick.Ing-Simmons@tiuk.ti.com
   27 Date: Mon, 11 Sep 95 11:31:09 PDT
   28 Cc: dglo@ssec.wisc.edu
   29 In-Reply-To: <9509111654.AA11145@pluto>; from
   30     "Nick.Ing-Simmons@tiuk.ti.com" at Sep 11, 95 5:54 pm
   31 Mailer: Elm [revision: 70.85]
   32 P-From: Jeff Okamoto <okamoto@hpcc123.corp.hp.com>
   33 
   34 > Try Tk-b8 should be just the same or better, and saves me delving even
   35 > further into the past if you post patches ;-)
   36 
   37 Tk-b8 worked fine for me.  My configuration is:
   38 
   39 Summary of my perl5 (patchlevel 1) configuration:
   40   Platform:
   41     osname=hpux, osver=9, archname=9000/700-hpux
   42     uname='hp-ux okamoto a.09.05 e 9000715 2013134500 8-user license '
   43     hint=recommended
   44   Compiler:
   45     cc='cc', optimize='-O', ld='ld'
   46     cppflags='-D_HPUX_SOURCE -I/usr/local/include -Aa'
   47     ccflags ='-D_HPUX_SOURCE -I/usr/local/include -Aa -DDEBUGGING'
   48     ldflags =' -L/usr/local/lib'
   49     stdchar='unsigned char', d_stdstdio=define, usevfork=false
   50     voidflags=15, castflags=0, d_casti32=define, d_castneg=define
   51     intsize=4, alignbytes=8, usemymalloc=y, randbits=15
   52   Libraries:
   53     so=sl
   54     libpth=/lib/pa1.1 /lib /usr/lib /usr/local/lib
   55     libs=-lnet -ldld -lm -lc -lndir -lcrypt
   56     libc=/lib/libc.sl
   57   Dynamic Linking:
   58     dlsrc=dl_hpux.xs, dlext=sl, d_dlsymun=undef
   59     cccdlflags='+z', ccdlflags='-Wl,-E ', lddlflags='-b'
   60 
   61 Jeff
   62 ------------------------------------------------------------------------
   63 The information I have on using GCC came from:
   64 
   65 Subject: Re: Tk-b8 make problem on HP-UX 9.01
   66 In-Reply-To: Your message of "Fri, 22 Sep 1995 11:26:59 MDT."
   67     <199509221726.AA109800819@hpeshai.fc.hp.com>
   68 Content-Type: text/plain; charset=us-ascii
   69 Date: Fri, 22 Sep 1995 15:35:51 -0700
   70 From: garrett@qualcomm.com (Garrett D'Amore)
   71 Sender: owner-ptk@WPI.EDU
   72 Precedence: bulk
   73 P-From: "Garrett D'Amore" <garrett@qualcomm.com>
   74 
   75 Since I can't get the commercial version of the compiler, I just installed
   76 the latest gcc (2.7.0) and built with that.  This version of gcc can build
   77 dynamic libraries on HP-UX (if you use binutils-2.5.2).  Earlier versions
   78 of gcc couldn't build PIC code (and hence shared libs) on HP-UX.
   79 
   80 Let me know how it goes.
   81 
   82