[yocto] gcc enable-languages

2013-08-31 Thread Larry Baker
See core-fortran.patch, "Fixes to build a gfortran cross compiler and the gfortran runtime libraries", which is an attachment at https://bugzilla.yoctoproject.org/show_bug.cgi?id=5091. My bbappend files are there too. Larry Baker US Geological Survey 650-329-5608 ba...@usgs.gov ___

Re: [yocto] gcc enable-languages

2013-08-27 Thread Khem Raj
On Aug 26, 2013, at 5:23 AM, Javi Roman wrote: > $ cat recipes-devtools/libtool/libtool-cross_2.4.2.bbappend > export FC = "${CCACHE}${HOST_PREFIX}gfortran ${HOST_CC_ARCH} > --sysroot=${STAGING_DIR_HOST}" can you submit this as a patch to OE-Core libtool recipe please ?

Re: [yocto] gcc enable-languages

2013-08-26 Thread Javi Roman
I had the same issue. The problem seems the variable FC (Fortran Compiler) is not properly setup (in meta/conf/bitbake.conf). The libtool-cross recipe shows QA problems with wrong include paths when uses x86_64-poky-linux-gfortran tests. This workaround works for me: recipes-devtools/gcc └── gcc

Re: [yocto] gcc enable-languages

2013-07-24 Thread Marcelo Valle
Dat Tran writes: > > This is the error I get: > > configure: WARNING: unrecognized options: --disable-silent-rules, --with- > sysroot > DEBUG: Shell function do_configure finished > DEBUG: Executing python function do_qa_configure > NOTE: Checking autotools environment for common misconfig

Re: [yocto] gcc enable-languages

2013-06-14 Thread Dat Tran
Khem Raj writes: > > > On Jun 14, 2013, at 10:53 AM, Dat Tran wrote: > > > Paul, thanks for your suggestions. I think you are right in that there are > > more settings we need to set. Here is what I had done with no success: > > > > > > diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b

Re: [yocto] gcc enable-languages

2013-06-14 Thread Khem Raj
On Jun 14, 2013, at 10:53 AM, Dat Tran wrote: > Paul, thanks for your suggestions. I think you are right in that there are > more settings we need to set. Here is what I had done with no success: > > > diff --git a/meta/recipes-devtools/gcc/gcc-4.7.inc b/meta/recipes- > devtools/gcc/gcc-4.7.i

Re: [yocto] gcc enable-languages

2013-06-14 Thread Dat Tran
Paul Eggleton writes: > > On Friday 14 June 2013 04:04:07 Dat Tran wrote: > > Anyone know of any clues that will help us? Thanks. > > > > Edward Vidal ...> writes: > > > Dat Tran wrote > > > > Hello, > > > > > > > > I want to add support for FORTRAN in my image. > > > > On target gcc -v sho

Re: [yocto] gcc enable-languages

2013-06-14 Thread Paul Eggleton
On Friday 14 June 2013 04:04:07 Dat Tran wrote: > Anyone know of any clues that will help us? Thanks. > > Edward Vidal writes: > > Dat Tran wrote > > > Hello, > > > > > > I want to add support for FORTRAN in my image. > > > On target gcc -v shows --enable-languages=c,c++ > > > This needs to --

Re: [yocto] gcc enable-languages

2013-06-13 Thread Dat Tran
ix. > Thanks > > > > > Dat Tran > mailto:yocto%40yoctoproject.org? Subject=Re%3A%20%5Byocto%5D%20gcc%20enable-languages&In-Reply- To=%3Cloom.20130603T205457-413%40post.gmane.org%3E" title="[yocto] gcc enable-languages">dtran11 at gmail.com wrote

[yocto] gcc enable-languages

2013-06-03 Thread Edward Vidal
*Dat Tran* dtran11 at gmail.comwrote >* 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_p

Re: [yocto] gcc enable-languages

