> 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 really sqlite specific). Try googling, there are lots of results. Maybe something like this will help https://github.com/tpoechtrager/osxcross/issues/11 Regards Andy Ling --------------------------------------------------------------------------------------- This email has been scanned for email related threats and delivered safely by Mimecast. For more information please visit http://www.mimecast.com ---------------------------------------------------------------------------------------