From owner-freebsd-stable Mon Oct 8 1:40:25 2001 Delivered-To: freebsd-stable@freebsd.org Received: from smtp.noos.fr (claudel.noos.net [212.198.2.83]) by hub.freebsd.org (Postfix) with ESMTP id 3FA8E37B408 for ; Mon, 8 Oct 2001 01:40:21 -0700 (PDT) Received: (qmail 1163537 invoked by uid 0); 8 Oct 2001 08:40:19 -0000 Received: from unknown (HELO gits.dyndns.org) ([212.198.231.187]) (envelope-sender ) by 212.198.2.83 (qmail-ldap-1.03) with DES-CBC3-SHA encrypted SMTP for ; 8 Oct 2001 08:40:19 -0000 Received: (from root@localhost) by gits.dyndns.org (8.11.6/8.11.6) id f988eIo53092; Mon, 8 Oct 2001 10:40:18 +0200 (CEST) (envelope-from root) Message-Id: <200110080840.f988eIo53092@gits.dyndns.org> Subject: Re: bug or feature: "make world" static linking In-Reply-To: To: "E.B. Dreger" Date: Mon, 8 Oct 2001 10:40:18 +0200 (CEST) Cc: Neil Blakey-Milner , Kris Kennaway , stable@FreeBSD.ORG Reply-To: clefevre@citeweb.net From: Cyrille Lefevre Organization: ACME X-Face: X-Mailer: ELM [version 2.4ME+ PL94c (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG [snip] also, what is the output of the following commands : cat /etc/objformat objformat cd /usr/src make -V GCC_OPTIONS type cc # if you are running a bourne like shell type ld which cc # if you are running a C like shell which ld cc -v ld -v cd /usr/src/usr.bin/yes make clean all CFLAGS=-v mine output is : OBJFORMAT=elf elf cc is a tracked alias for /usr/bin/cc ld is /usr/bin/ld Using builtin specs. gcc version 2.95.3 20010315 (release) [FreeBSD] GNU ld version 2.11.2 20010719 [FreeBSD] (with BFD 2.11.2 20010719 [FreeBSD]) Supported emulations: elf_i386 cc -v -c /usr/src/usr.bin/yes/yes.c Using builtin specs. gcc version 2.95.3 20010315 (release) [FreeBSD] /usr/libexec/cpp0 -lang-c -v -D__GNUC__=2 -D__GNUC_MINOR__=95 -Di386 -D__FreeBSD__=4 -D__FreeBSD_cc_version=440000 -Dunix -D__i386__ -D__FreeBSD__=4 -D__FreeBSD_cc_version=440000 -D__unix__ -D__i386 -D__unix -Acpu(i386) -Amachine(i386) -Asystem(unix) -Asystem(FreeBSD) -Acpu(i386) -Amachine(i386) -Di386 -D__i386 -D__i386__ -D__ELF__ /usr/src/usr.bin/yes/yes.c /tmp/ccvrOQ7F.i GNU CPP version 2.95.3 20010315 (release) [FreeBSD] (i386 FreeBSD/ELF) #include "..." search starts here: #include <...> search starts here: /usr/include /usr/include End of search list. The following default directories have been omitted from the search path: /usr/include/g++ End of omitted list. /usr/libexec/cc1 /tmp/ccvrOQ7F.i -quiet -dumpbase yes.c -version -o /tmp/cc9Hztv1.s GNU C version 2.95.3 20010315 (release) [FreeBSD] (i386-unknown-freebsd) compiled by GNU C version 2.95.3 20010315 (release) [FreeBSD]. /usr/libexec/elf/as -v -o yes.o /tmp/cc9Hztv1.s GNU assembler version 2.11.2 20010719 [FreeBSD] (i386-unknown-freebsd4) using BFD version 2.11.2 20010719 [FreeBSD] cc -v -o yes yes.o Using builtin specs. gcc version 2.95.3 20010315 (release) [FreeBSD] /usr/libexec/elf/ld -m elf_i386 -dynamic-linker /usr/libexec/ld-elf.so.1 -o yes /usr/lib/crt1.o /usr/lib/crti.o /usr/lib/crtbegin.o -L/usr/libexec/elf -L/usr/libexec -L/usr/lib yes.o -lgcc -lc -lgcc /usr/lib/crtend.o /usr/lib/crtn.o gzip -cn /usr/src/usr.bin/yes/yes.1 > yes.1.gz Cyrille. -- Cyrille Lefevre mailto:clefevre@citeweb.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message