Various patches to support android cross compilation
ClosedPublic

Authored by angerman on Mar 16 2017, 10:55 PM.

Details

Summary
  • Better test for SHT_INIT_ARRAY than openbsd_HOST_OS This is actually bens patch: https://gist.github.com/bgamari/c846e6a5f2cd988716cd5e36c68d5bef
  • linux-android defines.
  • No need for -lpthread on OSAndroid However, I’m confused why we do not use the AC NEED_PTHREAD_LIB value here?
  • Use mmap on android
  • Support none vendor.

Diff Detail

Repository
rGHC Glasgow Haskell Compiler
Lint
Automatic diff as part of commit; lint not applicable.
Unit
Automatic diff as part of commit; unit tests not applicable.
angerman created this revision.Mar 16 2017, 10:55 PM
bgamari accepted this revision.Mar 29 2017, 4:24 PM

Indeed these all look reasonable.

This revision is now accepted and ready to land.Mar 29 2017, 4:24 PM
This revision was automatically updated to reflect the committed changes.