From owner-freebsd-hackers Wed Sep 20 08:35:18 1995 Return-Path: owner-hackers Received: (from root@localhost) by freefall.freebsd.org (8.6.12/8.6.6) id IAA05828 for hackers-outgoing; Wed, 20 Sep 1995 08:35:18 -0700 Received: from skynet.ctr.columbia.edu (skynet.ctr.columbia.edu [128.59.64.70]) by freefall.freebsd.org (8.6.12/8.6.6) with ESMTP id IAA05760 for ; Wed, 20 Sep 1995 08:34:11 -0700 Received: (from wpaul@localhost) by skynet.ctr.columbia.edu (8.6.11/8.6.9) id LAA04802 for hackers@freebsd.org; Wed, 20 Sep 1995 11:33:01 -0400 From: A boy and his worm gear Message-Id: <199509201533.LAA04802@skynet.ctr.columbia.edu> Subject: This doesn't seem right... To: hackers@freebsd.org Date: Wed, 20 Sep 1995 11:32:57 -0400 (EDT) X-Mailer: ELM [version 2.4 PL24] Content-Type: text Content-Length: 1315 Sender: owner-hackers@freebsd.org Precedence: bulk Today I tried doing a make world on FreeBSD-current and after some time, it fell over while building libg++ complaining that it didn't know how to build /usr/destdir/usr/lib/c++rt0.o. (I have DESTDIR set to /usr/destdir; I don't want to clobber my existing system right away). Sure enough, /usr/src/gnu/lib/libg++/Makefile says: CPLUSPLUSLIB= 1 # include c++rt0.o for constructors And /usr/share/mk/bsd.lib.mk says: .if defined(CPLUSPLUSLIB) && !make(clean) && !make(cleandir) SOBJS+= ${DESTDIR}/usr/lib/c++rt0.o .endif Fair enough. But /usr/src/Makefile, the 'libraries' target tries to build the GNU libraries _before_ it tries to make ${.CURDIR}/lib/csu/i386, which is where crt0.o and c++rt0.o live. Has anyone else noticed this, or am I just doing something wrong? -Bill -- ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~T~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ -Bill Paul (212) 854-6020 | System Manager Work: wpaul@ctr.columbia.edu | Center for Telecommunications Research Home: wpaul@skynet.ctr.columbia.edu | Columbia University, New York City ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ The Møøse Illuminati: ignore it and be confused, or join it and be confusing! ~~~~~~ "Welcome to All Things BSDish! If it's not BSDish, it's crap!" ~~~~~~~