Skip to content

Cross compilation Windows build quadmath problems #126

@Chris-SP365

Description

@Chris-SP365

I'm working on sqlite-jdbc-crypt and try to get up to date builds with current SQLite and current SQLite3MultipleCipher versions:

Since 1.6.3 there is a reference to quadmath for Windows 64 architectures in vsv.c:

https://github.com/utelle/SQLite3MultipleCiphers/blob/main/src/vsv.c

sqlite-jdbc-crypt uses Dockcross to compile to various architectures. When updated to 3.42.0 and 1.6.3 I get compile errors on Windows 64 builds.

The first one was a missing quadmath linker option on Windows x86-64. I added it and it worked.
The second problem is a missing quadmath.h header for Windows ARM-64. I tried various things:

  • Adding includes/options -> no success
  • Adding a quadmath.h -> Compile error "__float128 not supported"

Could you please tell me if Win ARM64 is a supported configuration?
Also could you elaborate why quadmath is only needed for Windows 64?

Thank you

Chris

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions