Ok, I'm definately thinking this is just a problem with my understanding
of the build process in *nix's and the quirks of Cygwin.
I am getting the following warning with the default Makefile that is
generated.
"libtool: link: warning: undefined symbols not allowed in i686-pc-cygwin
shared libraries"
I found that this is because Windows(r) dlls can't have undefined
symbols in them and the warning can be removed with the following flag:
'-no-undefined'. This also generates some other information that is not
helpful to me (probably someone else). However, this didn't seem to
produce a static library (either .a or .lib).
I ran across the 'make sqlite3.dll' target in the make file and tried
that. It succeeded without any problems and generated a .dll. I tried
the companion 'make sqlite3.lib' and this fails because it can't find
impdef/implib/lib.
If anyone as other suggestions, or steps to build a static lib under
Cygwin I'd appreciate it, otherwise I may just bite the bullet and see
about going the shared libary route.
-- Kiel
- Re: [sqlite] Linking to SQLite with Cygwin / CMake Kiel W.
-