ADA GNAT whatever-ADA dialect for Linux and UNIX - Page 1
Forum section: electronics / general

author: legacy
author_rank: Super Contributor
timestamp: August 23, 2017, 10:38:53 pm
content: so, I am looking at GNAT's recipe againQuoteand again it's a face palmThere is NO boot-strapper for IBM-POWER, HPPA, MIPSBE ... you are doomedDoes anyone happen to know of something alternative?(opensource or commercial)and in this case, do you know if it's requested a license?yup

author: legacy
author_rank: Super Contributor
timestamp: August 23, 2017, 10:43:18 pm
content: (in the meanwhile I am pushing gnat-v4.9.3 as well as gcc-core-v4.9.3and the special bootstrapper provided by AdaCore, into my x86 box ...it will take the whole night)

author: legacy
author_rank: Super Contributor
timestamp: August 23, 2017, 11:17:52 pm
content: Good gold days ...Quote

author: dnotq
author_rank: Contributor
timestamp: August 24, 2017, 04:24:23 am
content: You need Ada to compile GNAT?? That would suck. I have been looking at getting into Ada after realizing VHDL is basically Ada, and I really like VHDL. :-) Also, I saw this article and really wanted to do some Ada:http://cowlark.com/2014-04-27-ada/index.htmlGreat info, IMO. I never knew anything about Ada, now that I do it seems very cool.

author: Naguissa
author_rank: Regular Contributor
timestamp: August 24, 2017, 05:52:09 am
content: Quote from: legacy on August 23, 2017, 10:38:53 pmStupid question maybe, but....You cannot cros-compile from your existing x86 box?Enviado desde mi Jolla mediante Tapatalk

author: legacy
author_rank: Super Contributor
timestamp: August 24, 2017, 07:01:04 am
content: Quote from: Naguissa on August 24, 2017, 05:52:09 amToo complex because two compilers are involved in the processGCC-C, which is known and proved of being able to crosscompile itselfADACORE, which is notand you have to iterate both of them during the process

author: legacy
author_rank: Super Contributor
timestamp: August 24, 2017, 07:13:56 am
content: Quote from: dnotq on August 24, 2017, 04:24:23 amIt's a restricted subset designed for HDL.Ada was designed with different goals in mind, and implementation like SGI's ADA were focused on parallelism on BIG IRON machines (>32 CPUs).Two different purposes, two different planets!I need ADA to compile a VHDL compiler, anyway, thus the problem is unsolved, sing the only OpenSource available VHDL compiler(1) is ghdl, which is written in ... ADAfreeHDL is written in C++, but even with the last version v0.0.8 it doesn't work at all

author: dnotq
author_rank: Contributor
timestamp: August 25, 2017, 05:58:09 am
content: You may as well just bite the bullet and write your own Ada compiler... ;-) At the very least it might be fun... ?

author: legacy
author_rank: Super Contributor
timestamp: August 25, 2017, 12:40:58 pm
content: Quote from: dnotq on August 25, 2017, 05:58:09 amADA, as language, is very very complex, and a compiler can't be called "ADA" until it has passed several severity tests!Thus it's not one-man project, and it's not suitable as week-ends project, unless you have infinite-time (something like --- being prepared to continue the project in the next next life).I have already written some tools, such as code analyzer (focused on a subset) and interface-auto builders. Basically they are simple parser tools which generate AST for simple tasks.Sorry, I am limited