Problem with Psim

n_zainolabedini@ce.sharif.edu n_zainolabedini@ce.sharif.edu
Sun May 21 07:28:00 GMT 2006


Hello

I've recently installed powerpc cross compiler . it works fine . I
compiled and built a simple program with this instructions :

$powerpc-unknown-eabi-gcc hello.c -o hello.o -msim
$powerpc-unknown-eabi-objdump -h hello.o

then i used following instructions :

$psim hello.o
$hello world

$powerpc-unknown-eabi-run hello.o
$hello world

you see it works. Now my problem is that -I and -i options dont work for
the programs i built :

$psim -i hello.o
$hello world

as you see , it doesnt print statistics . these options(-I and -i) work
for the binary files in psim-test-1998-11-20.tar .

Is something wrong in the way I compile and build programs ?

any idea would be realy approciated.

regards
nasim abedini





--
For unsubscribe information see http://sourceware.org/lists.html#faq



More information about the crossgcc mailing list