endrazine / wcc

The Witchcraft Compiler Collection
Other
1.84k stars 107 forks source link

Build problems; suggestions for the Readme #3

Closed michael-myers closed 8 years ago

michael-myers commented 8 years ago

1) Maybe you think it goes without saying but this git repo is using git submodules, so you have to pull in the other repos to the source tree:

git clone https://github.com/endrazine/wcc.git
cd wcc
git submodule init
git submodule update

2) All of these unstated dependencies had to be installed in order to build (Ubuntu 16.04) so it seems worth putting in the readme: sudo apt-get install clang libbfd-dev uthash-dev libelf-dev libcapstone-dev libreadline6 libreadline6-dev libiberty-dev libgsl-dev

3) I had to add a line to wcc.c, in order to pull in the definition of a macro called PRIx64: #include <inttypes.h>

endrazine commented 8 years ago

Good catch Michael, thanks :)

I have updated the README.md to reflect your suggested method to fetch git modules as well as provided the command line you provided to fetch C headers and dependancies on Ubuntu. Kuddos ! I am also adding the missing C header you spotted.

I have updated the README.md with example usage and an explaination of each command to get you started from there :)

Thanks a lot for beta testing this Michael, you rock !!

michael-myers commented 8 years ago

Thanks for releasing your work and thanks for adding all that documentation!

On 8/11/16 1:26 AM, Jonathan Brossard wrote:

Good catch Michael, thanks :)

I have updated the README.md to reflect your suggested method to fetch git modules as well as provided the command line you provided to fetch C headers and dependancies on Ubuntu. Kuddos ! I am also adding the missing C header you spotted.

I have updated the README.md with example usage and an explaination of each command to get you started from there :)

Thanks a lot for beta testing this Michael, you rock !!

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/endrazine/wcc/issues/3#issuecomment-239076598, or mute the thread https://github.com/notifications/unsubscribe-auth/AE7_ZMRcDJpBmN1vtzcwOhV2eTat4TIJks5qerJ_gaJpZM4JhlRB.

endrazine commented 8 years ago

No worries Mike. I hope it helps in getting started :))