Re: compiling a port unstripped for debugging
Michael Grant wrote: Can someone please tell me if there is an easy way to compile and install a port without stripping it (i.e. compiling it with -g and not running strip when it's installed)? Michael Grant I have the following conditionally defined in my /etc/make.conf CFLAGS= -g -O -pipe STRIP= And that seems to work. Defining those on the command line would probably work as well. HTH, Micah ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]
Re: compiling a port unstripped for debugging
Michael Grant schrieb: Can someone please tell me if there is an easy way to compile and install a port without stripping it (i.e. compiling it with -g and not running strip when it's installed)? Michael Grant You can set STRIP and STRIP_CMD to empty for not stripping the binaries and add -g to CFLAGS. E.g. make STRIP= STRIP_CMD= CFLAGS+=-g install This should work for you. You can also place these to /etc/make.conf if you want to use this every time. Cheers, Gabor ___ freebsd-questions@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/freebsd-questions To unsubscribe, send any mail to [EMAIL PROTECTED]