This Repository Contains Source Code for the Burq-ide project
1.Python and C compiler
2.GCC shown below in the readme file on how to clone it
3.Risc-V based core the ide does have base cores for testing but you will need to add your's for full functionality
4.A debain based OS (linux mint or ubuntu or some other you know)
1.Run the ./install.sh file to install all dependencies the python LightW.py needs including the QtermWidget.
2.Run the Launcher.py to run the IDE and you are good to go
The rxvt-unicode terminal has been removed from the project because of its rescaling issue and is replaced by QTermWidget which is further changed to qterminal But in order to use it some libraries and pre-compilation is required.
- sudo -H pip3 install -U pyqt5 pyqtwebengine
- sudo apt install python3-sip-dev python3-pyqt5
- You would need to compile certain element like Pyqt as its extending libraries like sip won't reconginize it when building
- start by typing sudo -i in the terminal
- Then execute these commands (This may take 30 to 90 minutes depending on your machine and internet connection)
Before doing anything in the root set your python dependencies to python3
sudo update-alternatives --install /usr/bin/python python /usr/bin/python3 10
sudo apt-get update && apt-get install \
-y --no-install-recommends \
build-essential \
git \
ca-certificates \
wget \
cmake \
pkg-config \
python3-dev \
libglib2.0-dev \
qt5-default \
qttools5-dev
mkdir -p /tmp/EAF
cd /tmp/EAF && \
git clone https://github.com/lxqt/lxqt-build-tools.git \
&& cd lxqt-build-tools \
&& mkdir build && cd build \
&& cmake .. \
&& make && sudo make install
cd /tmp/EAF && \
wget https://www.riverbankcomputing.com/static/Downloads/sip/sip-6.0.2.dev2102091232.tar.gz && \
tar xvzf sip-6.0.2.dev2102091232.tar.gz&& \
cd sip-6.0.2.dev2102091232 && \
python3 configure.py --sip-module PyQt5.sip && \
make && \
sudo make install
cd /tmp/EAF && \
wget https://www.riverbankcomputing.com/static/Downloads/PyQt5/PyQt5-5.15.3.dev2102091740.tar.gz && \
tar xvzf PyQt5-5.15.3.dev2102091740.tar.gz && \
cd PyQt5-5.15.3.dev2102091740 && \
python3 configure.py --confirm-license && \
make && \
sudo make install
- Then you are good to go
First some prerequesties
- sudo apt-get install gtkwave
- sudo apt-get install git
- sudo apt-get install make
- sudo apt-get update
- sudo apt-get upgrade
- sudo apt-get install gcc # not cross
- sudo apt-get install g++
- sudo apt-get install make
- sudo apt-get install bison
- sudo apt-get install flex
- sudo apt-get install gawk
- sudo apt-get install libgmp3-dev
- sudo apt-get install libmpfr-dev libmpfr-doc libmpfr4 libmpfr4-dbg #This may or maynot work as the mirror seems missing
- sudo apt-get install mpc
- sudo apt-get install texinfo # optional
- sudo apt-get install libcloog-isl-dev # optional
- sudo apt-get install build-essential #This may or maynot work as the mirror seems missing
- sudo apt-get install glibc-devel #This may or maynot work as the mirror seems missing
- sudo apt-get -y install gcc-multilib libc6-i386 #This may or maynot work as the mirror seems missing
- sudo apt install Zlib #This may or maynot work as the mirror seems missing
- sudo apt-get install tree
- pip3 install sip
- open your terminal and write cd ~
- write sudo -i and write your password now you are on your root directory
- Now create a folder by using mkdir build the go to the directory using the command cd /build. 4 .Now write another command on terminal git clone --recursive https://github.com/riscv/riscv-gnu-toolchain it will take half an hour approx or maybe more depending on your machine and internet connection.
- after cloning riscv-gnu-toolchain a folder name as riscv-gnu-toolchain created in your root director no go to in that folder by using this command cd /build/riscv-gnu-toolchain/
- Now create another folder or directory inside riscv-gnu-toolchain folder by using this command mkdir build now go inside this folder by writing cd build.
- Now write this command on your command line ../configure --prefix=/opt/riscv32 --with-arch=rv32im --with-abi=ilp32 it will take few minutes.
- Now type make on your command line it will take more than half an hour or more depending on your machine.
- after running the make command you have to make sure that the files or directory i am providing you below must be in your PC you can check it by writing ls $ ls build-binutils-newlib build-gcc-newlib-stage2 build-newlib config.log install-newlib-nano scripts build-gcc-newlib-stage1 build-gdb-newlib build-newlib-nano config.status Makefile stamps make sure these 12 directory must be in your pc.
- Now finally write this command on your command line tree -L 3 -d