-
Notifications
You must be signed in to change notification settings - Fork 16
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Update README.md #4
base: master
Are you sure you want to change the base?
Conversation
add instructions for cross platform using.
@@ -5,6 +5,14 @@ Hungry Birds | |||
This package implements an unbounded lockless single consumer | |||
multiple producer FIFO queue. | |||
|
|||
|
|||
Install |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Replace "Install" with "Build".
|
||
Install | ||
--------- | ||
Follwing instructions are for cross platform consideration, |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
To compile "hungry-birds" with different configurations, we need the following.
Follwing instructions are for cross platform consideration, | ||
|
||
1. Header file `stdatomic.h` is only available for gcc>=4.9 according to [C++11 Support in GCC](https://gcc.gnu.org/projects/cxx-status.html#cxx11), so gcc<=4.8 is not supported. | ||
2. On Mac, replace `#include <malloc.h>` with `#include <sys/malloc.h>`. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"Mac" is not an environment. Instead, specify MacOS X or macOS.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
You should send pull request(s) to enable MacOS X build.
add instructions for cross platform using.