BiotRock using 32 bit /lib while created for 64 bit.


1 comment

  • Avatar

    The installer for Linux can be built as 32bit and 64bit application, depending on build platform chosen when building the installer.

    When specifying Linux as target from GUI (linux from command line) the installer is built as 32bit application. When choosing Linux x86 64 bits from GUI (linux-x64 from command line), the installer is built as 64bit application.

    Building with the linux-x64 target creates an installer that only runs on 64-bit Linux systems, but uses 64-bit libraries and does not require the user to have 64-bit binaries installed as well. This is the recommended approach if your application will have separate installer for 64-bit and 32-bit Linux, or if your application does not support 32-bit Linux at all.

    Building linux (32bit) allows creating an universal installer if the application can ship as both 32-bit and 64-bit application - simply use <isPlatform type="linux-x64"/> to check if target machine is 64-bit and `<isplatform type="linux-x64" negate="1"/> to check if it is 32-bit.

    This way certain folders or actions can be run only for 32-bit or 64-bit platforms while some files (such as common ones) can be installed in both cases.

    Depending on your specific requirements, building universal installer or two installers (one for 32-bit and one for 64-bit) may be a better or worse option.

Please sign in to leave a comment.