2John Tytgat wrote:
> In message <[EMAIL PROTECTED]>
> Stefan Bellon <[EMAIL PROTECTED]> wrote:
> > *gcc -gnatdl -c hello.adb
> >
> > You can enable the debug flags with -gnatdxxxxx and putting the
> > character codes for the flags as xxxxx. But I'm not sure whether
> > that helps in this case.
> Ah so I did try the right thing and no, -gnatdl does not give me the
> debug I thought it would give in this case. :-(
I suspected this. It shows the information for explicitly stated
dependencies in a file. But if your hello.adb is just the simple
procedure Hello is
begin
null;
end Hello;
then there is no gain with -gnatdl.
> > Yes, I'm willing to look at whatever you have.
> Superb, thanks. I've uploaded a zip file at
> <URL:http://joty.drobe.co.uk/gccsdk-4/1/1-c-ada-static-pre-rel2-20080429/zip>
That's a tricky one: You have to replace all slashes with dots apart
from the first two. ;-)
> The source changes I made can be consulted via:
> <URL:http://www.riscos.info/websvn/listing.php?repname=gccsdk&path=%2Ftrunk%2F&rev=3435&sc=1>
Ok, will have to look at those things in closer detail later on.
BTW: Steffen may be remembering the gnat.adc file which can configure
different naming for GNAT packages in the following way:
pragma Source_File_Name
(Spec_File_Name => "*.ads",
Dot_Replacement => "-");
pragma Source_File_Name
(Body_File_Name => "*.adb",
Dot_Replacement => "-");
But it didn't make any difference, regardless of what format I passed
it as pattern. But perhaps it didn't even look for the gnat.adc file,
will have to test this later on as well.
BTW: Thanks a lot to all of you for your effort!
Greetings,
Stefan
--
Stefan Bellon
_______________________________________________
GCCSDK mailing list [email protected]
Bugzilla: http://www.riscos.info/bugzilla/index.cgi
List Info: http://www.riscos.info/mailman/listinfo/gcc
Main Page: http://www.riscos.info/index.php/GCCSDK