comp.lang.ada
 help / color / mirror / Atom feed
From: sjw <simon.j.wright@mac.com>
Subject: Re: ada import c function
Date: Thu, 30 Apr 2009 13:48:09 -0700 (PDT)
Date: 2009-04-30T13:48:09-07:00	[thread overview]
Message-ID: <c2636361-e99b-4d7a-944d-cf9c1d102b0a@z8g2000prd.googlegroups.com> (raw)
In-Reply-To: D15Kl.178168$4m1.104395@bgtnsc05-news.ops.worldnet.att.net

On Apr 30, 12:04 am, a...@anon.org (anon) wrote:
> simon.j.wright
>
> >> gnat make use_of_import.adb
>
>   should of been
>
>     gnat compile use_of_import.adb
>
> which is the best way to learn Ada because one reason there are other Ada
> systems out there  And newbees need to know they must compile then bind
> and finally link a program or library, unlike other languages.

There's a difference between learning Ada and learning an Ada build
system!

The Ada addition is the binding process, otherwise I see no difference
from a C build using gcc.

And a g++ build uses collect2 on at least some systems, which
certainly comes in the same place as Ada binding even if it doesn't do
quite the same thing.



  reply	other threads:[~2009-04-30 20:48 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-04-28 20:45 ada import c function s. ashen
2009-04-28 21:18 ` Maciej Sobczak
2009-04-28 21:40 ` sjw
2009-04-28 23:08 ` 459143320
2009-04-29 16:00   ` s. ashen
2009-04-29 19:03   ` sjw
2009-04-29 23:04     ` anon
2009-04-30 20:48       ` sjw [this message]
2009-04-30 21:32         ` Gautier
2009-04-30 23:42           ` linking with g++ (was: ada import c function) Björn Persson
2009-05-01  5:48             ` linking with g++ Gautier
replies disabled

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox