Merged
Conversation
- Introduce a Makeconf/configure.sh combo invoked automatically by 'make'. - Default for 'make' is to only build targets applicable to the build OS. - "Compiler-provided" headers are now copied in configure.sh to include-host/ for in-tree builds, and installed by OPAM to $(OPAM_INCDIR)/include/host. - Only Linux/gcc and FreeVSD/clang are supported.
hannesm
reviewed
Oct 14, 2016
configure.sh
Outdated
| INCDIR=/usr/include | ||
| SRCS_MACH="machine/_stdint.h machine/_types.h machine/endian.h \ | ||
| machine/_limits.h" | ||
| SRCS_SYS="sys/_null.h sys/_stdint.h sys/_types.h sys/cdefs.h" |
Contributor
There was a problem hiding this comment.
nocrypto (or zarith or gmp or whatever other dependency) also needs sys/endian.h (sorry that my blog article is out of date)
Member
Author
There was a problem hiding this comment.
thx. will check those, only tested building console so far...
Member
Author
There was a problem hiding this comment.
nolibc provides a sys/endian.h, and gmp seems to build fine with that provided I add the CC=cc change
Member
Author
There was a problem hiding this comment.
ok, it turns out nocrypto needs a sys/endian.h on FreeBSD, added
Contributor
|
Thanks for doing this work (and sorry that I've been too lazy to do it myself) |
17 tasks
Contributor
|
I confirm that this works on my -CURRENT system! |
This was referenced Oct 18, 2016
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
for in-tree builds, and installed by OPAM to $(OPAM_INCDIR)/include/host.