Tiny Core Linux

Tiny Core Extensions => TCE Talk => Topic started by: Alby on May 14, 2013, 11:53:34 PM

Title: Ada on TinyCore
Post by: Alby on May 14, 2013, 11:53:34 PM
Hello,

my search for "Ada" on this forum returned no results. I was expecting to see at least a mention of it, in the hope that someone else, like me, was interested in having Ada on TC. But, alas, nothing.
While other programming languages are much more popular, e.g. Python (which, by the way, is in a totally different category), Ada holds its own.
I believe that Ada is really worth having in TC. The language itself is bulky, but it produces highly optimized code.

Will we see an Ada extension?

Cheers

Alby


Title: Re: Ada on TinyCore
Post by: Rich on May 15, 2013, 12:07:18 AM
Hi Alby
Have you tried compiling an Ada program using gcc? I see it includes:
Code: [Select]
/usr/local/lib/gcc/i686-pc-linux-gnu/4.6.1/plugin/include/ada/gcc-interface/ada-tree.def
Title: Re: Ada on TinyCore
Post by: Rich on May 15, 2013, 12:56:59 AM
Hi Alby
OK, I did a little checking. Gcc recognizes a .adb file as being Ada source, but the Ada compiler is not included.
You may be able to compile it yourself from source available here:
http://ftp.gnu.org/gnu/gcc/gcc-4.6.1/