Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Oct 2007 05:21:25 +0400
From:      Yuri Pankov <yuri.pankov@gmail.com>
To:        coriolinus <coriolinus@gmail.com>
Cc:        User Questions <freebsd-questions@freebsd.org>
Subject:   Re: kernel configuration failure
Message-ID:  <470D7A95.8030507@gmail.com>
In-Reply-To: <56511d740710101805j2d60831asd497d51dfe56376b@mail.gmail.com>
References:  <56511d740710101557u2bb9babet74eb60396e0aa4e5@mail.gmail.com>	<470D709D.30206@gahr.ch> <56511d740710101805j2d60831asd497d51dfe56376b@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
coriolinus wrote:
>> Actually, that's not the problem.
>> The file which is not found is the compiler itself:
>>
>> gcc34:No such file or directory
>>
>> Maybe you've installed gcc 4.3 from ports, linked /usr/bin/cc to
>> /usr/local/bin/gcc43 and then upgrade gcc?
> 
> That doesn't seem right:
> [coriolinus@labour /usr/src]$ which gcc34
> /usr/local/bin/gcc34
> [coriolinus@labour /usr/src]$ su
> Password:
> [root@labour /usr/src]# which gcc34
> /usr/local/bin/gcc34
> 
> It's true that I installed gcc 3.4 from ports and put a line in
> /etc/make.conf: CC=gcc34 . However, it's on the path for both my user
> and for root; it seems weird that the makefile would lose track of it.

Makefile doesn't lose it, it just redefines PATH; try using full path to 
gcc binary in /etc/make.conf:

CC=/usr/local/bin/gcc34


Yuri




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