This is the mail archive of the
gdb@sourceware.org
mailing list for the GDB project.
Re: Using PSIM
- From: Daniel Jacobowitz <drow at false dot org>
- To: Barry Wealand <barry dot wealand at lmco dot com>
- Cc: gdb at sources dot redhat dot com, "Krimsley, David A" <david dot a dot krimsley at lmco dot com>, "Ke, Jinshan" <jinshan dot ke at lmco dot com>, "Furgal, Jason" <jason dot furgal at lmco dot com>
- Date: Wed, 30 Nov 2005 18:33:03 -0500
- Subject: Re: Using PSIM
- References: <438DC220.9090404@lmco.com>
On Wed, Nov 30, 2005 at 03:15:44PM +0000, Barry Wealand wrote:
> % setenv PPCLIB ~/GCC/tools/H-sparc-sun-solaris2.8/powerpc-eabi/lib
> % powerpc-eabi-gcc -c hello.c
> % powerpc-eabi-gcc -o hello hello.o ${PPCLIB}/sim-crt0.o -lc -lsim
Have you tried -msim?
You may want to look at the instructions for testing GCC using a
powerpc-eabi simulator, try that, and look at the command lines that
DejaGNU uses to build programs; I've found that often helps.
--
Daniel Jacobowitz
CodeSourcery, LLC