PDA

View Full Version : Apple Invests in LLVM, Suggests Merge with GCC


MacBytes
Nov 19, 2005, 12:10 PM
http://www.macbytes.com/images/bytessig.gif (http://www.macbytes.com)

Category: Mac OS X
Link: Apple Invests in LLVM, Suggests Merge with GCC (http://www.macbytes.com/link.php?sid=20051119131049)

Posted on MacBytes.com (http://www.macbytes.com)
Approved by Mudbug

ppc_michael
Nov 19, 2005, 01:31 PM
Aw, will this affect me typing 'gcc something.c'? That good ol' gcc command is classic.

andrewm
Nov 19, 2005, 01:33 PM
http://www.macbytes.com/images/bytessig.gif (http://www.macbytes.com)

Category: Mac OS X
Link: Apple Invests in LLVM, Suggests Merge with GCC (http://www.macbytes.com/link.php?sid=20051119131049)

Posted on MacBytes.com (http://www.macbytes.com)
Approved by Mudbug

Sounds like something Rosetta-related? A Low-Level Virtual Machine 'designed to enable effective program optimization across the entire lifetime of a program. LLVM supports effective optimization at compile time, link-time (particularly interprocedural), run-time and offline (i.e., after software is installed), while remaining transparent to developers and maintaining compatibility with existing build scripts.' (from llvm.org).

sord
Nov 19, 2005, 05:54 PM
I installed the gcc frontend and then the libs/tools and llvm and the executables it makes are slow as hell! I hope I did something wrong!

I did try though taking the bc file generated and had llvm generate an assembler file for it, then after running gcc on the assembler file all was well but that was the only way to make things work nicely

nagromme
Nov 19, 2005, 09:46 PM
"This implementation links the LLVM optimizers and code generator directly into the GCC process, replacing the tree-ssa optimizers and the RTL code generator with the corresponding LLVM components when enabled."

Couldn't have said it better myself! :)

Really. I couldn't.

Santaduck
Nov 19, 2005, 09:50 PM
somebody translate this for us and provide the background . . .