Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
解决在龙芯2f小本上编译mpir-3.0.0-r1失败的问题
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese)
View previous topic :: View next topic  
Author Message
emtone
n00b
n00b


Joined: 11 Apr 2017
Posts: 44

PostPosted: Sat Dec 30, 2023 3:06 am    Post subject: 解决在龙芯2f小本上编译mpir-3.0.0-r1失败的问题 Reply with quote

编译报错:
Quote:
checking size of mp_limb_t... 4
configure: error: Oops, mp_limb_t is 32 bits, but the assembler code
in this configuration expects 64 bits.
You appear to have set $CFLAGS, perhaps you also need to tell GMP the
intended ABI, see "ABI and ISA" in the manual.


在/etc/portage/make.conf中增加MPIRABI="n32"然后重新编译就可以了
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index 中文 (Chinese) All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum