File tree 1 file changed +13
-2
lines changed
1 file changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -103,12 +103,23 @@ <h5> Step 2 :</h5>
103
103
You may get some warnings and they can be ignored. If you get any < b > fatal error</ b > ,
104
104
then install the following dependencies and try running "make" again : < br >
105
105
< b > sudo apt-get install libreadline-dev</ b > < br >
106
- < b > sudo apt-get install lib6 -dev</ b > < br >
106
+ < b > sudo apt-get install libc6 -dev</ b > < br >
107
107
If any other dependencies are missing (this depends on your system configuration), you have to install the missing dependencies
108
108
and run "make" again.
109
+ (Optional) While running "./xsm" after Step 2 if you get this error:< br >
110
+ < i > /usr/bin/ld: cannot find -ll
111
+ collect2: error: ld returned 1 exit status</ i >
112
+ Then you need to install:< br >
113
+ < b > sudo apt-get install libfl-dev</ b > < br >
114
+ and edit the < b > Makefile</ b > of < b > xsm_dev</ b > folder, to proceed
115
+ find the line where "-ll" is used as option and update it to "-lfl" to use the "flex" library we installed above.
116
+ Now you can run "make" again after navigating into the folder < b > xsm_expl</ b > through the terminal.
109
117
</ p > </ li >
110
118
< li id ="otis "> 2. Type "cd ../xfs-interface/" and type "./init".</ li >
111
- </ ul >
119
+ < li id ="otis "> 3.(Optional) Add this line < b > #!/usr/bin/env bash</ b > as first line to the < b > xsm</ b > file in < b > xsm_expl</ b > folder.</ li >
120
+ This step is for those who don't have < b > bash</ b > or < b > sh</ b > as their "default shell" and therefore may be using other
121
+ customizable shells like < b > zsh</ b > , etc as their default shell. You can check your default shell by using < b > echo $SHELL</ b > in terminal.
122
+ </ ul >
112
123
</ p >
113
124
< p > The usage instructions for the XSM simulator can be found < a href ="xsmusagespec.html " target ="_blank "> here</ a > .</ p >
114
125
You can’t perform that action at this time.
0 commit comments