public inbox for gcc-help@gcc.gnu.org
 help / color / mirror / Atom feed
* Cross-compilation Options for IDT MIPS Architecture
@ 2002-08-28 10:12 P.Srihari
  0 siblings, 0 replies; only message in thread
From: P.Srihari @ 2002-08-28 10:12 UTC (permalink / raw)
  To: gcc-help

[-- Attachment #1: Type: text/plain, Size: 1190 bytes --]

i am facing a problem described as follows :

we have a software, which has been compiled and well tested on x86 
architecture on linux. 

now the same software, has to be executed on IDT MIPS - to be specific
IDT 79RC32T355 architecture. for this, mipsel-linux-gcc is being used as 
the cross compiler. i have given the following compilation options :

        -mips2 -EL 

but when the software is executed, it results in SIGILL - illegal 
instruction. the program counter points to the following instruction

        lui $at, 0x4000 

is this instruction not legal for the specific architecture ??

the function, which resulted in this had some double data types, which
we changed to int and the problem is no longer occuring.

all the .o files have been compiled, using these flags. the executable
links with some shared libraries also.

so the question : 

        1. what are the options that have to be given along with the
        cross compiler/linker

        2. any specific requirements during compilation and 
        linking that may have impact on the final executable

is there any web-site where compiler/linker options are explained
from the IDT architecture perspective.

[-- Attachment #2: Wipro_Disclaimer.txt --]
[-- Type: text/plain, Size: 490 bytes --]

**************************Disclaimer************************************

Information contained in this E-MAIL being proprietary to Wipro Limited is 
'privileged' and 'confidential' and intended for use only by the individual
 or entity to which it is addressed. You are notified that any use, copying 
or dissemination of the information contained in the E-MAIL in any manner 
whatsoever is strictly prohibited.

***************************************************************************

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2002-08-28 17:12 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2002-08-28 10:12 Cross-compilation Options for IDT MIPS Architecture P.Srihari

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).