delorie.com/archives/browse.cgi   search  
Mail Archives: cygwin/1998/04/13/02:51:01

From: rkarpel AT usa DOT net (Ron Karpel)
Subject: Re: Mips cross compiler. Help!
13 Apr 1998 02:51:01 -0700 :
Message-ID: <35319CD7.EDD85B2E.cygnus.gnu-win32@usa.net>
References: <3 DOT 0 DOT 32 DOT 19980330143252 DOT 00936690 AT pacific DOT stnc DOT co DOT uk>
Mime-Version: 1.0
To: David Linsley <dlinsley AT stnc DOT com>
Cc: gnu-win32 AT cygnus DOT com

Are you sure you need libgcc2.a? I believe you only need it if your target is a
mips box running an operating system. Most embedded system do not require this.
If you have to have it, I believe you need to compile it on a gnu port running
on your mips box.

In my case, I just disabled libgcc creation from the command line of the make
file. Mt target is an embedded box that have no operating system.

Hope this helps,

David Linsley wrote:

> Hi,
>
> I'm trying to make a Mips Cross compiler, hosting on NT4 with the B19
> release of gnu-win32.
>
> The target I'm trying to build for is mips-elf (though I'd really like to
> build for mips64vr4300 but this seems to be internal to Cygnus only,
> judging by the test in the configure files), and have copied the mips files
> from the opcodes directory of 2.8.0 (standard gcc release) into the opcodes
> directroy of B19/src
>
> Binutils builds fine, but gcc fails when trying to compile libgcc2.a - it
> compiles _muldi3 first and fails with the response:
>
> c:\temp\cc001056.s :74 Error opcode requires -mips15 or greater 'dsli'
> Also followed by
> 75 'dsra' 76 'dsra' 77 mult 78 mflo
>
> 80 Internal Error!
> Assertion failed in macro-build at ./config/tc-mips.c line 2357
> Please report this bug
>
> Any help greatfully appreciated. Thanks!
>
> Regards,
>
> David Linsley              STNC Ltd
> Software Engineer          Reflection House
> Phone: +44 (0)1284 770770  Olding Road
> Fax:   +44 (0)1284 770771  Bury St. Edmunds
> Email: dlinsley AT stnc DOT com   Suffolk IP33 3TA
> WWW:   http://www.stnc.com England
> -
> For help on using this list (especially unsubscribing), send a message to
> "gnu-win32-request AT cygnus DOT com" with one line of text: "help".



--
Ron Karpel
email: rkarpel AT usa DOT net
home page: http://home.earthlink.net/~karpel/ron.html


-
For help on using this list (especially unsubscribing), send a message to
"gnu-win32-request AT cygnus DOT com" with one line of text: "help".

- Raw text -


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