[LLVMdev] Neat tricks with DragonEgg

Richard Gorton rcgorton at cognitive-electronics.com
Wed Sep 10 10:53:51 PDT 2014


I've been trying to figure out how to get enough support for FORTRAN to be able to build BLAS/LAPACK/etc. for our architecture, and yesterday I managed to compile all the way to an object file:

Build gcc-4.6 + llvm3.3 + dragonegg:

Compile xerbla.f --> xerbla.ll
Hack the target datalayout/triple fields to be those for our architecture instead of x86_64-linux
Compile with our llvm-based compiler.

My thanks to those folks who created it & are maintaining it!

	Richard Gorton
	Cognitive Electronics
	rcgorton at cog-e.com



More information about the llvm-dev mailing list