Note that there are some explanatory texts on larger screens.

plurals
  1. POSqlite 3.7.15 Crosss compilation for ARM
    primarykey
    data
    text
    <p>I am using SQLite 3 for Database management in my ARM9 based microprocessor.</p> <p>I want to cross compile the latest version of the SQLite 3 for my project in Linux (Ubuntu 10.04). I am using the <code>arm-none-linux-gnueabi-gcc compiler</code> for development.</p> <p>I tried to cross compile using following commands,</p> <p>Downloaded the <code>sqlite-amalgamation-3.7.0.tar</code> I extract it and then write the following command on Terminal,</p> <pre><code>sudo ./configure --exec-prefix=/media/8CCC8E9BCC8E7F68/SQLIte3/sqliteinstall/ --host=arm --target=arm CC=/opt/arm-2011.03/bin/arm-none-linux-gnueabi-gcc AR=/opt/arm-2011.03/bin/arm-none-linux-gnueabi-ar STRIP=/opt/arm-2011.03/bin/arm-none-linux-gnueabi-strip RANLIB=/opt/arm-2011.03/bin/arm-none-linux-gnueabi-ranlib CFLAGS="-Os" </code></pre> <p>It successfully cross compiled the SQLite. </p> <p>Then,</p> <p><code>sudo make</code> command.</p> <p>It successfully run.</p> <p>Now "make install " command.</p> <p>It did not give me an error but when i went to the config.log file i found there is some sentences as following,</p> <p>1.conftest.c:17:7: error: size of array 'off_t_is_large' is negative 2.conftest.c:12:28: fatal error: ac_nonexistent.h: No such file or directory compilation terminated. 3.conftest.cpp:23:28: error: ac_nonexistent.h: No such file or directory 4.conftest.c:67:13: error: invalid type argument of unary '*' (have 'int')</p> <p>I doubt that weather it has been cross compiled properly or not. I can not understand.</p> <p>I inserted the library on my board it works fine but the problem is that the speed got very slow. I think there is some problem that i have not set any flags for the GCC compiler.</p> <p>I could not find any options.How I can set the particular flags for the GCC compiler so that unnecessary features can be omitted.</p>
    singulars
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    plurals
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
    1. This table or related slice is empty.
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload