Subject: Make build for shared libs
To: None <port-alpha@NetBSD.ORG>
From: John Birrell <jb@cimlogic.com.au>
List: port-alpha
Date: 03/04/1997 08:15:49
G'day,

bsd.lib.mk contains alpha specific commands for building shared
libraries which reference objects previously installed in /usr/lib.

The 'make build' commands in /usr/src/Makefile expect to be able
to update /usr/src/lib in one pass. This means that shared libraries
will always be linked against the crtbeginS.o and crtendS.o objects
built previously -- never the latest ones.

Looking at the *.mk files, this is the _only_ occurrence of a hard
coded path to an object that is used to build something else. All
other paths are where things are put and they are all relative
to DESTDIR. I think it would be a shame to allow this sort of
design propagate.

I'd like to see this design change so that builds of /usr/src/lib use the
objects built in ${DESTDIR}/lib/csu/alpha and other builds use the
objects installed by the build of /usr/src/lib.

Thoughts? (flames?)

Regards,

-- 
John Birrell - jb@cimlogic.com.au; jb@netbsd.org
CIMlogic Pty Ltd, 119 Cecil Street, South Melbourne Vic 3205, Australia
Tel +61 3 9690 6900 Fax +61 3 9690 6650 Mob +61 418 353 137