Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Building a functioning flang-new

232 views
Skip to first unread message

Steven G. Kargl

unread,
Jan 9, 2024, 2:17:39 PMJan 9
to
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
0 new messages