Cooking LLVM in FreeBSD 8

2009-03-17 Thread Grünewald Michaël
On Ivoras'FreeBSD page, ``What's cooking for FreeBSD 8'' http://ivoras.sharanet.org/freebsd/freebsd8.html one can read about the possible substitution of GCC by LLVM (among other candidates). Under the assumption that LLVM is selected, would this mean that FreeBSD will somehow integrate the

Re: Cooking LLVM in FreeBSD 8

2009-03-17 Thread Wojciech Puchar
On Ivoras'FreeBSD page, ``What's cooking for FreeBSD 8'' http://ivoras.sharanet.org/freebsd/freebsd8.html LLVM site shows it's something like precompiler+runtime compiling. will it be used that way, or as usual compiler? the first way sound really good (single binary for every arch, and

Re: Cooking LLVM in FreeBSD 8

2009-03-17 Thread Geoff Fritz
On Tue, Mar 17, 2009 at 01:49:24PM +0100, Wojciech Puchar wrote: On Ivoras'FreeBSD page, ``What's cooking for FreeBSD 8'' http://ivoras.sharanet.org/freebsd/freebsd8.html LLVM site shows it's something like precompiler+runtime compiling. will it be used that way, or as usual compiler?

Re: Cooking LLVM in FreeBSD 8

2009-03-17 Thread Wojciech Puchar
I think the idea is to get away from gcc with its evil GPL3 license as the very good move. i wasn't aware that usable GCC replacement exist, as it was probably the only reason to keep communist licenced programs with master FreeBSD sources. ___

Re: Cooking LLVM in FreeBSD 8

2009-03-17 Thread Wojciech Puchar
It does look promising, though. I hope it'll eventually surpass gcc in actually - it's matter of measurement. for example - gcc generated code is very fast, but often in expense of code size. Even -Os compiled programs are quite large. Large code=less efficient caching=SLOWER overall

Re: Cooking LLVM in FreeBSD 8

2009-03-17 Thread Geoff Fritz
On Tue, Mar 17, 2009 at 03:19:52PM +0100, Wojciech Puchar wrote: I think the idea is to get away from gcc with its evil GPL3 license as the very good move. i wasn't aware that usable GCC replacement exist, as it was probably the only reason to keep communist licenced programs with

Re: Cooking LLVM in FreeBSD 8

2009-03-17 Thread Geoff Fritz
On Tue, Mar 17, 2009 at 03:27:37PM +0100, Wojciech Puchar wrote: It does look promising, though. I hope it'll eventually surpass gcc in actually - it's matter of measurement. for example - gcc generated code is very fast, but often in expense of code size. Even -Os compiled programs

Re: Cooking LLVM in FreeBSD 8

2009-03-17 Thread Wojciech Puchar
master FreeBSD sources. Please don't read too much into my remark, as I don't like to engage in license ideology debates. I like GPL, BSD, and all the zillions of other i do use GPL programs too without any problems - because there is no BSD licenced equivalent (most often), or BSD

Re: Cooking LLVM in FreeBSD 8

2009-03-17 Thread Wojciech Puchar
I'm a big supporter of small, efficient binaries. In fact, I'll often put -Os in my /etc/make.conf CFLAGS setting. This only rarely improves raw speed over more agressive optimization flags, however. I use it primarily it do improves speed on DSP-like code that do repetitively the same on