Gentoo Forums
Gentoo Forums
Gentoo Forums
Quick Search: in
no f77 on gcc (x86_64-pc-linux-gnu-3.4.2)
View unanswered posts
View posts from last 24 hours

 
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64
View previous topic :: View next topic  
Author Message
physeter
n00b
n00b


Joined: 16 Feb 2005
Posts: 3

PostPosted: Wed Feb 16, 2005 1:31 pm    Post subject: no f77 on gcc (x86_64-pc-linux-gnu-3.4.2) Reply with quote

Hi

I'm running gentoo on my dual opteron 248 machine. I've installed it from stage 3 and gcc x86_64-pc-linux-gnu-3.4.2 was installed by default.
Even though I had "fortran" and "f77" on USE, aparentely I don't have f77 running.
'gcc -v'shows ammong other things: "--enable-languages=c,c++"

I've tryed to emerge gcc using 'USE="fortran f77" emerge gcc' and it installed gcc x86_64-pc-linux-gnu-3.4.3 which has f77 but no cpp (--enable-languages=c,f77) !!!! :(
I don't have a clue about what I have to do to get gcc to compile c, c++ and fortran.

Part of the purpuse of all this is to try to emerge R, which aparentely doesn't work with f2c, wich I already installed. From my understanding of it R needs all three compilers to work.

Can anyone help me out with this?

Cheers
Back to top
View user's profile Send private message
Piotr_T
n00b
n00b


Joined: 13 Dec 2004
Posts: 18
Location: Warszawa

PostPosted: Wed Feb 16, 2005 4:06 pm    Post subject: Reply with quote

hi, I had the same problem when using stage3, the problem doesn't exist when i used stage1
Back to top
View user's profile Send private message
nexus780
Apprentice
Apprentice


Joined: 17 Sep 2004
Posts: 206
Location: Manchester

PostPosted: Wed Feb 16, 2005 4:09 pm    Post subject: Reply with quote

Sounds like a bug to me. What's your output on emerge -pv gcc?
Back to top
View user's profile Send private message
physeter
n00b
n00b


Joined: 16 Feb 2005
Posts: 3

PostPosted: Wed Feb 16, 2005 5:03 pm    Post subject: utput of emerge -pv gcc Reply with quote

This is the output of emerge -pv gcc:

These are the packages that I would merge, in order:

Calculating dependencies ...done!
[ebuild R ] sys-devel/gcc-3.4.3-r1 -bootstrap -boundschecking -build -debug +fortran -gcj +gtk* -hardened (-ip28) +multilib -multislot (-n32) (-n64) +nls +nocxx -objc -static (-uclibc) 0 kB

Total size of downloads: 0 kB
Back to top
View user's profile Send private message
nexus780
Apprentice
Apprentice


Joined: 17 Sep 2004
Posts: 206
Location: Manchester

PostPosted: Wed Feb 16, 2005 7:15 pm    Post subject: Reply with quote

Check the meaning of the USE flag nocxx (I hate these turned around flags, but nonetheless) ;)
Code:
cat /usr/portage/profiles/use.* | grep -i nocxx
Back to top
View user's profile Send private message
physeter
n00b
n00b


Joined: 16 Feb 2005
Posts: 3

PostPosted: Wed Feb 16, 2005 7:50 pm    Post subject: Reply with quote

The price you pay for stupidity is humiliation...!

I was actually aware of the existence of the nocxx flag and its “function” (!?). I was however so certain that I hadn’t checked it that I didn’t bother to have a look at it, but there it was in USE on my make.conf. Another lesson learned the hard way…! I removed ‘nocxx’ from my USE and re-emerged gcc and voila:
‘--enable-languages=c,c++,f77’

anyway, thanks for lokking at this.
Back to top
View user's profile Send private message
alet_roux
n00b
n00b


Joined: 12 Oct 2004
Posts: 54

PostPosted: Thu Feb 24, 2005 9:55 am    Post subject: Try USE=g77? Reply with quote

It seems you've solved your problem. For the record, I installed R a month ago, no problems, after using USE-flag g77 (not f77). Upgraded to R 2.0.0 last night, and it all works beautifully.
Back to top
View user's profile Send private message
Display posts from previous:   
Reply to topic    Gentoo Forums Forum Index Gentoo on AMD64 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