Opened 15 years ago
Closed 15 years ago
#215 closed task (fixed)
First build of GMP unnecessarily bloated
Reported by: | eikniw | Owned by: | |
---|---|---|---|
Priority: | trivial | Milestone: | CLFS Standard 1.2.0 |
Component: | BOOK | Version: | CLFS Standard GIT |
Keywords: | Cc: |
Description
In the native book, section 5.7, GMP is built with --enable-cxx --enable-mpbsd, which both build extra libraries to support some weird programs. In the final build of GMP, that makes sense, but this early, the only reason GMP is built at all is because GCC requires it. And GCC definitely does not use either of these extra libraries, just the standard libgmp. Could save a little bit of time by cutting these two flags from the build...
Change History (2)
comment:1 by , 15 years ago
comment:2 by , 15 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
Note:
See TracTickets
for help on using tickets.
This doesn't affect the book, per se, but it likely will in the future. As of GCC 4.4, the GCC devs have decided to look for CLooG and PPL in order to assist with loop rewriting (I guess), which means that these two libraries are likely to become hard deps in the 4.5 or 4.6 timeframe. PPL seeks the GMP C++ library, so it should likely be left as futureproofing, but I the MPBSD library is still unnecessary. This doesn't exactly change the present situation, but it's worth noting for the future....