sparc-rtems-gcc "-pg" option

CLAUDIO SICILIA claudiosicilia at tiscali.it
Wed Feb 12 16:34:39 UTC 2003


Hy everybody!

I'd like to use the sparc-rtems-gcc with option "-pg" in order to profile
a
my C program.
There is a problem with the automatically instanced mcount() function, as
follows:

`undefined reference to "_mcount"`

with this command:

`sparc-rtems-gcc -S -pg -O my_prog.c -o my_prog.s`


Any suggestion about it?

Thanks in advance.

Claudio S.
______________________________
 Ing. Claudio SICILIA, PhD Student
 University of Pisa
 Dept. Information Engineering
 Via Diotisalvi 2 - I56122 PISA - Italy
 mobile  : +39 328 185 62 33
 mailto   : claudio.sicila at iet.unipi.it
______________________________



CLAUDIO SICILIA
hom: +39 050 220 10 98
mob: +39 328 185 62 33

__________________________________________________________________
Tiscali ADSL parte da 6,1 euro al mese e in più
l'attivazione e il primo mese sono GRATIS!
Vai all'offerta, oppure scopri di che ADSL sei con il test on line.
http://point.tiscali.it/adsl






More information about the users mailing list