[sqlite] Cross-compiling fails.

2017-12-05 Thread Alastair Growcott
Cross-compiling sqlite3 fails due to the use of binaries in the build process that are generated during the build process. Specifically:     mksourceid     lemon The configure script explicitly offers the "--host=" option to allow cross-compiling. If cross-compiling is not supported then this

Re: [sqlite] Cross-compiling fails.

2017-12-06 Thread Alastair Growcott
s-compiling it separately will work. The generated sqlite3.c has some platform dependent stuff (selective header inclusion as per above) in it. Senior Software Engineer H Scientific Ltd 023 9226 7607 www.h-scientific.co.uk On 06/12/2017 02:10, Richard Hipp wrote: On 12/4/17, Alastair Growcott

Re: [sqlite] Cross-compiling fails.

2017-12-06 Thread Alastair Growcott
do was to create a symlink or something from lemon to lemon.exe and the same for mksourceid, plus of course fixing the calculation of TARGET_EXEEXT which just needs to be the same as EXEEXT, or even better just use EXEEXT and not TARGET_EXEEXT. Senior Software Engineer H Scientific Ltd 023 9226 7

Re: [sqlite] Cross-compiling fails.

2017-12-06 Thread Alastair Growcott
working on my system and configuration. Needs additional testing once properly implemented the TODO. Senior Software Engineer H Scientific Ltd 023 9226 7607 www.h-scientific.co.uk On 06/12/2017 08:24, Richard Hipp wrote: On 12/6/17, Alastair Growcott wrote: To avoid confusion I recommend that you r