Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 14 May 1997 13:46:22 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        hackers@FreeBSD.ORG, jimf@lodgenet.com
Subject:   Re: bsd.lib.mk
Message-ID:  <199705140346.NAA26729@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>.c.o:
>	${CC} ${CFLAGS} -c ${.IMPSRC} -o ${.TARGET}
>	@${LD} -O ${.TARGET} -x -r ${.TARGET}
>...
>Is there a benefit to the ld -x option?

ld -x is to strip local symbols.  This saves space and time, perhaps a
whole 200K for all libraries and 10 seconds for `make world' :-).

Bruce



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199705140346.NAA26729>