Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 May 1996 00:48:14 -0700 (PDT)
From:      "Chris J. Layne" <coredump@nervosa.com>
To:        freebsd-hackers@freebsd.org
Subject:   just a small observation
Message-ID:  <Pine.BSF.3.91.960523004642.1378A-100000@onyx.nervosa.com>

next in thread | raw e-mail | index | archive | help
[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 ==




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.3.91.960523004642.1378A-100000>