ProgrammingThis forum is for all programming questions.
The question does not have to be directly related to Linux and any language is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
I'm on linux machines wanting to build compilers for window OS
using g77. I'm looking at minGW. The trouble is I only see g77
for window users. I do not see g77 as cross-platform. I.e., the
cross-platform utility and documentations seem to have gcc and
g++, but not g77.
Can someone points to the correct documentation/utility?
I'm not completely sure I understand what it is you want. Do you want a version of g77 that will compile programs in Linux, but produce Windows binaries?
I am assuming that is what you want, because if you wanted to produce Linux binaries, you can just use the standard GNU distribution of g77... It comes with most distributions of Linux so far as I know...
So far as the first question, I can't help you much. I don't use g77, and when I want to compile something for Windows, I just compile it in Windows using Cygwin or VC++...
> I'm not completely sure I understand what it is you want. Do
> you want a version of g77 that will compile programs in Linux,
> but produce Windows binaries?
Correct! Again, I'm just investigating if I can avoid a major
rewrite. Btw, it doesn't have to be g77. Any fortran compiler
on linux, but creating window binaries will do.
> I am assuming that is what you want, because if you wanted
> to produce Linux binaries, you can just use the standard GNU
> distribution of g77... It comes with most distributions of Linux
> so far as I know...
I'm already using g77 (linux and window). It's just that the
respective binaries is for that OS.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.