login
Header Space

 
 

profiling problem

Score:
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]
To: <users@...>
Date: Sunday, March 16, 2008 - 3:31 pm

when I try to compile a statically linked binary for profiling
I get the following error:

blob:/tmp >echo "int main(int argc, char **argv) { for (;;); }" > test.c
blob:/tmp >gcc -static -pg -o test test.c
blob:/tmp >./test
ELF binary type "0" not known.
Abort trap

without -static or -pg it works ok.

  Johannes
Previous message: [thread] [date] [author]
Next message: [thread] [date] [author]

Messages in current thread:
profiling problem, Johannes Hofmann, (Sun Mar 16, 3:31 pm)
Re: profiling problem, Simon 'corecode' Schubert..., (Sun Mar 16, 7:40 pm)
speck-geostationary