| 101 | | # make "CXXFLAGS=-I/opt/crosstool/gcc-4.1.1-glibc-2.3.6/powerpc-405-linux-gnu/powerpc-405-linux-gnu/include/ -L/opt/crosstool/gcc-4.1.1-glibc-2.3.6/powerpc-405-linux-gnu/powerpc-405-linux-gnu/lib/ -L. -lFPGAController" |
| | 106 | }}} |
| | 107 | |
| | 108 | Open ''Makefile'' to link against the static library, and find the following line: |
| | 109 | {{{ |
| | 110 | LIBS = -lstandardInterfaces -lomniDynamic4 -lomnithread -lomniORB4 -L/usr/local/lib -lossieidl -lossieparser -lossiecf |
| | 111 | }}} |
| | 112 | |
| | 113 | Add ''-L. -lFPGAController'' to the end of the line: |
| | 114 | {{{ |
| | 115 | LIBS = -lstandardInterfaces -lomniDynamic4 -lomnithread -lomniORB4 -L/usr/local/lib -lossieidl -lossieparser -lossiecf -L. -lFPGAController |
| | 116 | }}} |
| | 117 | |
| | 118 | Run make: |
| | 119 | {{{ |
| | 120 | # make "CXXFLAGS=-I/opt/crosstool/gcc-4.1.1-glibc-2.3.6/powerpc-405-linux-gnu/powerpc-405-linux-gnu/include/ -L/opt/crosstool/gcc-4.1.1-glibc-2.3.6/powerpc-405-linux-gnu/powerpc-405-linux-gnu/lib/" |