• Building a functioning flang-new

    From Steven G. Kargl@21:1/5 to All on Tue Jan 9 19:17:33 2024
    Anyone have a pointer on building a functioning flang-new?

    The instructions at

    https://github.com/llvm/llvm-project/blob/main/flang/docs/GettingStarted.md

    appear to be insufficient. For example, what does one set
    LD_LIBRARY_PATH to?

    Of particular note, flang-new cannot find its module or
    it does not support ISO_FORTRAN_ENV.

    % make
    /usr/home/sgk/tmp/root/install/bin/flang-new -g \
    -I/usr/home/sgk/tmp/root/install/include/flang \
    -L/usr/home/sgk/tmp/root/install/lib -I. -o mk_m90types \
    mk_m90types.f90
    /usr/local/bin/ld: /tmp/mk_m90types-26024d.o: in function `_QQmain': /usr/home/sgk/tmp/trunk/m90/mk_m90types.f90:35: undefined reference
    to `_QMiso_fortran_envECreal_kinds'
    yada yada

    --
    steve

    --- SoupGate-Win32 v1.05
    * Origin: fsxNet Usenet Gateway (21:1/5)