This is the mail archive of the fortran@gcc.gnu.org mailing list for the GNU Fortran project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: bug? runtime error passing POD


No (explicit) static linking on my side:
>
$> gfortran -v
> [...]
--disable-shared

So, you don't build the shared libraries libgfortran (and libgfortranbegin), that's why they get statically linked.


To answer Tobias' question, yes, Daniel should use gfortran to link (or, at least, link with -lgfortranbegin too), but that's not related to the problem observed here.

FX


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]