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

Static build? #19

Open
davidswelt opened this issue Feb 26, 2012 · 2 comments
Open

Static build? #19

davidswelt opened this issue Feb 26, 2012 · 2 comments

Comments

@davidswelt
Copy link

I like home brew, but would it be possible to get around issues with dependencies by simply providing statically linked binaries?

@jsnyder
Copy link
Owner

jsnyder commented Feb 28, 2012

I used to build all the the pre-requisites (at least on OS X) separately with only static libraries which yielded the result you're describing. I see that I'm now sucking in some dynamic library dependencies because the homebrew ports provide both static and dynamic libs.

I should be able to update those dependency builds (still in the Makefile, but probably broken) and at least provide that as an unsupported option and a way to properly make the binaries static.

@andersm
Copy link

andersm commented Dec 7, 2012

GCC comes with a script (contrib/download_prerequisites) that downloads the gmp/mpc/mpfr sources into the GCC sourcetree. The GCC build process then builds the libraries automatically as part of its normal build process.

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

3 participants