Compile Fortran 77 with crossgcc
Dan Kegel
dank@kegel.com
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
--enable-languages=c,c++
use
--enable-languages=c,c++,f77
at line 242 of crosstool.sh
See http://www.kegel.com/crosstool/
and http://gcc.gnu.org/install/configure.html
- Dan
--
Dan Kegel
http://www.kegel.com
http://counter.li.org/cgi-bin/runscript/display-person.cgi?user=78045
------
Want more information? See the CrossGCC FAQ, http://www.objsw.com/CrossGCC/
Want to unsubscribe? Send a note to crossgcc-unsubscribe@sources.redhat.com
More information about the crossgcc
mailing list