This is the mail archive of the cygwin@sourceware.cygnus.com mailing list for the Cygwin project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]

Re: Mips cross compiler. Help!


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@stnc.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@cygnus.com" with one line of text: "help".



--
Ron Karpel
email: rkarpel@usa.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@cygnus.com" with one line of text: "help".


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]