Date: Sun, 11 May 2008 09:30:39 +0000 From: xorquewasp@googlemail.com To: freebsd-questions@freebsd.org Subject: gcc42 and profiling Message-ID: <20080511093039.GA33095@logik.internal.network>
next in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20080511093039.GA33095>