Using PSIM

Barry Wealand barry.wealand@lmco.com
Thu Dec 1 01:11:00 GMT 2005


Thank you very kindly, Daniel.  That was the ticket.  All seems to be 
working now.

Barry Wealand


Daniel Jacobowitz wrote:

>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.
>
>  
>



More information about the Gdb mailing list