Skip to content

Conversation

apg
Copy link

@apg apg commented Nov 11, 2023

  • Update all the makefiles to reference $(MAKE) in case you invoked the build with gmake (as on OpenBSD)
  • Prefer cc on OpenBSD, and update the mosmlc.tpl parameterize CC
  • Support PREFIX=/path/ make world install
  • Remove warnings from sizes.c test with %ld instead of %d.
  • Ensure $cc is used instead of hardcoded gcc in autoconf

With this, I'm able to gmake world and install on the latest OpenBSD. I can test this, also on Linux, but I don't have access to other machine types at the moment to ensure I didn't break anything.

@kfl kfl self-assigned this Nov 11, 2023
@apg apg force-pushed the apg/openbsd-llvm branch from ae4cc8a to 8b5c446 Compare November 11, 2023 16:21
- Update all the makefiles to reference $(MAKE) in case you invoked
  the build with `gmake` (as on OpenBSD)
- Prefer `cc` on OpenBSD, and update the mosmlc.tpl parameterize CC
- Support PREFIX=/path/ make world install
- Remove warnings from sizes.c test with %ld instead of %d.
- Ensure $cc is used instead of hardcoded gcc in autoconf
@apg apg force-pushed the apg/openbsd-llvm branch from 8b5c446 to bc79f9e Compare November 12, 2023 07:58
@apg
Copy link
Author

apg commented Nov 12, 2023

I think I found the issue. Sorry for the force push. -Wnone... which I may have hallucinated ... as gcc errors, and I don't see it in the LLVM docs.

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