Date: Wed, 27 Mar 2013 16:55:17 -0400 From: Lowell Gilbert <freebsd-questions-local@be-well.ilk.org> To: Antonio Olivares <olivares14031@gmail.com> Cc: FreeBSD Questions <freebsd-questions@freebsd.org> Subject: Re: any 9.1-RELEASE-p1 to 10.0-CURRENT howtos? Message-ID: <44mwto5zre.fsf@lowell-desk.lan> In-Reply-To: <CAJ5UdcOij7kSS_mAXtNLhiPs05-5x-XcLEB9QzTvqpd81ppGXA@mail.gmail.com> (Antonio Olivares's message of "Wed, 27 Mar 2013 11:24:15 -0500") References: <CAJ5UdcOij7kSS_mAXtNLhiPs05-5x-XcLEB9QzTvqpd81ppGXA@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
Antonio Olivares <olivares14031@gmail.com> writes: > On one of my machines I cannot get it to update ports, most fail with > gettext. I tried some options like disabling Native Language Support > in binutils, but it still fails. I deleted all the ports and am > looking at starting from scratch again, but this time move to CLANG > and build world and install world and not USE gcc and GNU anymore (on > the machine which gettext fails). Is there a nice howto as to how to > do this? > How can it be done in easy steps and then try to track current? Current isn't necessary, although it often has slightly newer versions of the related tools. Clang will work fine on recent 9.x (I don't know when it was imported, so it may need something more recent than 9.1). Furthermore, it will support building the world and ports, as detailed in: https://wiki.freebsd.org/BuildingFreeBSDWithClang > I am aware that I would be on my own if I track current, but I want to > test many programs to see if they would build without GCC and with > CLANG only and report back to the developers and let them know of > issues. You are not entirely on your own with current, but you are expected to more of the heavy lifting when a problem comes up that doesn't happen for other people. You actually have a number of choices that should work for you. You can run current, which probably won't be very difficult (but nobody's going to guarantee that). You can run RELENG_9 using clang as the default compiler. Or you could use a jail to build with clang when the host system builds with gcc. And I've most likely overlooked other possibilities. If you are really starting from scratch on a particular machine, then a clean install is worth considering; it guarantees that you're not bringing along the effects of mistakes made previously on the system. If the system is also needed stable for other purposes, then doing your experiments in a jail may be your easiest path (a jail may even be overkill; a chroot will handle it for some purposes). Good luck.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?44mwto5zre.fsf>