DragonFly users List (threaded) for 2008-03
DragonFly BSD
DragonFly users List (threaded) for 2008-03
[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]

profiling problem


From: Johannes Hofmann <Johannes.Hofmann@xxxxxx>
Date: 16 Mar 2008 19:31:45 GMT

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



[Date Prev][Date Next]  [Thread Prev][Thread Next]  [Date Index][Thread Index]