Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 20 Sep 1995 11:32:57 -0400 (EDT)
From:      A boy and his worm gear <wpaul@skynet.ctr.columbia.edu>
To:        hackers@freebsd.org
Subject:   This doesn't seem right...
Message-ID:  <199509201533.LAA04802@skynet.ctr.columbia.edu>

next in thread | raw e-mail | index | archive | help
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!" ~~~~~~~



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