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

Binaries for build->build tools #3282

Closed
Ericson2314 opened this issue Mar 21, 2018 · 3 comments
Closed

Binaries for build->build tools #3282

Ericson2314 opened this issue Mar 21, 2018 · 3 comments

Comments

@Ericson2314
Copy link
Member

Ericson2314 commented Mar 21, 2018

The cross documentation mentions the [binaries] section of the cross file, along with native : true for building build tools. But how are the tools for those native builds chosen? Just as autoconf has support for various *_FOR_BUILD variables (like CC_FOR_BUILD), I think it would be best to support [binaries_for_build] for that purpose. Maybe [binaries] could be renamed [binaries_for_host] for consistency, too.

CC @eternaleye

@Ericson2314
Copy link
Member Author

NixOS/nixpkgs#39936 (comment) leads me to wonder what CC and friends do in the presence of a cross-file.conf. If those variables do indeed set the native tools, that's a fairly serious inconsistency.

@nirbheek
Copy link
Member

nirbheek commented Aug 7, 2018

Let's discuss this on #3969.

@Ericson2314
Copy link
Member Author

Quite separate from #3969, native files have a [binaries] section, so this is totally done.

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

No branches or pull requests

2 participants