Author Topic: ADA GNAT whatever-ADA dialect for Linux and UNIX  (Read 2123 times)

0 Members and 1 Guest are viewing this topic.

Offline legacyTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
ADA GNAT whatever-ADA dialect for Linux and UNIX
« on: August 23, 2017, 10:38:53 pm »
so, I am looking at GNAT's recipe again

Quote
Build instructions

To build the compiler unfortunately you need an ada/c/c++ compiler already available, to produce an ada/c/c++ compiler.

If you don't have an ada compiler available you must set the bootstrap use flags. In this case the compiler used will be gnat-gpl-2014-x86_64-linux-bin.tar.gz from libre.adacore.com.

and again it's a face palm  :palm: :palm: :palm:

There is NO boot-strapper for IBM-POWER, HPPA, MIPSBE ... you are doomed

Does anyone happen to know of something alternative?
(opensource or commercial)
and in this case, do you know if it's requested a license? 

yup :popcorn:


 

Offline legacyTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: ADA GNAT whatever-ADA dialect for Linux and UNIX
« Reply #1 on: August 23, 2017, 10:43:18 pm »
(in the meanwhile I am pushing gnat-v4.9.3 as well as gcc-core-v4.9.3
and the special bootstrapper provided by AdaCore, into my x86 box ...
it will take the whole night  :popcorn: )
 

Offline legacyTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: ADA GNAT whatever-ADA dialect for Linux and UNIX
« Reply #2 on: August 23, 2017, 11:17:52 pm »
Good gold days ...

Quote
Ada on SGI/IRIX

The Silicon Graphics AXM (Ada X/Motif) Ada Development System provides an Ada development environment for Silicon Graphics platforms. It consists of

Ada compiler (ANSI/MIL-STD-1815A)

X11 and OSF/Motif

Bindings to the IRIS Graphics Library

Non-intrusive, symbolic debugger

MP/Ada 6.2 is a multiprocessor Ada development system. It's built using the POSIX-compliant threads model for Ada tasking. If your application runs on a multiprocessor platform, MP/Ada6.2 allows Ada tasks in this application to run concurrently.
 

Offline dnotq

  • Contributor
  • Posts: 35
  • Country: us
Re: ADA GNAT whatever-ADA dialect for Linux and UNIX
« Reply #3 on: August 24, 2017, 04:24:23 am »
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.html

Great info, IMO.  I never knew anything about Ada, now that I do it seems very cool.
 

Offline Naguissa

  • Regular Contributor
  • *
  • Posts: 114
  • Country: es
    • Foro de electricidad, electrónica y DIY / HUM en español
Re: ADA GNAT whatever-ADA dialect for Linux and UNIX
« Reply #4 on: August 24, 2017, 05:52:09 am »
so, I am looking at GNAT's recipe again

Quote
Build instructions

To build the compiler unfortunately you need an ada/c/c++ compiler already available, to produce an ada/c/c++ compiler.

If you don't have an ada compiler available you must set the bootstrap use flags. In this case the compiler used will be gnat-gpl-2014-x86_64-linux-bin.tar.gz from libre.adacore.com.

and again it's a face palm  :palm: :palm: :palm:

There is NO boot-strapper for IBM-POWER, HPPA, MIPSBE ... you are doomed

Does anyone happen to know of something alternative?
(opensource or commercial)
and in this case, do you know if it's requested a license? 

yup :popcorn:
Stupid question maybe, but....

You cannot cros-compile from your existing x86 box?

Enviado desde mi Jolla mediante Tapatalk


Offline legacyTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: ADA GNAT whatever-ADA dialect for Linux and UNIX
« Reply #5 on: August 24, 2017, 07:01:04 am »
You cannot cros-compile from your existing x86 box?

Too complex because two compilers are involved in the process
GCC-C, which is known and proved of being able to crosscompile itself
ADACORE, which is not  :palm:

and you have to iterate both of them during the process :palm: :palm:
 

Offline legacyTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: ADA GNAT whatever-ADA dialect for Linux and UNIX
« Reply #6 on: August 24, 2017, 07:13:56 am »
VHDL is basically Ada

It'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 ... ADA  :palm: :palm: :palm: :palm:

freeHDL is written in C++, but even with the last version v0.0.8 it doesn't work at all  :palm: :palm: :palm: :palm: :palm:
 

Offline dnotq

  • Contributor
  • Posts: 35
  • Country: us
Re: ADA GNAT whatever-ADA dialect for Linux and UNIX
« Reply #7 on: August 25, 2017, 05:58:09 am »
You may as well just bite the bullet and write your own Ada compiler... ;-)  At the very least it might be fun... ?
 

Offline legacyTopic starter

  • Super Contributor
  • ***
  • !
  • Posts: 4415
  • Country: ch
Re: ADA GNAT whatever-ADA dialect for Linux and UNIX
« Reply #8 on: August 25, 2017, 12:40:58 pm »
write your own Ada compiler

ADA, 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  :-//
 


Share me

Digg  Facebook  SlashDot  Delicious  Technorati  Twitter  Google  Yahoo
Smf