Clang just finished bootstrapping on linux arm. Both llvm and clang
are synced @106540. To bootstrap what I did was
*) Build gold and copy it over /usr/bin/ld. GNU ld cannot handle clang
in 256MB of ram (I was using a beagleboard)
*) Build a new gas and copy it over /usr/bin/as. The old gas was
confused by some of assembly produced by llvm.
*) Build stage1 with --enable-optimized --with-optimize-option=-O1.
The debian provided gcc miscompiles clang at -O2 and above.
*) Build stages 2 and 3 with CC="..../clang -mfloat-abi=softfp" and
CXX=".../clang++ -mfloat-abi=softfp " ../llvm/configue
--enable-optimized
I will try to fix the floab-abi thing soon.
Thanks a lot to everyone that helped with suggestions, bugpoint tips
and fixing bugs.
Cheers,
--
Rafael Ávila de Espíndola
_______________________________________________
cfe-dev mailing list
[hidden email]
http://lists.cs.uiuc.edu/mailman/listinfo/cfe-dev