Skip to content

Build on GNU Hurd.#36

Open
ieure wants to merge 1 commit into
kristapsdz:masterfrom
ieure:hurd
Open

Build on GNU Hurd.#36
ieure wants to merge 1 commit into
kristapsdz:masterfrom
ieure:hurd

Conversation

@ieure

@ieure ieure commented May 30, 2026

Copy link
Copy Markdown

This oneliner makes openrsync build on GNU Hurd, which needs _GNU_SOURCE set, the same as Linux.

This oneliner makes openrsync build on GNU Hurd, which needs
`_GNU_SOURCE` set, the same as Linux.
@kristapsdz

Copy link
Copy Markdown
Owner

Can I ask you to bring this up on https://github.com/kristapsdz/oconfigure? That's where this script comes from. I'd love to have proper support for Hurd!

@ieure

ieure commented May 31, 2026

Copy link
Copy Markdown
Author

Can I ask you to bring this up on https://github.com/kristapsdz/oconfigure? That's where this script comes from. I'd love to have proper support for Hurd!

For sure, thank you for the redirect!

@yelninei

Copy link
Copy Markdown

@ieure If you need help with the oconfigure tests let me know. I have not looked at it yet but probably following what is done for linux/glibc is enough

ieure added a commit to ieure/oconfigure that referenced this pull request May 31, 2026
Extend the existing `#ifdef` for Linux / MINT / WASI to check
`__GNU__`, which sets the `_GNU_SOURCE` define needed to build on
Hurd.

Regenerate `configure` after that change.

re kristapsdz/openrsync#36
ieure added a commit to ieure/oconfigure that referenced this pull request May 31, 2026
Extend the existing `#ifdef` for Linux / MINT / WASI to check
`__GNU__`, which sets the `_GNU_SOURCE` define needed to build on
Hurd.

Regenerate `configure` after that change.

re kristapsdz/openrsync#36
@ieure

ieure commented May 31, 2026

Copy link
Copy Markdown
Author

@ieure If you need help with the oconfigure tests let me know. I have not looked at it yet but probably following what is done for linux/glibc is enough

Would be greatly appreciated, since I don't have a Hurd setup. I opened kristapsdz.oconfigure#29, if you want to run those tests, that's be great. Looks like ./configure && make regress inside a guix shell gcc-toolchain is all that's needed.

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.

3 participants