| 
		    
                    
   注: 
  1、 在uclinux下的sqlite的Makefile将不去用到TCL相关的库。 
  2、 在uclinux下的sqlite的Makefile将不去用到readline()。 
  在sqlite/README中有关于Makefile的一段描述: 
 
    
        
            | The configure script uses autoconf 2.50 and libtool. If the configure script does not work out for you, there is a generic makefile named "Makefile.linux-gcc" in the top directory of the source tree that you can copy and edit to suite your needs. Comments on the generic makefile show what changes are needed. | 
         
    
 
  你可以用sqlite/Makefile.linux-gcc作为蓝本来修改适合你自己的Makefile。 
  你如果有兴趣的话,可以把上面的Makefile的内容和sqlite/Makefile.linux-gcc内容diff对比一下,看看uclinux下的sqlite编译有哪些不同的地方。 
  三、修改sqlite/src/os.c 
  如果你的sqlite包中包括os.c文件那么就对其进行修改,没有os.c文件可能是你的sqlite版本比较新,那么无须修改。 
  将所有你找到的: 
 
  用: 
 
    
        
            | if( s!=0 && errno != ENOSYS ) | 
         
    
 
  替换。 
  四、修改sqlite/src/shell.c 
  1、struct previous_mode_data 结构定义项: 
  将 int colWidth[100]; 
  用 int colWidth[20]; 
  替换。 
  2、struct callback_data 结构定义项 
  将: 
 
    
        
            int colWidth[100]; int actualWidth[100]; char outfile[FILENAME_MAX]; | 
         
    
 
		    
                       
		      
		      
		   |