------- Comment #8 from mrs at apple dot com 2007-11-26 20:58 ------- Apparently there are two distinct ways to make this work, either, output a reference to bdtest, or ensure that the linker tries to resolve commons from libraries. Linux uses the later approach. To be portable, gfortran needs to generate the reference to bdtest on those platforms that need it. Darwin would be one such system.
I've filed radr://5613343 need to search for definitions for common symbols so we won't need such help at some point. -- http://gcc.gnu.org/bugzilla/show_bug.cgi?id=34136