Usenet comp.os.linux.announce (1993-2013)
 help / color / mirror / Atom feed
From: "H.J. Lu" <hjl@lucon.org>
Subject: binutils 2.6.0.14 is released.
Date: 1996/05/16	[thread overview]
Message-ID: <cola-liw-832282874-31232-0@liw.clinet.fi> (raw)


-----BEGIN PGP SIGNED MESSAGE-----

This is the public release of binutils 2.6.0.14 for Linux, which is
based on the binutils snapshot, gas-960425. It is a Linux only release.
This release is only intended for an ELF based system. You also
need libc 5.3.12 and gcc 2.7.2 or above.

Some changes from 2.6.0.12 are:

1. Linux/alpha support in the binary release is dropped due to
   its magic conflict with linux/m68k.
2. A m68000 offset bug in gas is fixed.
3. Now the linker will consult /etc/ld.so.cache again for shared
   libraries included by DT_NEEDED. -Wl,-rpath-link is no longer
   needed if you compile on Linux for Linux.
4. The objdump core dump bug is fixe.

I also include the cross assembler and cross linker binaries for
SunOS and Solaris under Sparc, m68k/ELF and m68k/linuxaout.
To use the cross assembler and linker binaries without any changes,
you have to configure your cross compiler with

	a. Sparc/SunOS:

	# configure --prefix=/usr --local-prefix=/usr/local \
		--gxx-include-dir=/usr/include/g++  \
		--with-gnu-ld --with-gnu-as \
		--host=i486-linux --target=sparc-sun-sunos4.1

	b. Sparc/Solaris:

	# configure --prefix=/usr --local-prefix=/usr/local \
		--gxx-include-dir=/usr/include/g++  \
		--with-gnu-ld --with-gnu-as \
		--host=i486-linux --target=sparc-sun-solaris2

	c. m68k/ELF:

	# configure --prefix=/usr --local-prefix=/usr/local \
		--gxx-include-dir=/usr/include/g++  \
		--with-gnu-ld --with-gnu-as \
		--host=i486-linux --target=m68k-linux

	d. m68k/a.out:

	# configure --prefix=/usr --local-prefix=/usr/local \
		--gxx-include-dir=/usr/include/g++  \
		--with-gnu-ld --with-gnu-as \
		--host=i486-linux --target=m68k-linuxaout

This release contains "encaps" and a modified "objdump" by Ross. They
are used to compile the Linux kernel in ELF.

The primary ftp sites for the compiler/C library are tsx-11.mit.edu
under pub/linux/packages/GCC and sunsite.unc.edu under pub/Linux/GCC.

To install this package, please follow the procedure very closely.
Please backup/save all the files you are instructed to delete and you
should do

	gzip -dc binutils-2.6.0.14.bin.tar.gz | tar tvvf -

to see what is in there.

The binary file is binutils-2.6.0.14.bin.tar.gz. The source code is
binutils-2.6.0.14.tar.gz. A diff against 2.6 is too big to be
included. binutils-2.6.0.12-2.6.0.14.diff.gz is provided for binutils
2.6.0.14.

Please do back up before you remove things.

To install, PLEASE DO

1. su root
2. cd /
3. gzip -dc binutils-2.6.0.14.bin.tar.gz | tar xvvf -

Now you have the new gas/binutils under /usr/bin and
/usr/i486-linuxaout/bin. You have to do

/usr/i486-linuxaout/bin/as

and

/usr/i486-linuxaout/bin/ld -m i386linux

if you want to use a.out as and ld directly.

If you don't need the cross assemblers/linkers for m68k-linux,
m68k-linuxaout, sparc-sun-solaris2 nor sparc-sun-sunos4.1, please
do

1. su root
2. cd /usr
3. rm -rf m68k-linux m68k-linuxaout sparc-sun-solaris2 sparc-sun-sunos4.1


Thanks.


H.J. Lu
hjl@gnu.ai.mit.edu
05/15/96
- -----
#! /bin/sh
#
# This is the shell script used to convert a static a.out library
# into the one compatible with ELF by removing the leading underscore
# in the global symbol names.
#
# Usage: convert libfoo.a [libbar.a ...]
#
# H.J. Lu
# hjl@gnu.ai.mit.edu

cwd=`pwd`
prog=$0

usage ()
{
  echo Usage: $prog libfoo.a [libbar.a ...]
}

remove_underscore ()
{
  lib=$1

  case $lib in
  lib*.a|*/lib*.a)
    if [ ! -f $lib ];
    then
      echo $lib does not exist.
      usage
      exit -1
    fi
    ;;

  *)
    echo $lib is not a static library.
    usage
    exit -1
    ;;
  esac

  case $lib in
    /*)
    wd=
    ;;
  
  *)
    wd=$cwd
    ;;
  esac
  
  
  tmpdir=$$$$
  
  cd /tmp
  rm -rf $tmpdir
  mkdir $tmpdir
  cd $tmpdir
  ar -x $wd/$lib
  for f in *.o
  do
    objcopy --remove-leading-char $f
  done
  ar -ucr ../`basename $lib` *.o
  cd ..
  rm -rf $tmpdir
  mv /tmp/$lib $cwd
}

for l in $*
do
  cd $cwd
  remove_underscore $l
done



-----BEGIN PGP SIGNATURE-----
Version: 2.6.2i

iQCVAwUBMZugkYQRll5MupLRAQHgmgP/aELHbeIvGN+L9O8HEbqlgVHCoSZwXVDU
c1LeKgE252Q8p4Q6p3sFUfNmOaI53JKZUA3ZBc1rXySb1yebZHadlXPGx82JHang
rU992LAY3PHC5NZuV7tkHCtJiMZ25+U41ONYFRXSJS69Y9UhuQ5CxOWJcfle4dGC
VefNtvhz44M=
=eTik
-----END PGP SIGNATURE-----

-- 
This article has been digitally signed by the moderator, using PGP.
Finger wirzeniu@kruuna.helsinki.fi for PGP key needed for validating signature.
Send submissions for comp.os.linux.announce to: linux-announce@news.ornl.gov
PLEASE remember a short description of the software and the LOCATION.



                 reply	other threads:[~1996-05-16  4:00 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox