[PATCH] libgfortran: fix error: Link tests are not allowed after GCC_NO_EXECUTABLES

Joseph S. Myers joseph@codesourcery.com
Mon Sep 22 15:00:00 GMT 2008


On Mon, 22 Sep 2008, Richard Guenther wrote:

> I guess libgfortran is not really ready for being cross-compiled :/

For being cross-compiled to generic bare-metal targets such as 
powerpc-eabi where you can't do link tests (because unless an option such 
as -msim to select particular board-support code is passed you can't link 
at all, even with target libc present), maybe.  For cross-compiling to 
GNU/Linux targets we require the target libc to be available for link 
tests in order to configure libraries for non-C languages; you can't build 
shared libraries without having the shared libc to link them with.

-- 
Joseph S. Myers
joseph@codesourcery.com



More information about the Fortran mailing list