Hi all,
compilation of package llvm-1.0.tar.gz under redhat 9 is failed with following output:
Hi all,
compilation of package llvm-1.0.tar.gz under redhat 9 is failed with following output:
Makes sure that you have the C front-end installed correctly, and that
the configure script found it (you have to provide the path to the C
frontend to the configure script).
-Chris
Hello Chris,
Sunday, October 26, 2003, 8:06:03 PM, you wrote:
Makes sure that you have the C front-end installed correctly, and that
the configure script found it (you have to provide the path to the C
frontend to the configure script).
hm... why cross-dependency?.. I thought llvm itself doesn't use
cfront-end.
P.S. Chris, I guess you know, but to be sure: your `Sender' is
llvmdev-admin@cs.uiuc.edu
Sunday, October 26, 2003, 8:06:03 PM, you wrote:
> Makes sure that you have the C front-end installed correctly, and that
> the configure script found it (you have to provide the path to the C
> frontend to the configure script).hm... why cross-dependency?.. I thought llvm itself doesn't use
cfront-end.
LLVM itself doesn't. The files that live in the llvm/runtime directory
are runtime libraries for the C/C++ front-end. If you're not using those
front-ends, then you don't need to build them.
In a cruel twist of fate, they are _WRITTEN_ in C/C++, hence the
dependency on the front-end. If you have no interest in these front-ends,
you can just change this line in the top-level Makefile:
DIRS = lib/Support utils lib tools runtime
to:
DIRS = lib/Support utils lib tools
Or, you can just use Bryan's "tools-only" target from the top-level:
$ cd llvm
$ gmake tools-only
... which doesn't build the runtime library. This target was meant for
use when building the C/C++ front-end, but it seems like it could be
useful to you too.
P.S. Chris, I guess you know, but to be sure: your `Sender' is
llvmdev-admin@cs.uiuc.edu
I'm pretty sure they are not. If you're on the CC line of a mailing list
post, you will get one directly from me, and one from the mailing list,
with a sender of llvmdev-admin. If this isn't the case, please let me
know off-list and I'll try to figure out what's going wrong.
-Chris
Hi Chris and all,
LLVM itself doesn't. The files that live in the llvm/runtime directory
are runtime libraries for the C/C++ front-end. If you're not using those
front-ends, then you don't need to build them.
I see. Anyway, it would be nice to have a few words about building/installing llvm and cfrontend. I fail to find notes on this matter in README or INSTALL files.
(BTW, concerning compilation of cfrontend both `make bootstrap' and `make' fail while linkage phase, I guess I should have set some options to `configure' and/or some environment variables)
Sorry if I've missed some docs.
In a cruel twist of fate, they are _WRITTEN_ in C/C++, hence the
dependency on the front-end. If you have no interest in these front-ends,
you can just change this line in the top-level Makefile ...
as before, I am intrested mostly in JIT and abilities to use it to other languages then C/C++
> P.S. Chris, I guess you know, but to be sure: your `Sender' is
> llvmdev-admin@cs.uiuc.eduI'm pretty sure they are not. If you're on the CC line of a mailing list
post, you will get one directly from me, and one from the mailing list,
with a sender of llvmdev-admin. If this isn't the case, please let me
know off-list and I'll try to figure out what's going wrong.
a-ha, I thouht if I am on CC line of mail list then the sender should remain `llvm-dev' and not `llvmdev-admin'. Well, why not. OK, then just skip it
best regards,
Valery.
No problem, I think the doc you are looking for is located here:
http://llvm.cs.uiuc.edu/docs/CFEBuildInstrs.html
I can understand why you didn't find it though: it's not linked off the
main page!
-Chris