Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
quadmath.h: No such file or directory [SOLVED]
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Portage & Programming
View previous topic :: View next topic  
Author Message
fikiz
Apprentice
Apprentice


Joined: 07 Mar 2005
Posts: 282
Location: Italy

PostPosted: Tue Aug 26, 2014 6:49 pm    Post subject: quadmath.h: No such file or directory [SOLVED] Reply with quote

Hi everybody.

I'm struggling to enable libquadmath in my gcc installation. I cannot figure out the righe use-flag or package. Could you help me?

Thanks a lot.

Bye


Last edited by fikiz on Wed Aug 27, 2014 9:25 pm; edited 1 time in total
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Wed Aug 27, 2014 8:47 am    Post subject: Re: quadmath.h: No such file or directory Reply with quote

You should have some file like
Code:
/usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info/libquadmath.info.bz2
So you could find more info using
Code:
$ info libquadmath
Back to top
View user's profile Send private message
fikiz
Apprentice
Apprentice


Joined: 07 Mar 2005
Posts: 282
Location: Italy

PostPosted: Wed Aug 27, 2014 11:30 am    Post subject: Reply with quote

I do not have that file:

Code:
# ll /usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info/libquadmath.info.bz2
ls: cannot access /usr/share/gcc-data/x86_64-pc-linux-gnu/4.7.3/info/libquadmath.info.bz2: No such file or directory
# ll /usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.3/info/libquadmath.info.bz2
ls: cannot access /usr/share/gcc-data/x86_64-pc-linux-gnu/4.8.3/info/libquadmath.info.bz2: No such file or directory
Back to top
View user's profile Send private message
charles17
Advocate
Advocate


Joined: 02 Mar 2008
Posts: 3664

PostPosted: Wed Aug 27, 2014 4:01 pm    Post subject: Reply with quote

Maybe different gcc USE flags? Mine are from desktop profile
Code:
 $ emerge -pqv '=sys-devel/gcc-4.7.3-r1::gentoo'
[ebuild   R   ] sys-devel/gcc-4.7.3-r1  USE="cxx fortran (multilib) nptl openmp (-altivec) -awt -doc (-fixed-point) -gcj -go -graphite (-hardened) (-libssp) -mudflap (-multislot) -nls -nopie -nossp -objc -objc++ -objc-gc -regression-test -vanilla"
Back to top
View user's profile Send private message
fikiz
Apprentice
Apprentice


Joined: 07 Mar 2005
Posts: 282
Location: Italy

PostPosted: Wed Aug 27, 2014 9:24 pm    Post subject: Reply with quote

The fortran USE flag enables libquadmath. I was missing it.

Thank you for you help!

Bye
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Portage & Programming 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