This is the mail archive of the crossgcc@sources.redhat.com mailing list for the crossgcc project.

See the CrossGCC FAQ for lots more information.


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

Re: Error message of mips cross compiler


David
        I have changed my outlook seeting to send text formatted mail.
Unfortunately,Adding -mlong-calls doesn't solve my problem.
I found all error occured when some C codes access external global
variables(located in .data).
Why?


Sean

----- Original Message -----
From: "David Korn" <dkorn@pixelpower.com>
To: "'SeanChang'" <seanchang@mail.arti.com.tw>;
<crossgcc@sourceware.cygnus.com>
Sent: Wednesday, July 18, 2001 10:25 PM
Subject: RE: Error message of mips cross compiler


>
> -----Original Message-----
> From: SeanChang [mailto:seanchang@mail.arti.com.tw]
> Sent: 18 July 2001 06:36
> To: crossgcc@sourceware.cygnus.com
> Subject: Error message of mips cross compiler
>
>
>   I have touble in building our souce code.
>   I got a error message when linking our objects,'relocation trunvated to
> fit: R_MIPS_GPREL16 DeviceName'
>  How could I solve it?
>
> Sean Chang
> --------------------------
>
>     Sean, if you use plain text I'll reply your questions more often, but
> what happens with your HTML mail is that I start replying to it, but I
don't
> want to post HTML so I convert it to plain text, and then no matter what
> was in the post, Outlook Express just turns your message into
>
> рш
>
> probably because it doesn't understand the charset, and then I haven't got
> the question text to quote and reply to so I just give up.  However,
that's
> beside the main point here, I just mentioned it because I might not be the
> only one who doesn't reply HTML mails as often as plain text ones.
>
>   Anyway, the answer to your question is that you need to use the flag
> -mlong-calls in your compile commands.  HTH
>
>        DaveK
>
> --
> we are not seats or eyeballs or end users or consumers.
> we are human beings - and our reach exceeds your grasp.
>                     deal with it.                      - cluetrain.org
>
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
>
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
>
> www.mimesweeper.com
> **********************************************************************
>
> ------
> Want more information?  See the CrossGCC FAQ,
http://www.objsw.com/CrossGCC/
> Want to unsubscribe? Send a note to
crossgcc-unsubscribe@sourceware.cygnus.com
>
>


------
Want more information?  See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sourceware.cygnus.com


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