Hi everyone . I have problem with arm-linux-gcc crosstool . I have download and install libmodbus library for modicon Modbus protocol . And with gcc that library works just fine . But when I try to use arm-linux-gcc instead he sends me error . this is command for compiling
$arm-linux-gcc -I/usr/local/include my_app.c -lmodbus (/usr/local/include is where actualy is modbus.h) and error is
/arm-linux-gcc/bin/ld: cannot find -lmodbus
collect2:ld returned 1 exit status .
Remark : When I installed libmodbus, as CC variable I have use CC=gcc in Makefile ( but I had try with CC=arm-linux-gcc also , but without any result )
Thank You in advance
Sorry for my poor English