Forums

Skip to content

Advanced search
  • Quick links
    • Unanswered topics
    • Active topics
    • Search
  • FAQ
  • Login
  • Register
  • Board index Assistance Portage & Programming
  • Search

gfortran [solved]

Problems with emerge or ebuilds? Have a basic programming question about C, PHP, Perl, BASH or something else?
Post Reply
Advanced search
7 posts • Page 1 of 1
Author
Message
_Max_
Apprentice
Apprentice
Posts: 264
Joined: Mon Mar 03, 2003 3:48 pm
Location: London, UK

gfortran [solved]

  • Quote

Post by _Max_ » Fri Oct 28, 2005 11:57 am

Hi,

I need to compile some Fortran 90 code, and was wondering what the best way to do that would be (preferably without borking my system).

Is it safe to install gcc 4 (which includes gfortran?) - it has a weird keyword, and seems to depend on unstable libraries. I would not want to use gcc 4 for the system, only for the fortran code.

What's the best way to do this?

Thanks,

_Max_
Last edited by _Max_ on Fri Oct 28, 2005 3:02 pm, edited 1 time in total.
Ceci n'est pas une sig.
Top
thersites
Tux's lil' helper
Tux's lil' helper
Posts: 101
Joined: Tue Oct 12, 2004 10:12 pm
Location: South West China

  • Quote

Post by thersites » Fri Oct 28, 2005 1:37 pm

you could install gcc-4 in a chroot.
AFAIK - you have to install dev-libs/mpfr before gmp, which "USE=fortran emerge gcc" calls
Top
_Max_
Apprentice
Apprentice
Posts: 264
Joined: Mon Mar 03, 2003 3:48 pm
Location: London, UK

  • Quote

Post by _Max_ » Fri Oct 28, 2005 1:52 pm

gcc-4 also seems to depend on an unstable version of binutils. If I put all the appropriate packages/ keywords into package.keywords, emerge -pv \>gcc-4 seems to want to upgrade binutils (which I would rather not).

So how do I go about installing gcc-4 in a chroot? By hand, or is there now some feature in portage that will make this easy?
Ceci n'est pas une sig.
Top
limn
l33t
l33t
Posts: 997
Joined: Fri May 13, 2005 8:08 pm

  • Quote

Post by limn » Fri Oct 28, 2005 2:50 pm

Were I you, I would consider installing a binary.
Top
_Max_
Apprentice
Apprentice
Posts: 264
Joined: Mon Mar 03, 2003 3:48 pm
Location: London, UK

  • Quote

Post by _Max_ » Fri Oct 28, 2005 3:02 pm

Yes, yes, yes... Just what I needed - thank you!
...
Pure genius.
Ceci n'est pas une sig.
Top
Blood Fluke
Apprentice
Apprentice
User avatar
Posts: 224
Joined: Thu Sep 15, 2005 10:59 pm
Contact:
Contact Blood Fluke
Website

Re: gfortran [solved]

  • Quote

Post by Blood Fluke » Fri Oct 28, 2005 7:58 pm

_Max_ wrote: Is it safe to install gcc 4 (which includes gfortran?) - it has a weird keyword, and seems to depend on unstable libraries. I would not want to use gcc 4 for the system, only for the fortran code.
GNU Fortran is not in a usable state.

I suggest you download the free trial of Intel Fortran.
Top
_Max_
Apprentice
Apprentice
Posts: 264
Joined: Mon Mar 03, 2003 3:48 pm
Location: London, UK

  • Quote

Post by _Max_ » Sun Oct 30, 2005 12:39 pm

Thanks for pointing that out. I installed ifc 7 as well, and now have g95, gfortran, and ifc 7. I guess the intel is likely to be the most reliable. Let's see then...
Ceci n'est pas une sig.
Top
Post Reply

7 posts • Page 1 of 1

Return to “Portage & Programming”

Jump to
  • Assistance
  • ↳   News & Announcements
  • ↳   Frequently Asked Questions
  • ↳   Installing Gentoo
  • ↳   Multimedia
  • ↳   Desktop Environments
  • ↳   Networking & Security
  • ↳   Kernel & Hardware
  • ↳   Portage & Programming
  • ↳   Gamers & Players
  • ↳   Other Things Gentoo
  • ↳   Unsupported Software
  • Discussion & Documentation
  • ↳   Documentation, Tips & Tricks
  • ↳   Gentoo Chat
  • ↳   Gentoo Forums Feedback
  • ↳   Duplicate Threads
  • International Gentoo Users
  • ↳   中文 (Chinese)
  • ↳   Dutch
  • ↳   Finnish
  • ↳   French
  • ↳   Deutsches Forum (German)
  • ↳   Diskussionsforum
  • ↳   Deutsche Dokumentation
  • ↳   Greek
  • ↳   Forum italiano (Italian)
  • ↳   Forum di discussione italiano
  • ↳   Risorse italiane (documentazione e tools)
  • ↳   Polskie forum (Polish)
  • ↳   Instalacja i sprzęt
  • ↳   Polish OTW
  • ↳   Portuguese
  • ↳   Documentação, Ferramentas e Dicas
  • ↳   Russian
  • ↳   Scandinavian
  • ↳   Spanish
  • ↳   Other Languages
  • Architectures & Platforms
  • ↳   Gentoo on ARM
  • ↳   Gentoo on PPC
  • ↳   Gentoo on Sparc
  • ↳   Gentoo on Alternative Architectures
  • ↳   Gentoo on AMD64
  • ↳   Gentoo for Mac OS X (Portage for Mac OS X)
  • Board index
  • All times are UTC
  • Delete cookies

© 2001–2026 Gentoo Foundation, Inc.

Powered by phpBB® Forum Software © phpBB Limited

Privacy Policy

 

 

magic