Latest LQ Deal: Complete CCNA, CCNP & Red Hat Certification Training Bundle
Go Back > Forums > Non-*NIX Forums > Programming
User Name
Programming This forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.


  Search this Thread
Old 01-14-2005, 03:52 PM   #1
Registered: Jul 2004
Location: Palo Alto, CA
Distribution: #! Korora
Posts: 472

Rep: Reputation: 30
Question g77: 8 btyes on the PC?

To All:

I'm using g77-fortran on the PC via Xandros-linux.
On this machine, real is 3 bytes and double precision
is 4 bytes. [For most unix machines, real is 4 bytes
and double precision is 8 bytes.] Is there any "quick
and dirty" way to force 8 bytes computation on the PC?
I.e., something simple like an option for g77,

g77 -64bits -o <executable> <fortran code>

I do NOT want to do a major rewrite on the code
(including porting to C or C++). Also, I already
tried using REAL*8. The machine defaults to 4 bytes.

Any "quick and dirty" solution with other fortran
compiler (g90, etc) would also be okay (as long as I
can use the same code more or less).

Thanks in advanced for your help.



Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off

Similar Threads
Thread Thread Starter Forum Replies Last Post
install of g77 or g77 rpm munichtexan Linux - Newbie 1 11-18-2005 02:56 PM
Compiling with g77 thank you very much...but I solved compile with g77 gambato79 Fedora 9 07-19-2005 11:35 AM
g77 is not... Jozsef Linux - Software 4 10-08-2004 02:28 PM
how should I install g77 pkuer Linux - Software 1 07-15-2004 09:41 AM
G77 Debugger? star geezer Linux - Software 5 03-04-2003 05:35 PM > Forums > Non-*NIX Forums > Programming

All times are GMT -5. The time now is 01:02 AM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration