Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 8 Oct 2001 10:40:18 +0200 (CEST)
From:      Cyrille Lefevre <clefevre@citeweb.net>
To:        "E.B. Dreger" <eddy+public+spam@noc.everquick.net>
Cc:        Neil Blakey-Milner <nbm@mithrandr.moria.org>, Kris Kennaway <kris@obsecurity.org>, stable@FreeBSD.ORG
Subject:   Re: bug or feature: "make world" static linking
Message-ID:  <200110080840.f988eIo53092@gits.dyndns.org>
In-Reply-To: <Pine.LNX.4.20.0110072037510.17424-100000@www.everquick.net>

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




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