From: Ralf Baechle <ralf@oss.sgi.com>
To: Andre.Messerschmidt@infineon.com
Cc: linux-mips@oss.sgi.com
Subject: Re: Cross Compiler again
Date: Tue, 27 Nov 2001 00:48:04 +1100 [thread overview]
Message-ID: <20011127004804.A15327@dea.linux-mips.net> (raw)
In-Reply-To: <86048F07C015D311864100902760F1DD01B5E418@dlfw003a.dus.infineon.com>; from Andre.Messerschmidt@infineon.com on Mon, Nov 26, 2001 at 02:38:39PM +0100
On Mon, Nov 26, 2001 at 02:38:39PM +0100, Andre.Messerschmidt@infineon.com wrote:
> > Shit in, shit out. You must be invoking the compiler with some option for
> > GP relative optimization. Won't work.
> >
> A typical gcc call is like this:
> gcc -Wall -Wstrict-prototypes -O2 -mno-abicalls -fno-pic -mcpu=r4000 -D_32_
> -mips2 -Wa,--trap -pipe -c foo.c -o foo.o
>
> Is there any option missing that might me defaulting to such an
> optimization?
-G 0.
> I have played with the different -O# options without success.
What compiler are you using? All compilers I've ever released did default
to -G 0.
Ralf
next prev parent reply other threads:[~2001-11-26 14:48 UTC|newest]
Thread overview: 14+ messages / expand[flat|nested] mbox.gz Atom feed top
2001-11-26 13:38 AW: Cross Compiler again Andre.Messerschmidt
2001-11-26 13:48 ` Ralf Baechle [this message]
-- strict thread matches above, loose matches on Subject: below --
2001-11-26 16:27 Andre.Messerschmidt
2001-11-26 20:31 ` Daniel Jacobowitz
2001-11-26 8:59 Andre.Messerschmidt
2001-11-26 11:22 ` Ralf Baechle
2001-11-22 17:13 AW: " Andre.Messerschmidt
2001-11-25 17:13 ` Daniel Jacobowitz
2001-11-26 11:28 ` Ralf Baechle
2001-11-26 12:06 ` Maciej W. Rozycki
2001-11-22 12:42 Andre.Messerschmidt
2001-11-22 18:17 ` H . J . Lu
2001-11-22 9:08 Andre.Messerschmidt
2001-11-22 10:03 ` H . J . Lu
2001-11-22 15:53 ` Bradley D. LaRonde
2001-11-22 15:53 ` Bradley D. LaRonde
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20011127004804.A15327@dea.linux-mips.net \
--to=ralf@oss.sgi.com \
--cc=Andre.Messerschmidt@infineon.com \
--cc=linux-mips@oss.sgi.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox