Ticket #3784 (closed bug: fixed)
--with-gmp-includes and --with-gmp-libraries don't affect the building process of integer-gmp/cbits/mkGmpDerivedConstants
| Reported by: | PHO | Owned by: | igloo |
|---|---|---|---|
| Priority: | normal | Milestone: | 6.12.2 |
| Component: | libraries/base | Version: | 6.12.1 |
| Keywords: | integer-gmp | Cc: | |
| Operating System: | Unknown/Multiple | Architecture: | Unknown/Multiple |
| Type of failure: | Building GHC failed | Difficulty: | |
| Test Case: | Blocked By: | ||
| Blocking: | Related Tickets: |
Description
Passing --with-gmp-includes and --with-gmp-libraries to the libraries/integer-gmp/configure doesn't affect the building process of cbits/mkGmpDerivedConstants:
"/usr/bin/gcc" libraries/integer-gmp/cbits/mkGmpDerivedConstants.c -o libraries/integer-gmp/cbits/mkGmpDerivedConstants libraries/integer-gmp/cbits/mkGmpDerivedConstants.c:15:17: error: gmp.h: No such file or directory
I could solve this problem by appendding the following line to libraries/integer-gmp/gmp/config.mk.in but I'm not sure this is the best way:
libraries/integer-gmp_CC_OPTS += @CPPFLAGS@ @LDFLAGS@
Change History
Note: See
TracTickets for help on using
tickets.
