cygwin에서 sharelibrary만들기

Serapian의 이미지

제가 cygwin에서 sharelibrary를 만드는데..

$ gcc -o aa.o -fpic -c aa.c 
cc1: warning: -fpic ignored for target (all code is position independent)

다음과 같이 warning뜨더군여. 어떻게 방법이 없을까여?

$ gcc -o aa.o -fPIC -c aa.c 
cc1: warning: -fPIC ignored for target (all code is position independent)

이렇게 해도 마찬가지이던데..