From: "michael green" Newsgroups: comp.os.msdos.djgpp Subject: Installing binaries Date: Mon, 3 Jan 2000 22:12:40 -0500 Organization: MindSpring Enterprises Lines: 81 Message-ID: <84roml$bqo$1@nntp9.atl.mindspring.net> References: NNTP-Posting-Host: a5.f7.f9.63 X-Server-Date: 4 Jan 2000 03:16:37 GMT X-Newsreader: Microsoft Outlook Express 4.72.3110.1 X-MimeOLE: Produced By Microsoft MimeOLE V4.72.3110.3 To: djgpp AT delorie DOT com DJ-Gateway: from newsgroup comp.os.msdos.djgpp Reply-To: djgpp AT delorie DOT com I was under the impression that the file binutils-2_9_1-tar are the sources. Ok, this is what I am trying to do.I obtained these files : binutils-2.9.1.tar.gz sources binutils-2.9.1-m68hc1x-19991128.diffs.gz patch gcc-2.95.2.tar.gz sources gcc-2.95.2-m68hc1x-19991129.diffs.gz patch newlib-1.8.1.tar.gz sources newlib-1.8.1-m68hc1x-19991128.diffs.gz patch Then I installed djpp 2.02 through zip picker and install.exe utility. Where and how do I install all these files ? The instructions with the files : gcc-2.95.2.tar.gz gcc-2.95.2-m68hc1x-19991129.diffs.gz say "Befor compiling GCC, you need to compile and install the GNU Binutils for Motorola 68hc11 or 68hc12. Refer to GNU Binutils for 68hc11& 68hc12 which is a link to page where I obtained : binutils-2.9.1.tar.gz binutils-2.9.1-m68hc1x-19991128.diffs.gz The instructions for the newlib files say pretty much the same thing except that GCC and Binutils need to be installed first. It looked like binutils had to be installed first. The instructions for the binutils say : Installing the patch gzip -d binutils-2.9.1-m68hc1x-19991128.diffs.gz tar xvzf binutils-2.9.1.tar.gz mv binutils-2.9.1 binutils-2.9.1-m68hc1x patch -p1 < ../binutils-2.9.1-m68hc1x-19991128.diffs My first attempt to install, I unzipped files with winzip to the default dir which turned out to be \binutils-2.9.1 directory.So they were unzipped in d:\djgpp\binutils-2.9.1. Then I changed the name of the binutils-2.9.1 to binutils-2.9.1-m68hc1x. Then I tried to apply the patch. After several attempts and failures I thought I was successful at getting the patch installed.Then the instructions say : sh ./configure --target=m6811-elf -program-prefix=m6811-elf- So thats what I did. The error I got was something like configure: bin/sh: [noent] and then something about a host. So I gave the commands sh ./configure --host=i586 --target=m6811-elf --program=prefix=m6811-elf- Then it looked good for a socond or so until I got message back that said ****can not find config.sub . I had a copy of bash.exe in djgpp\bin so I copied it to the binutils-2.9.1-m68hc1x directory as sh.exe because I remembered reading something about this. I am not sure if this was correct. Could someone please help me with this ? It would be greatly appreciated. Eli Zaretskii wrote in message ... > >On Sat, 1 Jan 2000, mg wrote: > >> I am trying to install files binutils-2_9_1-m68hc1x-19991128_diffs and >> binutils-2_9_1-tar. I am running a pentium processor with windows 98.Can any >> body give me any help installing? In the readme.djg >> located in d:\djgpp\gnu\binutl-2.81 directory of the djgpp installation it >> references >> under ---How to enable other object formats?--- section a copy of >> config.bat and diffs.djg. Where do these files come from? > >Don't try to build Binutils 2.9.1 with instructions from Binutils >2.8.1. Most of those instructions are not valid for the newer release >of Binutils, because almost all the problems that those instructions >are meant to handle are already taken care of in v2.9.1 by patches >sent to the maintainer since v2.8.1 was released. > >You need a set of scripts and instructions to build Binutils 2.9.1. I >think you can find these in the DJGPP mail archives at >http://www.delorie.com/djgpp/mail-archives/. If you cannot find >anything in the archives of the djgpp list, look in the archives of >the djgpp-workers list. > >In any case, do NOT apply the m68hc patches before you succeed in >building the unaltered distribution. Otherwise you will not know >where did the problems come from.