[llvm-dev] Building compiler front-end from GitHub source

Ludwig, Marc via llvm-dev llvm-dev at lists.llvm.org
Mon Jun 12 06:50:57 PDT 2017


Hi there ...

I tried to build an compiler front-end for the m-language on top of LLVM from [this](https://github.com/f-akazawa/mlang) GitHub repo.
The build went through but no binaries for the specific front-end where generated.

I've tried it this way:
```
# source directory
LLVM_ROOT=$(pwd)
# pull in llvm sources
svn co http://llvm.org/svn/llvm-project/llvm/branches/release_31 llvm
# pull in clang
cd llvm/tools || exit $?
svn co http://llvm.org/svn/llvm-project/cfe/branches/release_31 clang
# pull in mlang
git clone https://github.com/f-akazawa/mlang.git
cd "$LLVM_ROOT" || exit $?
mkdir build && cd build || exit $?
"$LLVM_ROOT"/llvm/configure --enable-optimized --enable-targets="host-only"
make
make check-all
```
Anyone an idea what i'am missing?

PS: I've also tried it on the llvm irc node, but there's no one responding.

Thank you for your time and best regards,

Marc


More information about the llvm-dev mailing list