Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 3 Feb 1997 14:04:38 -0800 (PST)
From:      Stranger Bone <ben@narcissus.ml.org>
To:        Nate Williams <nate@mt.sri.com>
Cc:        Jaye Mathisen <mrcpu@cdsnet.net>, hackers@freebsd.org
Subject:   Re: How to build the whole tree -static?
Message-ID:  <Pine.BSF.3.91.970203140408.11389A-100000@narcissus.ml.org>
In-Reply-To: <199702032142.OAA23359@rocky.mt.sri.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 3 Feb 1997, Nate Williams wrote:

> > I have space to burn on 1 box.  Is there an easy way to tweak the build
> > process to make it compile the whole darn thing non-shared?
> 
> # setenv NOSHARED
> # cd /usr/src
> # make world
> 

Perhaps this only works within the tree, not within ports?

narcissus:{/usr/ports/misc/fd}% setenv NOSHARED
narcissus:{/usr/ports/misc/fd}% make
<snip>
cc -O -DFD -DFREEBSD -DDEFRUNCOM=\"/usr/local/etc/fdrc\" -O -c term.c
cc -O -DFD -DFREEBSD -DDEFRUNCOM=\"/usr/local/etc/fdrc\" -O -c pathname.c
cc -O -DFD -DFREEBSD -DDEFRUNCOM=\"/usr/local/etc/fdrc\" -O -c libc.c
<I see no -static flag here -- am I missing something?>
<snip>
narcissus:{/usr/ports/misc/fd}% cd work/FD-1.01/
narcissus:{/usr/ports/misc/fd/work/FD-1.01}% file fd
fd: FreeBSD/i386 demand paged dynamically linked executable not stripped
			      ^^^^^^^^^^^^^^^^^^


> 
> Nate
> 



 Ben

The views expressed above are not those of the Worker's Compensation 
Board of Queensland, Australia.





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