delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/2002/09/13/09:59:41

Mailing-List: contact cygwin-help AT cygwin DOT com; run by ezmlm
List-Subscribe: <mailto:cygwin-subscribe AT cygwin DOT com>
List-Archive: <http://sources.redhat.com/ml/cygwin/>
List-Post: <mailto:cygwin AT cygwin DOT com>
List-Help: <mailto:cygwin-help AT cygwin DOT com>, <http://sources.redhat.com/ml/#faqs>
Sender: cygwin-owner AT cygwin DOT com
Mail-Followup-To: cygwin AT cygwin DOT com
Delivered-To: mailing list cygwin AT cygwin DOT com
Message-ID: <3D81C5CA.6010909@gmx.net>
Date: Fri, 13 Sep 2002 13:02:34 +0200
From: Werner Tuchan <32768 AT gmx DOT net>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.0.1) Gecko/20020823 Netscape/7.0
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: Bruce Adams <bruadams AT tycoint DOT com>
CC: crossgcc AT sources DOT redhat DOT com, cygwin AT cygwin DOT com
Subject: Re: m68k assembler (and MRI tools)
References: <C9150052B112D3119E9E0004ACA6E437025AFCBE AT tepg1 DOT tepg DOT co DOT uk>

Bruce Adams wrote:

>but 2.95.3-5 fails for me as well.
>  
>

In case you're interested we replaced the MRI compiler for the 68332 
with gcc when we moved from C to C++. MRI has a good C compiler but 
their C++ implementation had some flaws. That was 2 years ago.

Can you try the following script just to see if it works for anyone else 
but me. It makes a one pass build of  gcc 2.95.3 from the tarballs in 
about 1 hour. Just copy it along with the tarballs in any directory and 
run it with

bash -e makgcc.sh 2>&1 | tee make.log

--------------------------------
export TARGET=m68k-elf
export PREFIX=/usr/gcc2953
export PATH=$PREFIX/bin:$PATH

tar -jxf binutils-2.12.1.tar.bz2
mkdir binutils
cd binutils
../binutils-2.12.1/configure --target=$TARGET --prefix=$PREFIX
make all install
cd ..

tar -jxf gcc-2.95.3.tar.bz2
tar -zxf newlib-1.10.0.tar.gz
mv newlib-1.10.0/newlib gcc-2.95.3/newlib
rm -r newlib-1.10.0

mkdir gcc
cd gcc
../gcc-2.95.3/configure --target=$TARGET --prefix=$PREFIX --with-newlib 
--with-gnu-as --with-gnu-ld --enable-languages=c,c++
make all install
cd ..





--
Unsubscribe info:      http://cygwin.com/ml/#unsubscribe-simple
Bug reporting:         http://cygwin.com/bugs.html
Documentation:         http://cygwin.com/docs.html
FAQ:                   http://cygwin.com/faq/

- Raw text -


  webmaster     delorie software   privacy  
  Copyright © 2019   by DJ Delorie     Updated Jul 2019