This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Using PSIM


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


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