Skip to content

Conversation

@jeking3
Copy link
Contributor

@jeking3 jeking3 commented Oct 19, 2017

Currently this is binary without any versioning information.
Once I get more information about versioning I will add it later.
See: NuxiNL/cloudabi#3

I set up the cross-compile environment and was able to get info_as_c to indicate the platform was BOOST_PLAT_CLOUDABI.

Adds: BOOST_PLAT_CLOUDABI (not versioned) and BOOST_LIB_C_CLOUDABI with major and minor version based off NuxiNL/cloudlibc@20e1f13.

@jeking3 jeking3 changed the title Platform detection for CloudABI (FOSS) Platform detection for CloudABI and cloudlibc (FOSS) Oct 21, 2017
jeking3 referenced this pull request in NuxiNL/cloudlibc Oct 21, 2017
Right now Clang already exports the __CloudABI__ definition. That said,
CloudABI is technically speaking separate from this project. Add
__cloudlibc__ to check for this C library specifically. While there,
also report the major and minor numbers, so code can add compatibility
checks if needed.

Fixes: #9
@jeking3
Copy link
Contributor Author

jeking3 commented Oct 21, 2017

@grafikrobot build failures appear to be environmental.

@grafikrobot grafikrobot merged commit 6f8a9ae into boostorg:develop Oct 23, 2017
@jeking3 jeking3 deleted the cloudabi-platform branch October 23, 2017 18:55
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants