#1 2016-09-08 09:17:04

esmondb
Member
From: London
Registered: 2010-07-20
Posts: 299

compiling sqlite

I've noticed that c.bat in the sqlite folder has been edited and seems to point to a different compiler. Does it not use the free borland C++ builder 5.5 anymore?

Offline

#2 2016-09-08 11:43:19

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,225
Website

Re: compiling sqlite

It is the command line compiler of C++ BuilderXE7.
But you can point to the C++ Builder 5.5 older version if you want.
In practice, code generation is almost the same.

I was not able to use the latest C++ Builder 10.1 command line compiler as proposed for free at https://www.embarcadero.com/fr/free-tools/ccompiler
We had unexpected static linking issues... due to the CLang/LLVM back-end change.

Sounds like if the SQLite3 obj (quite old BTW) supplied with FireDAC were compiled with VC++ !

For FPC, we use MingGW (and gcc under Linux).

Offline

#3 2016-09-08 12:29:11

esmondb
Member
From: London
Registered: 2010-07-20
Posts: 299

Re: compiling sqlite

I'm only licensed up to XE2 so will probably use the pre-complied version here . But I see I can remove the 'rem's in the bat file to go back to the old Borland version.
Thanks,
smile Esmond

Offline

#4 2016-09-08 12:34:04

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,225
Website

Re: compiling sqlite

My guess is that XE2 C++ code generation is almost identical to XE7, since even BCC 5.5 was pretty close...

Offline

#5 2016-09-08 13:01:19

miab3
Member
From: Poland
Registered: 2014-10-01
Posts: 188

Re: compiling sqlite

And where to get the 64-bit (static) compilation?

Michal

Last edited by miab3 (2016-09-08 13:02:48)

Offline

#6 2016-09-08 16:04:57

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,225
Website

Re: compiling sqlite

The 64-bit static compilation is available for FPC (Linux+Win64), but there are still linking problems with Delphi Win64.

Offline

#7 2016-10-04 10:04:51

esmondb
Member
From: London
Registered: 2010-07-20
Posts: 299

Re: compiling sqlite

I've just seen this post on the embarcadero web site: https://www.embarcadero.com/br/products … tarter-faq
Can this free edition be used to compile SQLite?

Offline

#8 2016-10-05 07:33:29

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,225
Website

Re: compiling sqlite

This starter edition is for Win32 only.
I've tried, and had issues with the latest C++ compiler: it is very difficult to statically link, since the LLVM backend has much more dependencies than the previous generation compiler.

Offline

#9 2017-06-05 18:58:53

eraldo
Member
From: Brasil
Registered: 2010-07-22
Posts: 69
Website

Re: compiling sqlite

Hi Dear Administrator,

The sqlite3obj.7z is outdated.

Offline

#10 2017-06-06 06:53:11

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,225
Website

Re: compiling sqlite

You are right.
I will refresh the files soon.

In the meanwhile, you can get the right files from https://github.com/synopse/mORMot/blob/ … e3fts3.obj

Offline

#11 2017-06-07 07:37:01

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,225
Website

Re: compiling sqlite

The .7z files have been updated.

Sorry for the delay!

Offline

#12 2017-06-08 01:03:02

eraldo
Member
From: Brasil
Registered: 2010-07-22
Posts: 69
Website

Re: compiling sqlite

Thank you very much.
God bless you

Offline

Board footer

Powered by FluxBB