Bruce Dubbs wrote these words on 12/20/12 17:41 CST: > Randy McMurchy wrote: >> Hi all, >> >> Does anyone recall why there are CC= and CXX= lines prefacing the configure >> command in the LLVM instructions? I am not certain they are required. My >> build >> was fine without them. > > I believe that was to reset them if already set for clang.
But nobody except a serious developer would install clang before llvm. If you follow the book, it is not required. :-) >> Also, the docs are installed into /usr/docs instead of >> /usr/share/doc/llvm=3.1, >> we could probably use a docdir= line in configure or at least move them after >> the installation. > > Perhaps. I used --prefix=/opt/llvm so I didn't notice. No big deal. Let's just add commands to move them where they belong. >> Also, there appears to be additional dependencies, TCL, OCaml, and Valgrind >> were looked for during the configure phase. It did not find the TCL include >> files on my system, and I do not have OCaml installed, so I am not sure if it >> wants to build bindings for those languages or what. > > For our use (MesaLib) they probably don't make any difference. We > probably have incomplete dependencies though. We can add them for thoroughness. >> Package takes too long to build to simply get X installed. :-( > > Yes, it took 12.3 SBU for me. The only reference we have for llvm is > MesaLib and it's only recommended, not required. I'm sure that's only > because (I think) the MesaLib devs recommend it. But shouldn't we note in the book that it is not applicable unless you have specific hardware? -- Randy rmlscsi: [bogomips 1003.23] [GNU ld version 2.16.1] [gcc (GCC) 4.0.3] [GNU C Library stable release version 2.3.6] [Linux 2.6.14.3 i686] 17:48:00 up 15 days, 3:47, 6 users, load average: 0.03, 0.10, 0.12 -- http://linuxfromscratch.org/mailman/listinfo/blfs-dev FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
