mailarchive of the ptxdist mailing list
 help / color / mirror / Atom feed
* [ptxdist] Fortran with OSELAS
@ 2014-11-20 16:32 Gredig, Hanspeter
  2014-11-21 14:30 ` Michael Olbrich
  0 siblings, 1 reply; 2+ messages in thread
From: Gredig, Hanspeter @ 2014-11-20 16:32 UTC (permalink / raw)
  To: ptxdist


[-- Attachment #1.1: Type: text/plain, Size: 535 bytes --]

Hello

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.

Thanks for help.
Hanspeter

[-- Attachment #1.2: Type: text/html, Size: 2393 bytes --]

[-- Attachment #2: Type: text/plain, Size: 48 bytes --]

-- 
ptxdist mailing list
ptxdist@pengutronix.de

^ permalink raw reply	[flat|nested] 2+ messages in thread

* Re: [ptxdist] Fortran with OSELAS
  2014-11-20 16:32 [ptxdist] Fortran with OSELAS Gredig, Hanspeter
@ 2014-11-21 14:30 ` Michael Olbrich
  0 siblings, 0 replies; 2+ messages in thread
From: Michael Olbrich @ 2014-11-21 14:30 UTC (permalink / raw)
  To: ptxdist

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

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2014-11-21 14:30 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-11-20 16:32 [ptxdist] Fortran with OSELAS Gredig, Hanspeter
2014-11-21 14:30 ` Michael Olbrich

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox