Rev | Author | Line No. | Line |
---|---|---|---|
2942 | miho | 1 | # For fresh Ubuntu 64bit needs to install tools: |
2 | # sudo apt-get install build-essential |
||
3 | |||
4 | # On 64bit system you need 32bit library support to build 32bit application: |
||
5 | # sudo apt-get install g++-multilib |
||
6 | |||
7 | # Just compile and link the target executable: |
||
3090 | miho | 8 | gcc mlab_xvcd*.cpp lib_linux/i386/libftd2xx.a -m32 -lstdc++ -ldl -lpthread -lrt -Os -o mlab_xvcd_i386 |
9 | gcc mlab_xvcd*.cpp lib_linux/x86_64/libftd2xx.a -m64 -lstdc++ -ldl -lpthread -lrt -Os -o mlab_xvcd_x86_64 |