hi I modified the code sqlite3.c according to you method, as follow
<http://fossil-scm.org/index.html/vpatch?from=dd5743a8239d1ce9&to=b68f65bb69a098a1> or <http://fossil-scm.org/index.html/info/c2d4bd7365> I test you method in workbench3.2(vxworks6.8) , the build macros which I used in build properties is : -DOS_VXWORKS=1 -DSQLITE_THREADSAFE=0 -DSQLITE_OMIT_LOAD_EXTENSION -DHAVE_UTIME but it still have some problems. 1. if I do as follows: rc = sqlite3_open("D:\\WindRiver\\SqliteOne.db",&db); it tell me the error can not open the database. 2. if I do as follows: rc = sqlite3_open("SqliteOne.db",&db); this will be ok . but when I do the following thing sql = " create table stu(i int, name text);"; rc = sqlite3_exec(db,sql,NULL,NULL,&err); it tell me the error : disk I / O error. 在 2014-08-12 08:10:13,"Jan Nijtmans" <jan.nijtm...@gmail.com> 写道: 2014-08-03 9:56 GMT+02:00 Jan Nijtmans <jan.nijtm...@gmail.com>: 2014-08-02 16:00 GMT+02:00 王庆刚 <2004wqg2...@163.com>: > hi , Can Sqlite3.c and sqlite.h be compiled in Workbench3.2 for > Vxworks6.8 ? > When I compile them , there have so many problems . You can find the necessary changes here: <http://fossil-scm.org/index.html/vpatch?from=dd5743a8239d1ce9&to=b68f65bb69a098a1> thanks to Andy Ling. Still has to be reviewed by the SQLite developers for inclusion in 3.8.6 (not tested yet on other platforms than vxworks, win32/64 and Linux, there it works fine) New attempt here, base on current SQLite trunk: <http://fossil-scm.org/index.html/info/c2d4bd7365> Regards, Jan Nijtmans _______________________________________________ sqlite-users mailing list sqlite-users@sqlite.org http://sqlite.org:8080/cgi-bin/mailman/listinfo/sqlite-users