1 |
Hi guys, |
2 |
|
3 |
I am compiling RISC-V tools...I am just curious how do you manage your |
4 |
manually compiled software? Here are some options: |
5 |
|
6 |
1) Just "make install" everything into /usr/local. But if the Makefile |
7 |
does not have removing option, how do you remove it then? |
8 |
|
9 |
2) Put compiled software into /usr/local/some-dir, then create symbolic |
10 |
links to /usr/local/some-path. But this does not work if the software |
11 |
relies on some environment variables (well, you can set it in .bashrc |
12 |
but it then loses flexibility). |
13 |
|
14 |
3) Just install it anywhere and change PATH. To be honest, I don't |
15 |
really like this way because changing the PATH requires extra actions, |
16 |
e.g. open another terminal. |
17 |
|
18 |
Any idea? |
19 |
|
20 |
Danny |