On Apr 5, 2013, at 8:51 AM, Edward Vidal <vidal.devel...@gmail.com> wrote:
> Hello, > I want to add support for FORTRAN in my image. > On target gcc -v shows --enable-languages=c,c++ > This needs to --enable-languages=c,c++,fortran.based on my host system. > How does the variable FORTRAN in > /home/vidal/POKY/build032813_panda/poky/meta/recipes-devtools/gcc/gcc-configure-common.inc > get set? Can this be done in the local.conf file? > Does the FORTRAN ?= ",f77" this need to be FORTRAN ?= ",fortran" since we are > building gcc4.7? yes thats a bug, I think you can submit a patch for that. in order to enable it fully you also need to change gcc-configure-runtime.inc add libgfortran to RUNTIMETARGET it would be nice if both knobs were turned on or off by one switch so you don't have to do it in two different places but such is life > /home/vidal/POKY/build032713_panda/poky/meta/recipes-devtools/gcc/gcc-configure-common.inc > I changed the following > < LANGUAGES ?= "c,c++,fortran${JAVA}" > --- > > LANGUAGES ?= "c,c++${FORTRAN}${JAVA}" > I am currently testing on a build for the beagleboard and beaglebone > Any and all help will be appreciated. > _______________________________________________ > yocto mailing list > yocto@yoctoproject.org > https://lists.yoctoproject.org/listinfo/yocto
_______________________________________________ yocto mailing list yocto@yoctoproject.org https://lists.yoctoproject.org/listinfo/yocto