Commit Graph

7 Commits

Author SHA1 Message Date
brendanzab
5f1dfc806f Set config vars for darwin in configure_cross
README.cross.md:
    Add darwin targets

tools/configure_cross:
    Add darwin platforms to case switch
2022-08-16 15:57:27 +10:00
Peter Wang
fbf862bf65 Relax regex to detect clang compiler.
tools/configure_cross:
    Relax regex to detect clang compiler on Debian.
2022-07-20 17:18:44 +10:00
Peter Wang
e6cd115484 Initial support for cross-compiling using clang.
README.cross.md:
    Add instructions for cross-compiling using clang.

tools/configure_cross:
    Adapt script to support a FreeBSD x86-64 target using clang.

NEWS:
    Announce change to script.
2022-07-18 17:50:47 +10:00
Peter Wang
5e3516ca5a Convert README.cross to markdown.
README.cross:
    Convert README.cross to markdown.

    Rename to README.cross.md.

.nocopyright:
README.MS-Windows:
README.md:
tools/configure_cross:
tools/copy_mercury_binaries:
    Update references to README.cross.
2022-07-18 17:41:46 +10:00
Dirk Ziegemeyer
c5ebef1698 Fix cross compiler config: static MXE target
The configure script for the cross compiler did not recognise MXE
targets with a '.static' suffix, e.g. --host=x86_64-w64-mingw32.static
Running the configure script with such a target resulted in an error
message, e.g. 'unknown host: x86_64-w64-mingw32.static'
See https://mxe.cc/ to find examples of valid MXE targets.

tools/configure_cross:
  As above.
2022-04-26 10:46:05 +10:00
Peter Wang
e3660d8ab9 Recognise aarch64-linux-musl in configure_cross script.
tools/configure_cross:
    Support aarch64-linux-musl as a target.

NEWS:
    Update announcement.
2021-10-21 13:39:13 +11:00
Peter Wang
b02816e7ac Support cross-compiling for Linux/Aarch64.
tools/configure_cross:
tools/configure_mingw_cross:
    Rename configure_mingw_cross to configure_cross.

    Support aarch64-linux-gnu as a target.

    Make the script recognise a --with-cc option.

README.cross:
    Rewrite instructions for building with a cross-compiler.

README.MinGW-cross:
    Delete old instructions.

.nocopyright:
README.MS-Windows
README.md:
    Replace references to README.MinGW-cross with README.cross.

NEWS:
    Announce change.
2021-05-04 10:37:02 +10:00