This is the mail archive of the gcc@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: Ada configuration options?



On Friday, May 10, 2002, at 12:25 , Alexandre Oliva wrote:

> On May  9, 2002, Simon Wright <simon@pushface.org> wrote:
>
>> There are no specific configure instructions for GNAT, so I was
>> wondering how --enable-shared and --enable-threads affect the build?
>
> They don't.  The GNAT run-time cannot be built as a shared library,
> AFAIK.

Actually, it can. The ACT nightly builds create both static and dynamic
libraries by default. There are gnatbind options to select which to
link to:
   -static   Link against a static GNAT run time
   -shared   Link against a shared GNAT run time

Whether all Makefile and configury pieces are in place to actually
build dynamic libraries with GCC 3.1, I don't know. If not, the changes
should be relatively minor to make things work, but all these Makefiles
give me a headache everytime I try to figure them out.

   -Geert


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]