View previous topic :: View next topic |
Author |
Message |
physeter n00b
Joined: 16 Feb 2005 Posts: 3
|
Posted: Wed Feb 16, 2005 1:31 pm Post subject: no f77 on gcc (x86_64-pc-linux-gnu-3.4.2) |
|
|
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 |
|
|
Piotr_T n00b
Joined: 13 Dec 2004 Posts: 18 Location: Warszawa
|
Posted: Wed Feb 16, 2005 4:06 pm Post subject: |
|
|
hi, I had the same problem when using stage3, the problem doesn't exist when i used stage1 |
|
Back to top |
|
|
nexus780 Apprentice
Joined: 17 Sep 2004 Posts: 206 Location: Manchester
|
Posted: Wed Feb 16, 2005 4:09 pm Post subject: |
|
|
Sounds like a bug to me. What's your output on emerge -pv gcc? |
|
Back to top |
|
|
physeter n00b
Joined: 16 Feb 2005 Posts: 3
|
Posted: Wed Feb 16, 2005 5:03 pm Post subject: utput of emerge -pv gcc |
|
|
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 |
|
|
nexus780 Apprentice
Joined: 17 Sep 2004 Posts: 206 Location: Manchester
|
Posted: Wed Feb 16, 2005 7:15 pm Post subject: |
|
|
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 |
|
|
physeter n00b
Joined: 16 Feb 2005 Posts: 3
|
Posted: Wed Feb 16, 2005 7:50 pm Post subject: |
|
|
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 hadnt checked it that I didnt 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 |
|
|
alet_roux n00b
Joined: 12 Oct 2004 Posts: 54
|
Posted: Thu Feb 24, 2005 9:55 am Post subject: Try USE=g77? |
|
|
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 |
|
|
|