Neat tricks with DragonEgg

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@cog-e.com