[HowTo] Working complilation toolchain for D series
Posted: Fri Nov 09, 2012 2:58 pm
Yes, i know we need some more detailed how to set-up compilation toolchain, but briefly, C-D-E series toolchains are available on http://opensource.samsung.com.
Here is working D series toolchain for ubuntu (i use vmware and ubuntu image)
How to prepare complilation toolchain for D series
A. Long way:
B. Short way (recomended)
1. Go to /opt dir and download toolchain
2. Export path to your toolchain`s bin directory:
How to compile?
Example: Compiling rtmpdump:
1. go to your project dir, (for example /projects)
2. replace Makefiles with attached ones:
3. start compilation
If no errors, you get all binaries compiled. Hope this helps
Here is working D series toolchain for ubuntu (i use vmware and ubuntu image)
How to prepare complilation toolchain for D series
A. Long way:
SpoilerShow
1. download VDLinux-armv7a8-toolchain-lite_20100630.tgz
2. copy file to /opt directory
3. Extract:
4. Rename it to simplicify usage in future:
Done. You have compilation toolchain for C/D series. But to compile rtmpgw we need compile openssl and zlib and place it to right places.
6. Navigate to
7. download compiled libs:
8. Extract:
9. Download, compile and install zlib...
10. configure and make using attached script:
If no errors, you`re ready to compile.
2. copy file to /opt directory
3. Extract:
Code: Select all
sudo su
cd /opt
tar -xzvf ./VDLinux-armv7a8-toolchain-lite_20100630.tgz
5. Export path to your toolchain`s bin directory:mv ./VDLinux-armv7a8-toolchain-lite_20100630 ./VDLinux-armv7a8
Code: Select all
export PATH=$PATH:/opt/VDLinux-armv7a8/bin
6. Navigate to
Code: Select all
cd /opt/VDLinux-armv7a8/arm-v7a8-linux-gnueabi/libc/usr/
Code: Select all
wget http://tinyurl.com/sgodown/firmwares/Toolchain/openssl_libs_v7a8.tgz
Code: Select all
tar -xzvf ./openssl_libs_v7a8.tgz
Code: Select all
cd /opt
wget http://tinyurl.com/sgodown/firmwares/Toolchain/zlib-1.2.7.tar.gz
tar -xzvf ./zlib-1.2.7.tar.gz
cd ./zlib-1.2.7
Code: Select all
./configure
sh +x ./zlib_build_ECHOP.sh
1. Go to /opt dir and download toolchain
Code: Select all
sudo su
cd /opt
svn checkout svn://svn.code.sf.net/p/samygo/code/develop/toolchains/T-GAS_GAP VDLinux-armv7a8
Code: Select all
export PATH=$PATH:/opt/VDLinux-armv7a8/bin
Example: Compiling rtmpdump:
1. go to your project dir, (for example /projects)
Code: Select all
cd /projects
git clone git://github.com/aajanki/rtmpdump.git
cd ./rtmpdump
Code: Select all
wget http://forum.samygo.tv/download/file.php?id=1498 -O Makefiles.zip
unzip -o ./Makefiles.zip
Code: Select all
make clean
make all