This is the mail archive of the gcc-help@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

gcc -c foo.S -o foo.o -g -fprofile-arcs -ftest-coverage notworking?


Hi all, 

I am trying to get some coverage information on a software, part of
which is written in (GNU) assembler. 

I've experienced that: 
$ gcc -c foo.c -o foo.o -g -fprofile-arcs -ftest-coverage 
produces the files foo.o and foo.gcno, 
but 
$ gcc -c foo.S -o foo.o -g -fprofile-arcs -ftest-coverage 
only produces foo.o 

I'm using gcc 3.4.1 with no particular configure flags. 

Is it a normal behavior or is there a bug in gcc? I could not find any
information in the gcc manual. 

Thanks, 
Sebastien.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]