Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 17 Aug 2010 17:10:07 +0200
From:      Dimitry Andric <dimitry@andric.com>
To:        Daniel Nebdal <dnebdal@gmail.com>
Cc:        current@freebsd.org
Subject:   Re: Building world with clang
Message-ID:  <4C6AA64F.3050100@andric.com>
In-Reply-To: <AANLkTi=%2BMntj2KPSUXZj=1qCPCOMq9YORB2JhR6k9ztK@mail.gmail.com>
References:  <4C6A7357.8000606@andric.com>	<19F5467B-6432-4531-BF04-62D8EB4F3093@gid.co.uk>	<AANLkTi=wAhVDKX7vVd0Cds9zTSDQJ6vR%2BoyAbC-H_SK=@mail.gmail.com>	<4C6A92E0.4050104@andric.com> <AANLkTi=%2BMntj2KPSUXZj=1qCPCOMq9YORB2JhR6k9ztK@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2010-08-17 16:28, Daniel Nebdal wrote:
> Mmh, I just read through the in-detail description you gave in another
> mail. It's a bit surprising that there isn't a simple and reliable way
> to disable/replace all hardcoded paths, but I guess it doesn't come up
> that often.

Well, except when you want to bootstrap something. :)  I guess this
whole issue is just not as applicable to Linux, where gcc's main
development takes place.


> As a third possibility, hacking a real -drop-all-builtin-paths flag
> into the local copies of both compilers could work

The idea of method 1) is that you do not modify the compiler at all,
making it potentially easier to hook in any new compilers, provided they
are option-compatible with gcc.



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