On 7.2-RELEASE-p4, I have a very complicated C program:

        int main(int argc, char** argv)
        {
                return 5;
        }

I can compile this program (cc example.c -o example) and it compiles
and runs fine. However, if I try to enable profiling of this program by
compiling it as "cc example.c -pg -o example" I get an error:

        /usr/bin/ld: cannot find -lgcc_p

Is there some port/package that I'm missing? A configuration somewhere? Why
is ld stumbling on the profiling flag?

Thanks.


_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "[email protected]"

Reply via email to