X-Authentication-Warning: delorie.com: mail set sender to djgpp-bounces using -f Message-Id: <201108061655.p76GtloQ028328@delorie.com> From: Juan Manuel Guerrero To: djgpp-announce AT delorie DOT com Subject: ANNOUNCE: DJGPP port of GNU binutils 2.21.1 uploaded. Date: Sat, 6 Aug 2011 12:40:05 +0200 Content-Type: text/plain; charset="us-ascii" Content-Disposition: inline This is a port of GNU binutils 2.21.1 to MSDOS/DJGPP. The GNU binutils are utilities of use when dealing with binary files, either object files or executables. These tools consist of the linker (ld), the assembler (gas), and the profiler (gprof). There is also a collection of other binary tools, including the disassembler (objdump). These tools make use of a pair of libraries (bfd and opcodes) and a common set of header files. DJGPP specific changes. ======================= - All DJGPP specific changes, especially the linker script changes, are based on the diff files taken from Andris Pavenis'bnu219s2.zip and djcross-binutils-2.19.1-10ap.src.rpm. Both are available at ftp.delorie.com and mirrors. I have only made those adjustments necessaries to get those patches fit with the current source files. My contribution primarily concerns the scripts needed for configuration and building the products. These are based on the ones created for the GDB ports. - The diffs file that contains all changes I have done is stored in the /djgpp directory. Also in this directory is stored the small config.sh script that I have used to adjust all configure and libtool scripts of the package. The well known issues that must been fixed are that: 1) the gawk test for setting the CR coding to be used does not work at all. 2) inhibit that gawk prepends a leading slash to DOS style path names. 3) a libttool function needs to be adjusted to get the install target working. 4) the target alias is removed from the tooldir and scriptdir path to get the programs and linker scripts installed in their canonical places of a DJGPP installation. That script is very simple and will only work to configure and compile the sources in the /djgpp directory. If you want to make changes or pass more or other options to configure and to the make program, you will have to edit it or write your own script. config.sh shall not be smart, it shall only DTRT. - As in the previous port the testsuites have been removed. I do not know if they can be run with DJGPP. I have tested the port by using it. - The port has been compiled on WinXP Pro SP3 using GCC 4.6.1 and LFN support. I have never tried to use the linker with any gcc version previous than 4.6.1. I even do not know if this would ever work. Please note that I have no insight neither in binutils sources nor in BFD sources. Especialy I have no insight in the way the linker and the linker scripts work. I have compiled the sources out-of-the-box. If it does not work for you, you should report it at c.o.m.d but I cannot garantee that I can solve the issue. I am neither the porter nor the maintainer of binutils, I have only compiled the sources after applying the patches provided by Andris. In the worst case you will have to ask him about DJGPP specific issues of binutils. I am _not_ the porter/maintainer of DJGPP's port of binutils. To compile the sources you will need LFN support. I have compiled on WinXP Prof SP3. I have not tried to compile the sources using any other Windows version. Especially I have not tried to compile it on plain DOS. While I tried to configure using djgpp 2.03, I experienced the same crashes that I had configuring GDB using djgpp 2.03. The fastes and easiest way to fix this issue was to replace cat.exe compiled with djgpp 2.03 with the version compiled with djgpp 2.04. As usual, all djgpp specific files (config.sh, diffs, README files, etc.) are located in the /djgpp directory. The sources have not been configured so you must change into the /djgpp directory and start config.sh. This will configure the sources and start make. For further information about Binutils please read the info docs and NEWS file. The port consists of the usual four packages that have been compiled using stock djdev203 and that can be downloaded from ftp.delorie.com and mirrors as (time stamp 2011-08-05): GNU binutils 2.21.1 binary and info format documentation: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/bnu2211b.zip GNU binutils 2.21.1 bfd, liberty and opcode libraries and headers: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/bnu2211a.zip GNU binutils 2.21.1 dvi, html, ps and pdf format documentation: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/bnu2211d.zip GNU binutils 2.21.1 source: ftp://ftp.delorie.com/pub/djgpp/current/v2gnu/bnu2211s.zip The binaries have been produced a second time using the stock version of djdev204 beta library. This package is available at ftp.delorie.com and mirrors as (timestamp 2011-08-05): GNU binutils 2.21.1 binary and info format documentation: ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/bnu2211b.zip GNU binutils 2.21.1 bfd, liberty and opcode libraries and headers: ftp://ftp.delorie.com/pub/djgpp/beta/v2gnu/bnu2211a.zip Send binutils specific bug reports to . Send suggestions and bug reports concerning the DJGPP port to comp.os.msdos.djgpp or . Enjoy. Guerrero, Juan Manuel