| FazBrowse GitHub Viewer | Trending | | Home |
| Tools: [Download Repo ZIP] [Original HTTPS Page] |
| Name | Name | Last commit date | ||
|---|---|---|---|---|
___ ________ ________ |\ \|\ ____\|\ ____\ \ \ \ \ \___|\ \ \___| __ \ \ \ \ \ \ \ \ |\ \\_\ \ \ \____\ \ \____ \ \________\ \_______\ \_______\ \|________|\|_______|\|_______|
Please note this is just my little toy and could be abandoned any time
Instructions below assume you use Ubtuntu22
sudo apt install cmake clang ninja-build -y
pip3 install --user conanmkdir build && cd build
cmake -DCMAKE_BUILD_TYPE=Debug \
-DCMAKE_C_COMPILER=clang \
-DCMAKE_CXX_COMPILER=clang++ \
-DCMAKE_EXPORT_COMPILE_COMMANDS=YES \
-DJCC_USE_ASAN=ON \
-GNinja ../ && ninja-DJCC_USE_ASAN=ON means enable the address sanitizer, which might be helpful to catch some memory bugs.
ninja testNote JCC is still in the very early stage, so don't expected it can handle everything correctly :)
./jcc test.c --ast-dump # Note you can only pass the flag in the end!./jcc test.c # It will produce a.out| Back | FazBrowse Home | New Git URL |