Date: Fri, 22 Feb 2013 14:26:23 +0100 From: Patrick Lamaiziere <patfbsd@davenulle.org> To: freebsd-current@freebsd.org Cc: lev@FreeBSD.org Subject: Re: r245741 (clang as cc) can not build binaries for GEODE processor Message-ID: <20130222142623.389445fe@mr129166> In-Reply-To: <1812992178.20130222164558@serebryakov.spb.ru> References: <108875110.20130222104603@serebryakov.spb.ru> <CA%2Bt49PKwRUA97q9UV5Y3X7BUVKOWOJ9FhiGq2YgqnfV687ur_g@mail.gmail.com> <1812992178.20130222164558@serebryakov.spb.ru>
next in thread | previous in thread | raw e-mail | index | archive | help
Le Fri, 22 Feb 2013 16:45:58 +0400, Lev Serebryakov <lev@FreeBSD.org> a écrit : Hello, > Hello, Daniel. > You wrote 22 февраля 2013 г., 16:04:11: > > DN> I'm not familiar with NanoBSD, but does it do the package builds > DN> for you - or do you do those by hand? > DN> If it's the latter, I don't quite understand how the compiler is > DN> supposed to know the target CPUTYPE? > It is latter, but IMHO, _without_ any CPUTYPE set, system compiler > should generate generic enough binaries to run on all supported CPUs > of target platform (i386 in this case). Clang should work now if march=geode (see: http://llvm.org/bugs/show_bug.cgi?id=11212 ) But I agree that by default on i386, the code should work on i386... Looks like this is not true anymore (>= i686 ?). Regards.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20130222142623.389445fe>