I have set up eclipse in windows and tried to compile a simple code related to a POS device but i get error the code is:

```
#include <posapi.h>
#include <printer.h>
#include <stdio.h>
#include <stdlib.h>

int main(void) {

printf ("Beeping...");
beep(100,2000);
printf("Stop Beeping.");

return 0;
}

```

and the error is:

```
cannot find -l/cygdrive/d/Docs/SDK/SDK/Windows/sdk-new8210-1.0.0/sdk/lib/libpos.so

```

---

[update from comment]

This is the command line: 

```
/cygdrive/c/glibc-oabi-toolchain-arm-generic/bin/arm-unknown-linux-gnu-gcc -I"C:\cygwin\usr\include" -I"D:\Docs\SDK\SDK\Windows\sdk-new8210-1.0.0\sdk\include" -I"D:\Docs\SDK\SDK\Windows\sdk-new8210-1.0.0\sdk\include\directfb" -O0 -g3 -Wall -c -fmessage-length=0 -Wundef -Wstrict-prototypes -Werror-implicit-function-declaration -Wdeclaration-after-statement -fsigned-char -marm -mapcs -mno-sched-prolog -mabi=apcs-gnu -mlittle-endian -mno-thumb-interwork -msoft-float -MMD -MP -MF"src/DemoApp5.d" -MT"src/DemoApp5.d" -o "src/DemoApp5.o" "../src/DemoApp5.c" 

```