gprof and ppc

Hi,

i just wanted to use gprof on QNX 6.2.1.
X86 works.

Here is the result for ppc:

ntoppc-gcc -p -g m1.c
/usr/bin/ntoppc-ld: cannot open /ppcbe/lib/crt1.omcrt1.o: No such file
or directory
collect2: ld returned 1 exit status

Any ideas?

-Michael

Michael Tasche <michael.tasche@esd-electronics.com> wrote:

Hi,

i just wanted to use gprof on QNX 6.2.1.
X86 works.

Here is the result for ppc:

ntoppc-gcc -p -g m1.c
/usr/bin/ntoppc-ld: cannot open /ppcbe/lib/crt1.omcrt1.o: No such file
or directory
collect2: ld returned 1 exit status

Have you tried:

qcc -Vgcc_ntoppcbe -p -g m1.c -o m1

?

-David

David Gibbs
QNX Training Services
dagibbs@qnx.com

Hi David,

thank you, that was it.

-Michael

David Gibbs schrieb:

Michael Tasche <> michael.tasche@esd-electronics.com> > wrote:

Hi,


i just wanted to use gprof on QNX 6.2.1.
X86 works.


Here is the result for ppc:


ntoppc-gcc -p -g m1.c
/usr/bin/ntoppc-ld: cannot open /ppcbe/lib/crt1.omcrt1.o: No such file
or directory
collect2: ld returned 1 exit status


Have you tried:

qcc -Vgcc_ntoppcbe -p -g m1.c -o m1

?

-David