From mboxrd@z Thu Jan 1 00:00:00 1970 Return-path: Received: from ptx.hi.pengutronix.de ([2001:67c:670:100:1d::c0] ident=Debian-exim) by metis.ext.pengutronix.de with esmtp (Exim 4.72) (envelope-from ) id 1XrpEe-0005Mx-Ix for ptxdist@pengutronix.de; Fri, 21 Nov 2014 15:30:56 +0100 Received: from mol by ptx.hi.pengutronix.de with local (Exim 4.80) (envelope-from ) id 1XrpEe-0000Mc-HY for ptxdist@pengutronix.de; Fri, 21 Nov 2014 15:30:56 +0100 Date: Fri, 21 Nov 2014 15:30:56 +0100 From: Michael Olbrich Message-ID: <20141121143056.GP19664@pengutronix.de> References: <60C93271656CC64D86E3C2590CE0D5163C0C9FB2@srv-exch-mbx> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <60C93271656CC64D86E3C2590CE0D5163C0C9FB2@srv-exch-mbx> Subject: Re: [ptxdist] Fortran with OSELAS Reply-To: ptxdist@pengutronix.de List-Id: PTXdist Development Mailing List List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: ptxdist-bounces@pengutronix.de Errors-To: ptxdist-bounces@pengutronix.de To: ptxdist@pengutronix.de Hi, On Thu, Nov 20, 2014 at 04:32:42PM +0000, Gredig, Hanspeter wrote: > We are using OSELAS.Toolchain-2013.12.2 for an arm-v5te-linux-gnueabi > architecture. Usually we are programming in C/C++. For an extra library > written in Fortran-90 we need to cross-compile it. Since GCC is including > fortran compiler, I am interested in how to configure the OSELAS.Toolchain to > get the fortran cross compiler. I have seen in ./rules/cross-gcc.in that > there is an option to activate it but I don't know how to proceed to get this > menu and what is necessary after the activation. You're following the documentation[1] to build the toolchain, right? After selecting the toolchain you want to build ('ptxdist select ...') you can run 'ptxdist menuconfig' and select fortran in the gcc submenu, save the config and then continue as documented. Please note, that this might not work. This option has not been tested in a very long time. Michael [1] http://www.pengutronix.de/software/ptxdist/appnotes/AppNote_BuildingToolchain.pdf -- Pengutronix e.K. | | Industrial Linux Solutions | http://www.pengutronix.de/ | Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0 | Amtsgericht Hildesheim, HRA 2686 | Fax: +49-5121-206917-5555 | -- ptxdist mailing list ptxdist@pengutronix.de