Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 14 Jun 2010 02:11:33 +0200
From:      Alexander Best <alexbestms@uni-muenster.de>
To:        Doug Barton <dougb@freebsd.org>
Cc:        Ed Schouten <ed@80386.nl>, freebsd-current@freebsd.org
Subject:   Re: two buildworld problems
Message-ID:  <AANLkTimbj9GkWFDXC_I135bGdJHsn1XGsN7CQe22f3Sh@mail.gmail.com>
In-Reply-To: <4C1569B9.9060804@FreeBSD.org>
References:  <AANLkTinchxOQRJ8qsfS1VDcnALSi1L06dl8W4GMSj20b@mail.gmail.com> <20100613214600.GH1797@hoeg.nl> <AANLkTinJUs_xoahBmllzr3SdNiz7aGxWAxHLhzIz-9dL@mail.gmail.com> <4C156384.40105@FreeBSD.org> <AANLkTinrNId0q3So3N04uxnIexL2xMH6Nna-YanIOBRS@mail.gmail.com> <4C1569B9.9060804@FreeBSD.org>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, Jun 14, 2010 at 1:28 AM, Doug Barton <dougb@freebsd.org> wrote:
> On 06/13/10 16:21, Alexander Best wrote:
>>
>> `mount -p&& =A0stat -x /usr/src /usr/obj`:
>
> wow, completely unhelpful. So let me try again. If the /usr/src and /usr/=
obj
> are not literal directories in /usr then the tests you posted won't work.
> Given what you've posted so far I strongly suspect that there is somethin=
g
> in your environment that is more complicated than it needs to be, which i=
s
> why you're running into the problems that you are.

oh sorry for that. if i comment out all the gcc44 stuff in my
make.conf and don't set CC/CXX/CPP in src.conf everything works fine.

any suggestions what i should put into my make.conf so that gcc44 only
gets picked when the current directory is not /usr/src/* or
/usr/obj/*? as you pointed out empty(.CURDIR:M/usr/src/*) and
empty(.CURDIR:M/usr/obj/*) aren't doing what i want.

actually i just modified this

.if !empty(.CURDIR:M/usr/ports/*) && exists(/usr/local/bin/gcc44)
CC=3Dgcc44
CXX=3Dg++44
CPP=3Dcpp44
.endif

which was suggested over @
http://www.freebsd.org/doc/en_US.ISO8859-1/articles/custom-gcc/configuring-=
ports-gcc.html

cheers.

>
> So to debug it I would suggest that you move make.conf out of the way, th=
en
> try again without one. If that works, then you can gradually add things b=
ack
> until you find the culprit.
>
>
> hth,
>
> Doug
>
> --
>
> =A0 =A0 =A0 =A0... and that's just a little bit of history repeating.
> =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0-- Propellerheads
>
> =A0 =A0 =A0 =A0Improve the effectiveness of your Internet presence with
> =A0 =A0 =A0 =A0a domain name makeover! =A0 =A0http://SupersetSolutions.co=
m/
>
>



--=20
Alexander Best



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