Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 8 Dec 2002 21:22:33 -0500
From:      Garance A Drosihn <drosih@rpi.edu>
To:        Lamont Granquist <lamont@scriptkiddie.org>, Kris Kennaway <kris@obsecurity.org>
Cc:        freebsd-hackers@FreeBSD.ORG
Subject:   Re: help compiling propolice gcc
Message-ID:  <p05200f3bba19ae6ab828@[128.113.24.47]>
In-Reply-To: <20021208180552.D12741-100000@coredump.scriptkiddie.org>
References:  <20021208180552.D12741-100000@coredump.scriptkiddie.org>

next in thread | previous in thread | raw e-mail | index | archive | help
At 6:09 PM -0800 12/8/02, Lamont Granquist wrote:
>On Sun, 8 Dec 2002, Kris Kennaway wrote:
>>  On Sun, Dec 08, 2002 at 05:22:24PM -0800, Lamont Granquist wrote:
>>
>  > > And if I try to go into /usr/src/gnu/usr.bin/cc/cc_int and do
>  > > a make I get only this:
>  > >
>>  > Warning: Object directory not changed from original
>>  > /usr/src/gnu/usr.bin/cc/cc_int
>>
>  > This indicates you probably have stale cruft in your source tree.
>  > Do the following:
>  >
>>  cd /usr/src
>>  make cleandir && make cleandir
>>
>>  and try again.
>
>nope, it was *clean*, i did an rm -rf /usr/src /usr/obj and then a
>fresh checkout into /usr/src.
>
>i made it work using something like:
>
>   cd /usr/src/gnu/usr.bin/cc
>   make depend
>   cd /usr/src/gnu/usr.bin/cc/cc_int
>   make libcc_int.a
>   cd /usr/src/gnu/usr.bin/cc/cc_fbsd
>   make libcc_fbsd.a
>   cd /usr/src/gnu/usr.bin/cc
>   make all install

If you're going to jump into the middle of /usr/src to make something,
then you should probably do:
    cd /usr/src/gnu/usr.bin/cc
    make obj
    make depend
    ...etc....

-- 
Garance Alistair Drosehn            =   gad@gilead.netel.rpi.edu
Senior Systems Programmer           or  gad@freebsd.org
Rensselaer Polytechnic Institute    or  drosih@rpi.edu

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-hackers" in the body of the message




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