reactivision
인공표시 인식 오픈 라이브러리
2012년 1월 28일 토요일
2012년 1월 15일 일요일
Import issue on ARM program
arm-linux-gnueabi-objdump -x gdb | grep NEEDED
http://blog.daum.net/joell/11772014
http://blog.daum.net/joell/11772014
Compile gdb on ARM board
$ wget ftp://ftp.jaist.ac.jp/pub/GNU/termcap/termcap-1.3.1.tar.gz
$ tar xvzf termcap-1.3.1.tar.gz
$ cd termcap-1.3.1
termcap-1.3.1$ CC=arm-linux-gnueabi.gcc ./configure --build=i686-pc-linux-gnu --host=arm-linux-gnueabi --prefix=$PWD/build
termcap-1.3.1$ make && make install
termcap-1.3.1$ cd ..
$ wget ftp://ftp.jaist.ac.jp/pub/GNU/gdb/gdb-6.6.tar.gz
ftp://sourceware.org/pub/gdb/releases/
$ tar xvzf gdb-6.6.tar.gz
$ cd gdb-6.6
$ CFLAGS=-L/opt/termcap-1.3.1 ./configure --build=i686-pc-linux-gnu --host=arm-linux-gnueabi --target=arm-pc-linux-gnu --prefix=/nfsroot/gdb --disable-werror
$ make && make install
http://blog.daum.net/joell/11772014
$ tar xvzf termcap-1.3.1.tar.gz
$ cd termcap-1.3.1
termcap-1.3.1$ CC=arm-linux-gnueabi.gcc ./configure --build=i686-pc-linux-gnu --host=arm-linux-gnueabi --prefix=$PWD/build
termcap-1.3.1$ make && make install
termcap-1.3.1$ cd ..
$ wget ftp://ftp.jaist.ac.jp/pub/GNU/gdb/gdb-6.6.tar.gz
ftp://sourceware.org/pub/gdb/releases/
$ tar xvzf gdb-6.6.tar.gz
$ cd gdb-6.6
$ CFLAGS=-L/opt/termcap-1.3.1 ./configure --build=i686-pc-linux-gnu --host=arm-linux-gnueabi --target=arm-pc-linux-gnu --prefix=/nfsroot/gdb --disable-werror
$ make && make install
http://blog.daum.net/joell/11772014
2012년 1월 14일 토요일
Cross Compile common method
export CC=arm-linux-gnueabi-gcc
export CXX=arm-linux-gnueabi-g++
./configure --host=arm-linux-gnueabi
export CXX=arm-linux-gnueabi-g++
./configure --host=arm-linux-gnueabi
2012년 1월 13일 금요일
Compile Boost 1.4.7 on ARM board
http://www.boost.org/boost-build2/doc/html/bbv2/reference/tools.html
vi user-config.jam
#using gcc : 4.0 : g++-4.0 ;
using gcc : 4.1.2 : arm-linux-gnueabi-g++ ;
http://www.boost.org/doc/libs/1_48_0/more/getting_started/unix-variants.html
$ cd ~/boost_1_47_0
$ b2 --build-dir=/tmp/build-boost toolset=gcc stage
http://www.boost.org/doc/libs/1_47_0/
vi user-config.jam
#using gcc : 4.0 : g++-4.0 ;
using gcc : 4.1.2 : arm-linux-gnueabi-g++ ;
http://www.boost.org/doc/libs/1_48_0/more/getting_started/unix-variants.html
$ cd ~/boost_1_47_0
$ b2 --build-dir=/tmp/build-boost toolset=gcc stage
http://www.boost.org/doc/libs/1_47_0/
Compile MRPT on ARM board
1. add #define _POSIX_PATH_MAX 255 where mrpt-0.9.5/otherlibs/gtest-1.5.0/fused-src/gtest
2. Replace fabsl() to fabs()
3. Replace __atomic_add to __gnu_cxx::__atomic_add where libs/base/src/synch/atomic_incr.cpp
~/src$ cd build
~/src/build$ cmake -DCMAKE_TOOLCHAIN_FILE=~/Toolchain-arm-x86.cmake ..
2. Replace fabsl() to fabs()
3. Replace __atomic_add to __gnu_cxx::__atomic_add where libs/base/src/synch/atomic_incr.cpp
~/src$ cd build
~/src/build$ cmake -DCMAKE_TOOLCHAIN_FILE=~/Toolchain-arm-x86.cmake ..
Compile OpenCV on ARM board
1. Replace fabsl() with fabs() in /OpenCV-2.3.1/modules/flann/include/opencv2/flann/dist.h
2. #define _POSIX_PATH_MAX 255
~/src$ cd build
~/src/build$ cmake -DCMAKE_TOOLCHAIN_FILE=~/Toolchain-arm_x86.cmake ..
2. #define _POSIX_PATH_MAX 255
~/src$ cd build
~/src/build$ cmake -DCMAKE_TOOLCHAIN_FILE=~/Toolchain-arm_x86.cmake ..
Compile ACE framework on ARM board
https://groups.google.com/group/comp.soft-sys.ace/browse_thread/thread/07a5854e5fb798d8/42884ce7b69e2bc8?hl=ko&pli=1
1. tar xvzf ACE0.6.0.7.tar.gz
2. cd ACE_wrappers/ace/
3. vi config.h
4. #define ACE_GCC_HAS_TEMPLATE_INSTANTIATION_VISIBILITY_ATTRS 1
5. or vi ../include/makefiles/platform_macros.GNU
6. no_hidden_visibility=1
7. make clean;make;make install
8. cd tests
9. make
1. tar xvzf ACE0.6.0.7.tar.gz
2. cd ACE_wrappers/ace/
3. vi config.h
4. #define ACE_GCC_HAS_TEMPLATE_INSTANTIATION_VISIBILITY_ATTRS 1
5. or vi ../include/makefiles/platform_macros.GNU
6. no_hidden_visibility=1
7. make clean;make;make install
8. cd tests
9. make
피드 구독하기:
글 (Atom)