-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 On 19/08/10 14:49, Joerg Schilling wrote: > How did you compile this? > > I just followed the instructions from clang and failed. > > Did you install to /opt/clang? Would you be willing to share your binaries in > case compilation is not repeatable?
""" [r...@babylon5 /]# type clang clang is /usr/local/bin/clang """ Of course I will share my binaries if necessary. Absolutely. They are 32 bits, thought. My compilation notes are these, in SPANISH. I don't think they are useful to you: """ * LLVM 2.7 (09/jun/10) URL: http://llvm.org/ Estado: En produccion en Stargate-Host Intento compilar con ./configure --enable-shared --disable-static pero no funciona, asi que configuro "./configure" a secas. Para instalar, tengo que aƱadir "SHELL=/bin/bash" a "docs/Makefile". Se puede probar con "make check". No vale la pena bajarse la testsuite completa. Hay que compilar tambien su "clang" correspondiente. Para ello hay que copiarlo dentro y compilarlo todo de una vez. [...] * CLANG 2.7 (09/jun/10) URL: http://clang.llvm.org/ Estado: En produccion en Stargate-Host. Compilador de C basado en LLVM. Hay que compilarlo al mismo tiempo que su LLVM correspondiente. Es decir, "clang" es una extension que hay que meter dentro del LLVM y compilarlo todo junto. Una vez compilado, hay que meterse en su directorio y hacer "make test", "make install". """ Maybe the useful bit is that "clang" must be copied inside LLVM and the entire package be compiled at once. My build environment is very customized, with years of refinement. My GCC: """ [r...@babylon5 /]# gcc -v Using built-in specs. COLLECT_GCC=gcc COLLECT_LTO_WRAPPER=/usr/local/libexec/gcc/i386-pc-solaris2.10/4.5.0/lto-wrapper Target: i386-pc-solaris2.10 Configured with: ../gcc-4.5.0/configure --with-gnu-as - --with-ld=/usr/ccs/bin/ld --without-gnu-ld --enable-shared - --enable-languages=c,c++,fortran,objc,obj-c++ Thread model: posix gcc version 4.5.0 (GCC) """ Note that I use GCC but the linker is Solaris 10 one, not GNU. Note also that I compile 32 bits usually. I am very impressed with CLANG. I would support Illumos to be able to be compiled with it. PS: All this is under Solaris 10. I am not an OpenSolaris user at this moment. - -- Jesus Cea Avion _/_/ _/_/_/ _/_/_/ [email protected] - http://www.jcea.es/ _/_/ _/_/ _/_/ _/_/ _/_/ jabber / xmpp:[email protected] _/_/ _/_/ _/_/_/_/_/ . _/_/ _/_/ _/_/ _/_/ _/_/ "Things are not so easy" _/_/ _/_/ _/_/ _/_/ _/_/ _/_/ "My name is Dump, Core Dump" _/_/_/ _/_/_/ _/_/ _/_/ "El amor es poner tu felicidad en la felicidad de otro" - Leibniz -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/ iQCVAwUBTG3Nc5lgi5GaxT1NAQKFEgQAkv0f8Fu5HoNsSQ5CS3kpn5rCcyB8QEzj sCdHu2uhWoIiBcIFeLTDb62CHb5s4IY/jsdoIErVv++zjG2ok8oYu7XLXPFLccRh /ntGgYr5dmoyTvy0p+BtTriEMDZYt+hV8ZP9u1CX2cTtPMc7AoEKNiZVV+1nVdOV fuT/xcke+3w= =I4Xc -----END PGP SIGNATURE----- _______________________________________________ Discuss mailing list [email protected] http://lists.illumos.org/m/listinfo/discuss
