Compile Fortran 77 with crossgcc

Dan Kegel
Thu Jul 3 14:54:00 GMT 2003

Ronald Landheer-Cieslak wrote:
> On Thu, 3 Jul 2003, philippe guillaume wrote:
>>What is the equivalent of g77 with crossgcc compiler?
> Whatever you build to cross-compile. My linux-x-freebsd - if I ever get 
> the Fortran version working - would be `i386-unknown-freebsd4.7-g77'
> Basically, if you want a g77 cross-compiler, you'll probably have to build 
> one. It should pretty much work the same way as a gcc, g++ or gcj 
> cross-compiler, but there might be problems I don't know about..

And to build one, all you have to do is add something to the --enable-languages
option you pass to the final gcc's configure.  e.g. instead of
at line 242 of

- Dan

Dan Kegel

Want more information?  See the CrossGCC FAQ,
Want to unsubscribe? Send a note to

More information about the crossgcc mailing list