Oliver Peters <oliver....@...> writes:

> 
> Hello out there,
> ...snip...
> q1:
> ----
> I used gcc version 3.4.5 (mingw-vista special r3) to compile
> "extension-functions.c" with the following options
> 
> gcc -shared -fPIC -I "c:\Programme\SQLite" -o libsqlitefunctions.so
> extension-functions.c
> (I copied sqlite3ext.h before to "c:\Programme\SQLite")
>
> and got the following error message:
>
> extension-functions.c:1: warning: -fPIC ignored for target (all code
is position
> independent)
> ...snip...

1. It's a Warning, not an Error, so will still work
2. looks like -fPIC is redundant if you specify -shared; maybe this applies
to later compiler version than in wiki example ?

_______________________________________________
sqlite-users mailing list
sqlite-users@sqlite.org
http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users

Reply via email to