From owner-freebsd-hackers Thu May 23 00:48:28 1996 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.7.3/8.7.3) id AAA04697 for hackers-outgoing; Thu, 23 May 1996 00:48:28 -0700 (PDT) Received: from onyx.nervosa.com (root@nervosa.com [192.187.228.86]) by freefall.freebsd.org (8.7.3/8.7.3) with ESMTP id AAA04691 for ; Thu, 23 May 1996 00:48:25 -0700 (PDT) Received: from onyx.nervosa.com (coredump@onyx.nervosa.com [10.0.0.1]) by onyx.nervosa.com (8.7.5/8.7.3) with SMTP id AAA01383 for ; Thu, 23 May 1996 00:48:14 -0700 (PDT) Date: Thu, 23 May 1996 00:48:14 -0700 (PDT) From: "Chris J. Layne" To: freebsd-hackers@freebsd.org Subject: just a small observation Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk [coredump@onyx] ~> gcc -v -O3 -m486 -funroll-loops -pipe -o foo foo.c gcc version 2.6.3 /usr/libexec/cpp -lang-c -v -undef -D__GNUC__=2 -D__GNUC_MINOR__=6 -Dunix -Di386 -D__FreeBSD__=2 -D__unix__ -D__i386__ -D__FreeBSD__=2 -D__unix -D__i386 -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386) -D__OPTIMIZE__ foo.c | /usr/libexec/cc1 -quiet -dumpbase foo.c -m486 -O3 -version -funroll-loops -o - | /usr/bin/as - -o /var/tmp/cc0013731.o GNU CPP version 2.6.3GNU C version 2.6.3 (80386, BSD syntax) (80386, BSD syntax) compiled by GNU C version 2.6.3. #include "..." search starts here: #include <...> search starts here: /usr/include End of search list. /usr/bin/ld -e start -dc -dp -o foo /usr/lib/crt0.o /var/tmp/cc0013731.o /usr/lib/libgcc.a -lc /usr/lib/libgcc.a - cut ------------------------------ question, why does gcc cause ld to link in the libgcc library more than once? And is there any reason it isn't using the shared gcc library? == Chris Layne ======================================== Nervosa Computing == == coredump@nervosa.com ================ http://www.nervosa.com/~coredump ==