[Reprint] how to compile SQLite

Source: Internet
Author: User
First download sqlite_source.zip from the official website. Note that it is not .tar.gz because the file is not for Windows platforms. Of course, you can also download from me, or click the connection below download: http://tcwin.yuxa.com//Soft/DataBase/Sqlite/sqlite-source-3_2_1.zip

Now we can start the project. First, You Need To uncompress the package. Next, open the Object Storage Service (ASR) and follow the steps below:

1. File-> New-> Project

2. In the displayed dialog box, enter the project name and save the path. Select static library (LIB) in the type of project group to create a static library.

3. A dialog box for selecting files is displayed, except shell. C and tclsqlite. C. All files. Select open.

4. Click OK in the pop-up dialog box.

5. In the compiler config dialog box that appears, select use puninto proinstruction (use the Pentium command) Eliminate unused assignment (delete unnecessary information) Optimize (CodeOther check boxes are not selected. Click next and then finish.

6. compile!

Okay, now you have the static library you want.ProgramIf SQLite is used, you only need to connect the static library in the connection option, and the program you compile will no longer support the sqlite3.dll file. Is it nice?

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.