diff --git a/README.md b/README.md index 4a159e6e..935b25cf 100644 --- a/README.md +++ b/README.md @@ -107,30 +107,14 @@ $ bash getqwt.sh For further information refer to [this](http://qwt.sourceforge.net/) -- python3.5 or 3.6 +- python3.5 or 3.6 and other dependencies - In Debian like distros: - - ```bash - $ sudo apt-get install python3.5 python3.5-dev - ``` +You can use [install.sh](./install.sh) in order to install dependencies. First +read and understand the script than execute it. -- Others - - Some basic libraries may be already installed in your system. If not you can - install the following packages or equivalent ones for your distro. In Debian - like distros: - - ```bash - $ sudo apt-get install libc6 - $ sudo apt-get install libstdc++6 - $ sudo apt-get install sqlite3 - $ sudo apt-get install libsqlite3-dev - $ sudo apt-get install libqt5gui5 - $ sudo apt-get install libqt5sql5 - $ sudo apt-get install libqt5widgets5 - $ sudo apt-get install libqt5core5a - ``` +```bash +$ bash install.sh +``` To grant flexibility to the user the paths where to find some essential libraries and headers can be specified with environment variables. You can add diff --git a/getsysc.sh b/getsysc.sh index 52848909..d522f6c2 100755 --- a/getsysc.sh +++ b/getsysc.sh @@ -86,4 +86,4 @@ echo "# SystemC home" >> ~/.bashrc echo "SYSTEMC_HOME=$dest/$sysc" >> ~/.bashrc echo "# SystemC target architecture" >> ~/.bashrc echo "SYSTEMC_TARGET_ARCH=linux$arch" >> ~/.bashrc -echo "LD_LIBRARY_PATH=\${LD_LIBRARY_PATH}:\${SYSTEMC_HOME}/lib-$arch" >> ~/.bashrc +echo "LD_LIBRARY_PATH=\${LD_LIBRARY_PATH}:\${SYSTEMC_HOME}/lib-linux$arch" >> ~/.bashrc