-
Notifications
You must be signed in to change notification settings - Fork 22
FAQ
Konstantin Kolodii edited this page Mar 29, 2017
·
17 revisions
sudo apt-get purge maven maven2 maven3
sudo add-apt-repository ppa:andrei-pozolotin/maven3
sudo apt-get update
sudo apt-get install maven3
sudo add-apt-repository ppa:openjdk-r/ppa
sudo apt-get update
sudo apt-get install openjdk-8-jdk
sudo update-alternatives --config java
sudo update-alternatives --config javac
sudo apt install openjdk-8-jdk
sudo add-apt-repository ppa:webupd8team/java -y
sudo apt-get update
sudo apt-get install oracle-java8-installer
To automatically set up the Java 8 environment variables
sudo apt-get install oracle-java8-set-default
Check it
java -version
Download (You need to register to the QNX community portal):
Extract packets:
tar -xvf linux-binutils-2.25.tar.gz
tar -xvf linux-gcc-4.9.3-qnx660.tar.gz
Copy extracted files:
cp -rv host <QNX_SDP>
cp -rv target <QNX_SDP>
Update default version of GCC:
vi ${QNX_HOST}/etc/qcc/gcc/default
Change 4.7.3 to 4.9.3
Add symlinks:
ln -s ${QNX_TARGET}/x86/lib/gcc/4.9.3/libcpp.so ${QNX_TARGET}/x86/lib/gcc/4.9.3/libc++.so
ln -s ${QNX_TARGET}/armle-v7/lib/gcc/4.9.3/libcpp.so ${QNX_TARGET}/armle-v7/lib/gcc/4.9.3/libc++.so
Install 32bit libraries
sudo apt-get install lib32stdc++6