arm-eabi-toolchain icon indicating copy to clipboard operation
arm-eabi-toolchain copied to clipboard

Static build?

Open davidswelt opened this issue 12 years ago • 2 comments

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

davidswelt avatar Feb 26 '12 14:02 davidswelt

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.

jsnyder avatar Feb 28 '12 04:02 jsnyder

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.

andersm avatar Dec 07 '12 22:12 andersm