* Recent regression & configuring ppc simulator
@ 2000-09-11 0:51 John Wehle
2000-09-11 3:28 ` Manfred Hollstein
2000-09-11 7:59 ` Geoff Keating
0 siblings, 2 replies; 5+ messages in thread
From: John Wehle @ 2000-09-11 0:51 UTC (permalink / raw)
To: gcc
I'm looking into the gcc.c-torture/execute/950511-1.c regression
and need a little help configuring the ppc simulator. I've
configured and built binutils 2.10, gcc, and gdb 5.0 using
--target=powerpc-eabisim
on a x86 FreeBSD 3.5 host. When I try to compile a simple program
I get:
/usr/local/powerpc-eabisim/bin/ld: unrecognised emulation mode: elf32ppcsim
Supported emulations: elf32ppc
collect2: ld returned 1 exit status
Suggestions?
-- John
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Recent regression & configuring ppc simulator
2000-09-11 0:51 Recent regression & configuring ppc simulator John Wehle
@ 2000-09-11 3:28 ` Manfred Hollstein
2000-09-11 7:59 ` Geoff Keating
1 sibling, 0 replies; 5+ messages in thread
From: Manfred Hollstein @ 2000-09-11 3:28 UTC (permalink / raw)
To: John Wehle; +Cc: gcc
On Monday, 11 September 2000, 03:50:40 -0400, john@feith.com wrote:
> I'm looking into the gcc.c-torture/execute/950511-1.c regression
> and need a little help configuring the ppc simulator. I've
> configured and built binutils 2.10, gcc, and gdb 5.0 using
>
> --target=powerpc-eabisim
>
> on a x86 FreeBSD 3.5 host. When I try to compile a simple program
> I get:
>
> /usr/local/powerpc-eabisim/bin/ld: unrecognised emulation mode: elf32ppcsim
> Supported emulations: elf32ppc
> collect2: ld returned 1 exit status
>
> Suggestions?
What files are in /usr/local/powerpc-eabisim/powerpc-eabisim/lib/ldscripts?
I just built a CVS snapshot from today using:
$ ../binutils-20000911/configure --host=i586-redhat6-linux-gnu \
--target=powerpc-eabisim --build=i586-redhat6-linux-gnu \
--srcdir=../binutils-20000911 --prefix=/opt/gnu \
--exec-prefix=/opt/gnu/H-ia32-linux \
--enable-targets=powerpc-eabisim --enable-shared=no
and I have the elf32ppcsim.x* files in my ldscripts directory now. Perhaps,
you should use CVS sources, too.
HTH, cheers.
l8er
manfred
>
> -- John
> -------------------------------------------------------------------------
> | Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
> | John Wehle | Fax: 1-215-540-5495 | |
> -------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Recent regression & configuring ppc simulator
2000-09-11 0:51 Recent regression & configuring ppc simulator John Wehle
2000-09-11 3:28 ` Manfred Hollstein
@ 2000-09-11 7:59 ` Geoff Keating
1 sibling, 0 replies; 5+ messages in thread
From: Geoff Keating @ 2000-09-11 7:59 UTC (permalink / raw)
To: John Wehle; +Cc: gcc
John Wehle <john@feith.com> writes:
> I'm looking into the gcc.c-torture/execute/950511-1.c regression
> and need a little help configuring the ppc simulator. I've
> configured and built binutils 2.10, gcc, and gdb 5.0 using
>
> --target=powerpc-eabisim
>
> on a x86 FreeBSD 3.5 host. When I try to compile a simple program
> I get:
>
> /usr/local/powerpc-eabisim/bin/ld: unrecognised emulation mode: elf32ppcsim
> Supported emulations: elf32ppc
> collect2: ld returned 1 exit status
>
> Suggestions?
You need to use CVS binutils with CVS gcc for powerpc embedded
targets.
[See also my message to gcc-patches about this regression, though,
which may save you debugging time. Perhaps you can come up with a
better patch than the one I've applied.]
--
- Geoffrey Keating <geoffk@cygnus.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Recent regression & configuring ppc simulator
2000-09-11 13:17 John Wehle
@ 2000-09-11 13:32 ` Geoff Keating
0 siblings, 0 replies; 5+ messages in thread
From: Geoff Keating @ 2000-09-11 13:32 UTC (permalink / raw)
To: john; +Cc: gcc
> Date: Mon, 11 Sep 2000 16:16:55 -0400 (EDT)
> From: John Wehle <john@feith.com>
> CC: gcc@gcc.gnu.org
>
> > You need to use CVS binutils with CVS gcc for powerpc embedded
> > targets.
>
> Thanks. BTW, who supplies abort ... do I need newlib?
Sure do.
--
- Geoffrey Keating <geoffk@cygnus.com>
^ permalink raw reply [flat|nested] 5+ messages in thread
* Re: Recent regression & configuring ppc simulator
@ 2000-09-11 13:17 John Wehle
2000-09-11 13:32 ` Geoff Keating
0 siblings, 1 reply; 5+ messages in thread
From: John Wehle @ 2000-09-11 13:17 UTC (permalink / raw)
To: geoffk; +Cc: gcc
> You need to use CVS binutils with CVS gcc for powerpc embedded
> targets.
Thanks. BTW, who supplies abort ... do I need newlib?
> [See also my message to gcc-patches about this regression, though,
> which may save you debugging time. Perhaps you can come up with a
> better patch than the one I've applied.]
I've followed up in a separate email to CC gcc-patches.
-- John
-------------------------------------------------------------------------
| Feith Systems | Voice: 1-215-646-8000 | Email: john@feith.com |
| John Wehle | Fax: 1-215-540-5495 | |
-------------------------------------------------------------------------
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~2000-09-11 13:32 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2000-09-11 0:51 Recent regression & configuring ppc simulator John Wehle
2000-09-11 3:28 ` Manfred Hollstein
2000-09-11 7:59 ` Geoff Keating
2000-09-11 13:17 John Wehle
2000-09-11 13:32 ` Geoff Keating
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).