Skip to content

--with-gmp-includes and --with-gmp-libraries don't affect the building process of integer-gmp/cbits/mkGmpDerivedConstants

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@
Trac metadata
Trac field Value
Version 6.12.1
Type Bug
TypeOfFailure OtherFailure
Priority normal
Resolution Unresolved
Component libraries/base
Test case
Differential revisions
BlockedBy
Related
Blocking
CC
Operating system
Architecture
To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information