2013-06-03 Thread Dat Tran
Edward Vidal writes: > 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-devto

Re: [yocto] gcc enable-languages

2013-04-06 Thread Khem Raj
On Apr 6, 2013, at 4:30 AM, Edward Vidal wrote: > If I don't set libgfortran my image completes okay. When libgfortran in > gcc-config-runtime.inc I get do_compile error > > OK, did you try to run/build any fortran programs with this image.___ yoct

Re: [yocto] gcc enable-languages

2013-04-06 Thread Edward Vidal
If I don't set libgfortran my image completes okay. When libgfortran in gcc-config-runtime.inc I get do_compile error On Apr 5, 2013 5:49 PM, "Edward Vidal" wrote: > > diff gcc-configure-common.inc gcc-configure-common.inc.orig > 14c14 > < FORTRAN ?= ",fortran" > --- > > FORTRAN ?= ",f77" > > |

Re: [yocto] gcc enable-languages

2013-04-05 Thread Edward Vidal
diff gcc-configure-common.inc gcc-configure-common.inc.orig 14c14 < FORTRAN ?= ",fortran" --- > FORTRAN ?= ",f77" | ERROR: Function failed: do_compile (see /home/vidal/POKY/build032813_panda/poky/build/tmp/work/armv7a-vfp-neon-poky-linux-gnueabi/gcc-runtime/4.7.2-r19/temp/log.do_compile.4820 for

Re: [yocto] gcc enable-languages

2013-04-05 Thread Edward Vidal
I went back to fortran but also changed FORTRAN ?= fortran 14,15c14,15 < FORTRAN ?= ",fortran" < LANGUAGES ?= "c,c++,fortran${JAVA}" --- > FORTRAN ?= ",f77" > LANGUAGES ?= "c,c++${FORTRAN}${JAVA}" On Fri, Apr 5, 2013 at 5:00 PM, Khem Raj wrote: > > On Apr 5, 2013, at 3:35 PM, Edward Vidal wrot

Re: [yocto] gcc enable-languages

2013-04-05 Thread Khem Raj
On Apr 5, 2013, at 3:35 PM, Edward Vidal wrote: > I believe that the error was in gcc-configure-common.inc it should of been > f95 not fortran. I am do a clean build now for beagleboard and beaglebone. No, f95 is old and deprecated 'fortran' is right___

Re: [yocto] gcc enable-languages

2013-04-05 Thread Edward Vidal
I believe that the error was in gcc-configure-common.inc it should of been f95 not fortran. I am do a clean build now for beagleboard and beaglebone. On Fri, Apr 5, 2013 at 3:06 PM, Khem Raj wrote: > > On Apr 5, 2013, at 2:02 PM, Edward Vidal wrote: > > ERROR: This autoconf log indicates err

Re: [yocto] gcc enable-languages

2013-04-05 Thread Khem Raj
On Apr 5, 2013, at 2:02 PM, Edward Vidal wrote: > ERROR: This autoconf log indicates errors, it looked at host include and/or > library paths while determining system capabilities. > Rerun configure task after fixing this. The path was > '/home/vidal/POKY/build032713/poky/build/tmp/work/armv7a

Re: [yocto] gcc enable-languages

2013-04-05 Thread Edward Vidal
Thanks now I get Summary: 1 task failed: /home/vidal/POKY/build032713/poky/meta/recipes-devtools/gcc/ gcc-runtime_4.7.bb, do_configure Summary: There were 2 ERROR messages shown, returning a non-zero exit code. In the log this is what I see ERROR: This autoconf log indicates errors, it looked at

Re: [yocto] gcc enable-languages

2013-04-05 Thread Khem Raj
On Apr 5, 2013, at 8:51 AM, Edward Vidal 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

[yocto] gcc enable-languages

2013-04-05 Thread Edward Vidal
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 g

[yocto] gcc enable-languages

2013-04-04 Thread Edward Vidal
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 g