Skip to content

Add support for cross compiling from linux for windows (only header-only libraries supported) #15

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

Merged
merged 1 commit into from
Jul 29, 2015

Conversation

R1tschY
Copy link
Contributor

@R1tschY R1tschY commented Jul 29, 2015

Fixes #14 . Fixes the problem for header-only libraries only.

@Manu343726
Copy link
Contributor

Thanks for your work, cross compiling was in the roadmap since the very beginning, but I had no time enough to check it out. I will merge this even if the ci tests are not passing. The current travis setup bootstraps builds for the examples by committing and pushing to their repos, so you need credentials (Git user, email, and github password) in order to run the builds. I should update the docs, sending PRs to a develop branch would allow me to run tests prior merging to master.

Also note merging does not push changes to biicode cloud. I will be much more conservative here since changing the Boost scripts may break a lot of user code. OTOH your changes are simple and shouldn't break anything.

Manu343726 added a commit that referenced this pull request Jul 29, 2015
Add support for cross compiling from linux for windows (only header-only libraries supported)
@Manu343726 Manu343726 merged commit becde75 into biicode:master Jul 29, 2015
@Manu343726
Copy link
Contributor

Only one question: What means it works for header only libs only? In that cases you don't actually build anything from Boost, so what's the point of cross-compiling?

@R1tschY
Copy link
Contributor Author

R1tschY commented Jul 29, 2015

Only one question: What means it works for header only libs only? In that cases you don't actually build anything from Boost, so what's the point of cross-compiling?

When you cross compile a application, but you only use a header-only boost library (e.x. signals2), this pull request is needed to compile. The reason is that bootstrapping is also done when no boost library must be compiled. I added #17, but its a more complicated pull request so I separated it in two pull requests.

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