Rocksolid Light

Welcome to RetroBBS

mail  files  register  newsreader  groups  login

Message-ID:  

Those who can't write, write manuals.


devel / comp.lang.fortran / Building a functioning flang-new

SubjectAuthor
o Building a functioning flang-newSteven G. Kargl

1
Building a functioning flang-new

<unk64d$2492o$1@dont-email.me>

  copy mid

https://www.rocksolidbbs.com/devel/article-flat.php?id=3798&group=comp.lang.fortran#3798

  copy link   Newsgroups: comp.lang.fortran
Path: i2pn2.org!i2pn.org!eternal-september.org!feeder3.eternal-september.org!news.eternal-september.org!.POSTED!not-for-mail
From: sgk@REMOVEtroutmask.apl.washington.edu (Steven G. Kargl)
Newsgroups: comp.lang.fortran
Subject: Building a functioning flang-new
Date: Tue, 9 Jan 2024 19:17:33 -0000 (UTC)
Organization: A noiseless patient Spider
Lines: 24
Message-ID: <unk64d$2492o$1@dont-email.me>
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
Injection-Date: Tue, 9 Jan 2024 19:17:33 -0000 (UTC)
Injection-Info: dont-email.me; posting-host="0b9373dc0c5bb2d416840195433a6816";
logging-data="2237528"; mail-complaints-to="abuse@eternal-september.org"; posting-account="U2FsdGVkX1+0PrM8nDtnGF1M6dsejt1Y"
User-Agent: Pan/0.145 (Duplicitous mercenary valetism; d7e168a
git.gnome.org/pan2)
Cancel-Lock: sha1:UYlcsYMp+wcHs5L9Z5n9JZcu8ZY=
 by: Steven G. Kargl - Tue, 9 Jan 2024 19:17 UTC

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

1
server_pubkey.txt

rocksolid light 0.9.81
clearnet tor