Skip to content
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

configure: Support toysh and *-redhat-linux target #3

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AlbydST
Copy link

@AlbydST AlbydST commented Nov 17, 2024

Thank you for your time and effort on cproc!

I applied the following changes to the configure script:

  • Fixed running with toysh (Toybox's built-in shell).
  • Added support for the *-redhat-linux target (Used by Fedora & RHEL)
  • Added a --help option to list all available options
  • Added a --ignore-unknown-opts option to ignore unknown options
  • When building for the host, the script now checks if the compiler, preprocessor, assembler, linker and qbe are installed. This can be turned off with the --skip-checks option.
  • Added an end message which lists configuration options and their values. It also says if cproc is being cross-compiled or not.

I've verified that the script runs on coreutils, busybox, toybox and sbase to make sure it can run everywhere.

One thing I noticed while editing the script is that cproc does not have the -dumpmachine option which the script uses to determine the host.

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.

1 participant