I tried with the following flags :
gcc -arch x86_64 -o sqlite3.o sqlite3.c shell.c
and
> gcc -m32 -o sqlite3.o sqlite3.c shell.c
but both results in the same error.
Can you please help me solve this ?
On Thu, Jul 2, 2015 at 2:47 PM, Andy Ling wrote:
> > I get the following error while
Hi Andy,
I get the following error while trying to compile after linking with the
library
ld: warning: ignoring file
> /Users/prakash-2282/Downloads/sqlite-amalgamation-201506301510/libsqlite3.a,
> file was built for archive which is not the architecture being linked
> (x86_64):
> /Users/prakash-
Thanks a ton Andy for your reply.
can you specify how I should specify the include flags (-I).
The kore build complais that "sqlite3.h" header file is not found .
Thanks a lot for your time
On Thu, Jul 2, 2015 at 1:51 PM, Andy Ling wrote:
> > Can you please tell me how to compile it as a libra
Maybe this will help?
http://stackoverflow.com/questions/4234767/how-do-i-build-sqlite3-from-command-line
On Thu, Jul 2, 2015 at 10:25 AM, Prakash Premkumar
wrote:
> I tried with the following flags :
>
> gcc -arch x86_64 -o sqlite3.o sqlite3.c shell.c
>
>
> and
>
>
>> gcc -m32 -o sqlite3.o s
Thanks for your reply Kees.
I am using kore web server and I want to pass sqlite library in the LDFLAGS
option to the kore webserver. ( https://kore.io/doc/#cli )
For this purpose, I would like to compile it as a library, I wont be able
to pass the sqlite3.c in the list of sources.
Can you pleas
> I tried with the following flags :
>
> gcc -arch x86_64 -o sqlite3.o sqlite3.c shell.c
>
>
> and
>
>
> > gcc -m32 -o sqlite3.o sqlite3.c shell.c
>
>
> but both results in the same error.
>
> Can you please help me solve this ?
>
It's getting outside my level of expertise (and not rea
> I get the following error while trying to compile after linking with the
> library
>
> ld: warning: ignoring file
> > /Users/prakash-2282/Downloads/sqlite-amalgamation-
> 201506301510/libsqlite3.a,
> > file was built for archive which is not the architecture being linked
> > (x86_64):
> > /Users
> Thanks a ton Andy for your reply.
>
> can you specify how I should specify the include flags (-I).
> The kore build complais that "sqlite3.h" header file is not found .
>
Sounds like you need to read a few more manuals :^)
Normally there are compiler options that let you tell it which directo
> Can you please tell me how to compile it as a library on Mac OSX and Linux
> platforms ?
>
Use your favourite compiler to generate sqlite3.o then use ar to wrap
that up as a .a file. Give that file a name something like
libsqlite3.a and you will be able to add -Lsqlite3 to your LDFLAGS.
The ar
On Wed, 1 Jul 2015 14:28:37 +0530, Prakash Premkumar
wrote:
>Hi,
>
>Can you please tell me how to compile sqlite as a library and link with
>other applications using the "-L" flag ?
That depends on the operating system you want to use it on.
For many common platforms a precompiled binary is avai
Hi,
Can you please tell me how to compile sqlite as a library and link with
other applications using the "-L" flag ?
Thanks a lot for your time .
11 matches
Mail list logo