Bonjour,

Pour utiliser la bibliothèque SQLite3 dans un programme C, j'aimerai compiler celle-ci sous forme d'un fichier *.a et simplement la linker avec code::blocks.

J'ai donc télécharger la dernière version ici :
http://www.sqlite.org/download.html
et ai suivi les conseils donnés là pour la compilation:
http://www.paperblog.fr/3562478/creer- [...] sous-windows/

Seulement, lorsque la commande daigne enfin s'exécuter
(i.e. quand je place les fichier .dll et .def dans le même dossier que dlltool sinon j'ai le droit a "dlltool" not recognized)
La commande se contente d'afficher :
"dlltool CreateProcess"
de générer un fichier .a de 0 octet
et un fichier .s contenant ceci :

# IMAGE_IMPORT_DESCRIPTOR
.section .idata$2
.global __head_libsqlite3_a
__head_libsqlite3_a:
.rva hname #Ptr to image import by name list
#this should be the timestamp, but NT sometimes
#doesn't load DLLs when this is set.
.long 0 # loaded time
.long 0 # Forwarder chain
.rva __libsqlite3_a_iname # imported dll's name
.rva fthunk # pointer to firstthunk
#Stuff for compatibility
.section .idata$5
fthunk:
.section .idata$4
hname:


Que dois-je faire ? ou plutôt qu'ai-je mal fait ?