Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 09 Oct 1996 18:53:08 -0700
From:      John Polstra <jdp@polstra.com>
To:        Peter Childs <pjchilds@imforei.apana.org.au>
Cc:        henrich@crh.cl.msu.edu (Charles Henrich), freebsd-hackers@freebsd.org, asami@freebsd.org
Subject:   Re: CVSup 
Message-ID:  <199610100153.SAA00473@austin.polstra.com>
In-Reply-To: Your message of "Thu, 10 Oct 1996 07:17:24 %2B0930." <199610092147.HAA22166@al.imforei.apana.org.au> 

next in thread | previous in thread | raw e-mail | index | archive | help
> > The FreeBSD package (ftp.cdrom.com:/pub/FreeBSD/packages-current) requires the
> > Modula Package be installed first.  This seems rediculus, as it should be
> > statically linked.
> ...
>  But it would be nice if "make package" statically linked in the modula
>  library..  Quickly looking at the make package target the only way it
>  seems to do this is if the port statically links with the modula bits.

I understand the point you two are making, but I don't support the idea
of making the package statically linked.  It would save having to
download and install the big modula-3 package, but it would also
increase the size of the cvsup package from 0.25 MB to 1.5 MB.  That's a
win the first time, but once you've got modula-3 installed, it's a lose
after that for new versions of cvsup.

As a general rule, we use dynamic linking and shared libraries on
FreeBSD, unless there's a compelling reason not to.  Ports that depend
on tcl and tk also use shared libraries.  (I know, tcl is now a standard
part of the system.  But that only became true relatively recently.)

I realize that there is a big difference in scale here, i.e., the
modula-3 installation is large.  That's why I also make statically
linked CVSup binaries available.

If the problem is the disk space you need to keep modula-3 on line
(as opposed to building it in the first place), then here is one
idea.  You could install modula-3, and then delete everything but
its shared libraries.  Be careful, though.  The shared libraries
in /usr/local/lib/m3/FreeBSD2 are symbolic links to the actual
files.

John
--
   John Polstra                                       jdp@polstra.com
   John D. Polstra & Co., Inc.                Seattle, Washington USA
   "Self-knowledge is always bad news."                 -- John Barth



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