From: Brian Drummond <brian@shapes.demon.co.uk>
Subject: Re: LLVM and Ada
Date: Thu, 22 Mar 2018 12:22:59 -0000 (UTC)
Date: 2018-03-22T12:22:59+00:00 [thread overview]
Message-ID: <p90773$mer$1@dont-email.me> (raw)
In-Reply-To: 17b6ac53-6b99-430e-8bac-63311ea1fffe@googlegroups.com
On Wed, 21 Mar 2018 06:08:44 -0700, carlojpisani wrote:
> hi guys I need to port ghdl to PPC, MIPS, HPPA on PPC there are old
> bootstrapper (e.g. 4.1.1)
> but I haven't seen them for MIPS and HPPA
>
> vhdl seems able to be compiled by llvm, but ... llvm seems do have no
> support for MIPS and HPPA
>
> no dice
>
> also, I'd like to port vhdl to SGI/MIPS under IRIX in this case, there
> are commercial Ada compilers (e.g. with the MIPS/PRO toolchain)
>
> let me know
The place for this would be
https://github.com/ghdl/ghdl
If you run into trouble, open an issue there, Tristan (the main author of
ghdl) is very helpful.
You need to *compile* ghdl using gcc (including gnat) so the easiest way
would be if you have native (and fairly recent, >= gcc4.7) installations
on your desired platforms.
Otherwise, gcc can obviously be used to build cross-compilers, though
that gets a bit trickier, and while building ghdl sa a crosscompiler
ought to work, there may be some snags along the way.
GHDL cannot be *compiled* with LLVM because there is no adequate Ada
compiler in the LLVM toolchain. However, ghdl can be built to target 3
different code generation backends - gcc, llvm and its own JIT compiler
(mcode)
(To make ghdl/llvm work, Tristan had to solve LLVM's lack of support for
nested procedures (and their scope rules) which I believe was the problem
that stopped the Dragonegg Ada/LLVM compiler in its tracks. So an Ada/
LLVM compiler should be possible...)
So I *think* you want to build ghdl for the gcc backend (to support your
target CPUs). Whether you can do that natively or you need to cross-
compile depends on having a modern enough gcc compiler on your system.
-- Brian
next prev parent reply other threads:[~2018-03-22 12:22 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2016-10-20 14:28 LLVM and Ada Vincent DIEMUNSCH
2016-10-20 18:20 ` Simon Clubley
2016-10-21 8:32 ` vincent.diemunsch
2016-10-21 10:33 ` Brian Drummond
2016-10-21 12:25 ` vincent.diemunsch
2016-10-22 12:31 ` Lucretia
2016-10-21 13:47 ` jparkerg000
2016-10-21 18:33 ` vincent.diemunsch
2016-10-22 12:51 ` Lucretia
2016-10-25 14:34 ` Vincent
2018-03-21 13:08 ` carlojpisani
2018-03-21 14:40 ` Dan'l Miller
2018-03-21 18:23 ` Bojan Bozovic
2018-03-21 18:57 ` Luke A. Guest
2018-03-22 13:57 ` Dan'l Miller
2018-03-22 15:18 ` Luke A. Guest
2018-03-22 17:01 ` Dan'l Miller
2018-03-22 21:14 ` Luke A. Guest
2018-03-22 21:28 ` Dan'l Miller
2018-03-22 21:36 ` Dan'l Miller
2018-03-22 22:14 ` Luke A. Guest
2018-03-22 23:37 ` Dan'l Miller
2018-03-22 23:50 ` Lucretia
2018-03-22 23:58 ` Dan'l Miller
2018-03-23 5:10 ` Bojan Bozovic
2018-03-23 14:25 ` Dan'l Miller
2018-03-23 14:38 ` Dan'l Miller
2018-03-23 16:38 ` Shark8
2018-03-25 2:17 ` Dan'l Miller
2018-03-25 16:56 ` Lucretia
2018-03-25 10:29 ` Bojan Bozovic
2018-03-25 11:01 ` Bojan Bozovic
2018-03-25 16:58 ` Lucretia
2018-03-23 16:43 ` Lucretia
2018-03-30 20:46 ` Dan'l Miller
2018-03-22 12:22 ` Brian Drummond [this message]
2016-10-20 23:31 ` Dennis Lee Bieber
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox