Professional Web Applications Themes

gnutools - SCO

blah... turns out when I upgraded gnutools on a 5.0.7 box, strip dissappeared. minor annoyance, breaks makefiles but easily worked-around since you _need_ strip. ar and nm and ranlib exist but were not symlinked into the path. There is a strip in /usr/ccs/bin/elf which is only a broken symlink. Another as is in there too (should I symlink that into path instead of the gnu as? my guess is gas is going to like gcc's output better than as?)...

  1. #1

    Default gnutools

    blah...
    turns out when I upgraded gnutools on a 5.0.7 box, strip dissappeared.
    minor annoyance, breaks makefiles but easily worked-around since you
    _need_ strip.
    ar and nm and ranlib exist but were not symlinked into the path.
    There is a strip in /usr/ccs/bin/elf which is only a broken symlink.
    Another as is in there too (should I symlink that into path instead of
    the gnu as? my guess is gas is going to like gcc's output better than
    as?)
    Brian Guest

  2. #2

    Default Re: gnutools

    Brian K. White typed (on Sun, Sep 21, 2003 at 10:41:04AM -0700):
    | blah...
    | turns out when I upgraded gnutools on a 5.0.7 box, strip dissappeared.
    | minor annoyance, breaks makefiles but easily worked-around since you
    | _need_ strip.

    What "upgrade" wiped out /bin/strip and /usr/bin/strip???

    | ar and nm and ranlib exist but were not symlinked into the path.
    | There is a strip in /usr/ccs/bin/elf which is only a broken symlink.
    | Another as is in there too (should I symlink that into path instead of
    | the gnu as? my guess is gas is going to like gcc's output better than
    | as?)

    What's living in /opt/K/SCO/unixds/5.2.0A/bin?

    --
    JP
    Jean-Pierre Guest

  3. #3

    Default Re: gnutools

    Jean-Pierre Radley <com> wrote in message news:<jpr.com>... 

    start with a 5.0.7 box from 6 months ago
    during initial install, install "linker and libraries" and "gnu
    development tools" from the cd.

    then install osr507mp1
    then gnutools 5.0.7Kj (which constitutes an update of the same package
    installed from the cd)

    note: did not install the devesys proper, just the linker&libs

    before the update, there was no strip in the path, but there was a
    gstrip,
    which I had found and symlinked to satisfy makefiles in a better way
    than I usually do (ln -s /usr/bin/true /usr/bin/strip, and add -s to
    CFLAGS)

    I don't remember where gstrip was exactly. It might have already had a
    link named /usr/gnu/bin/gstrip, or it may have only been in
    /usr/gnu/i586-pc-sco3.2v5.0/bin

    now all there is anywhere (according to "find / -name *strip -print)
    is:
    /usr/ccs/bin/elf/strip
    /usr/gnu/bin/strip
    /usr/cactus/airbag/mystrip
    /opt/K/SCO/unixds/rs507a.unixds520.1.0a/usr/ccs/bin/elf/strip
    /u/bash-2.05b/tests/run-strip

    so, disregarding ctar and bash ...

    /usr/ccs/bin/elf/strip
    is a link to: /opt/K/SCO/unixds/5.2.0A/usr/ccs/bin/elf/strip
    # /usr/ccs/bin/elf/strip
    ksh: /usr/ccs/bin/elf/strip: not found
    # /opt/K/SCO/unixds/5.2.0A/usr/ccs/bin/elf/strip
    ksh: /opt/K/SCO/unixds/5.2.0A/usr/ccs/bin/elf/strip: not found


    /usr/gnu/bin/strip
    is a link to: /opt/K/SCO/gnutools/5.0.7g/usr/gnu/bin/gstrip
    (ok so now we know where it *used to be)
    # /usr/gnu/bin/strip
    ksh: /usr/gnu/bin/strip: not found
    # /opt/K/SCO/gnutools/5.0.7g/usr/gnu/bin/gstrip
    ksh: /opt/K/SCO/gnutools/5.0.7g/usr/gnu/bin/gstrip: not found
    (of course we knew these wouldn't work, I'm just being complete,
    now I'll make the obvious leap...)
    # /opt/K/SCO/gnutools/5.0.7Kj/usr/gnu/bin/gstrip
    ksh: /opt/K/SCO/gnutools/5.0.7Kj/usr/gnu/bin/gstrip: not found
    # /opt/K/SCO/gnutools/5.0.7Kj/usr/gnu/bin/strip
    ksh: /opt/K/SCO/gnutools/5.0.7Kj/usr/gnu/bin/strip: not found
    (the path /opt/K/SCO/gnutools/5.0.7Kj/usr/gnu/bin does exist)

    /opt/K/SCO/unixds/rs507a.unixds520.1.0a/usr/ccs/bin/elf/strip
    is a real file not a link
    # /opt/K/SCO/unixds/rs507a.unixds520.1.0a/usr/ccs/bin/elf/strip
    Usage: i386strip [-Vlx?] file(s)...

    Well Well Well!

     

    # ls -l /opt/K/SCO/unixds/5.2.0A/bin
    total 364
    -rwx--x--x 3 bin bin 91352 Jun 11 17:29 as
    -rwx--x--x 3 bin bin 91632 Jun 11 17:29 ld
    Brian Guest

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139