From: Adrian Hoe <adrianhoe@nowhere.com>
Subject: Re: gcc/gnat 3.3
Date: Fri, 07 Nov 2003 12:15:15 +0800
Date: 2003-11-07T12:15:15+08:00 [thread overview]
Message-ID: <3FAB1C53.5080007@nowhere.com> (raw)
In-Reply-To: bodjrt$1cqv0h$1@ID-198985.news.uni-berlin.de
Andreas Almroth wrote:
> Adrian Hoe wrote:
>
>>
>> Yes! I have successfully built gcc-3.3.2. I tried to compile one of my
>> Ada program and it works. Now, my Ada program is statically linked and
>> the binary file is large. How do I make a dynamic link?
>>
>
> in the objdir/gcc directory;
> gmake gnatlib-shared
>
> Have a look in the Makefile and you will see lots of gnat related stuff...
>
> /Andreas
>
When I tried to run a simple tasking program, I got "Segmentation Fault
(code dumped)". Could gcc not build properly? I believe the threading
was not build properly. Or did I miss some parameters?
I followed:
../gcc-3.3.2/configure --enable-languages=c,ada --enable-threads
--enable-multilib --disable-nls
cd ../gcc-3.3.2/gcc/ada
touch treeprs.ads [es]info.h nmake.ad[bs]
Simple tasking source:
with Ada.Text_Io; use Ada.Text_Io;
procedure Welcome is
task Hello;
task body Hello is
begin
Put_Line ("Hello.");
end Hello;
task World;
task body World is
begin
Put_Line ("World!");
end World;
begin
Put_Line ("Welcome!");
end Welcome;
--
Adrian Hoe
m a i l b o x AT a d r i a n h o e . c o m
next prev parent reply other threads:[~2003-11-07 4:15 UTC|newest]
Thread overview: 34+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-10-17 14:45 gcc/gnat 3.3 Adrian Hoe
2003-10-17 21:12 ` Jeff C,
2003-10-17 21:48 ` GCC 5.01p (was: Re: gcc/gnat 3.3) Ludovic Brenta
2003-10-17 22:01 ` Jeff C,
2003-10-20 19:04 ` gcc/gnat 3.3 Andreas Almroth
2003-10-24 9:13 ` Adrian Hoe
2003-10-28 4:19 ` Adrian Hoe
2003-10-28 4:26 ` Jeff C,
2003-10-28 15:36 ` Adrian Hoe
2003-10-29 0:24 ` Jeff C,
2003-11-01 5:51 ` Adrian Hoe
2003-11-01 14:22 ` Jeff C,
2003-11-01 14:28 ` Jeff C,
2003-11-01 14:52 ` Ludovic Brenta
2003-11-03 9:36 ` Adrian Hoe
2003-11-05 18:35 ` Andreas Almroth
2003-11-06 5:06 ` Adrian Hoe
2003-11-06 5:20 ` Adrian Hoe
2003-11-06 6:19 ` Andreas Almroth
2003-11-06 6:52 ` Adrian Hoe
2003-11-06 8:54 ` Andreas Almroth
2003-11-06 11:17 ` Adrian Hoe
2003-11-06 13:55 ` Andreas Almroth
2003-11-07 4:09 ` Adrian Hoe
2003-11-07 6:50 ` Andreas Almroth
2003-11-19 8:10 ` Adrian Hoe
2003-11-07 4:15 ` Adrian Hoe [this message]
2003-11-07 7:00 ` Andreas Almroth
2003-11-07 7:15 ` Adrian Hoe
2003-11-07 17:05 ` Andreas Almroth
2003-11-06 6:33 ` Adrian Hoe
2003-10-28 14:48 ` Steve
2003-11-01 16:29 ` Andreas Almroth
2003-11-03 3:49 ` Adrian Hoe
replies disabled
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox