Line 3... |
Line 3... |
3 |
|
3 |
|
4 |
# On 64bit system you need 32bit library support to build 32bit application: |
4 |
# On 64bit system you need 32bit library support to build 32bit application: |
5 |
# sudo apt-get install g++-multilib |
5 |
# sudo apt-get install g++-multilib |
6 |
|
6 |
|
7 |
# Just compile and link the target executable: |
7 |
# Just compile and link the target executable: |
8 |
gcc mlab_xvcd*.cpp lib_linux/i386/libftd2xx.a -m32 -lstdc++ -ldl -lpthread -lrt -Os -o mlab_xvcd_i386 |
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 |
9 |
gcc mlab_xvcd*.cpp lib_linux/x86_64/libftd2xx.a -m64 -lstdc++ -ldl -lrt -Os -o mlab_xvcd_x86_64 |