gprof and ppc

bridged with qnx.development_tools
Post Reply
Michael Tasche

gprof and ppc

Post by Michael Tasche » Fri May 20, 2005 2:51 pm

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

David Gibbs

Re: gprof and ppc

Post by David Gibbs » Fri May 20, 2005 3:56 pm

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

Michael Tasche

Re: gprof and ppc

Post by Michael Tasche » Fri May 20, 2005 5:14 pm

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

Post Reply

Return to “qnx.development_tools”