gcc42 and profiling
xorquewasp at googlemail.com
xorquewasp at googlemail.com
Sun May 11 09:56:02 UTC 2008
Whist trying to compile a program using the gcc42 (actually
gnat-gcc42) port, using the -pg flag for profiling, I got the following
upon linking:
cc -pg -c -o prog.o prog.c
cc -pg -o prog prog.o
/usr/bin/ld: cannot find -lgcc_p
I'm assuming this means that profiling libraries for the compiler are
missing. What do I need to do to get working libraries from the port?
There doesn't appear to be anything to set in the Makefile or any
port options whatsoever.
Please CC: me as I'm not subscribed.
More information about the freebsd-questions
mailing list