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 and x86_64


On Mon, Aug 26, 2002 at 03:18:36PM -0400, David Edelsohn wrote:
> >>>>> Jan Hubicka writes:
> 
> Jan> I've addressed the compilation crashes (and sent patches to gcc-patches for
> Jan> those interested), but I am still not able to build library (because of the
> Jan> sigset_t is too small).  I guess I am having wrong os dependnent stuff.  Is
> Jan> there some documentation about what needs to be done and where for those wo
> Jan> don't really understand Ada very well?
> 
> 	From which file did the Makefile create s-osinte.ads?
> 5iosinte.ads?

Yes.  I am using just copy of x86 configuration as I hoped that it will work as
it is.

> 
> While knowing nothing about Ada,
> 
> 	private
> 	   type sigset_t is array (0 .. 31) of unsigned_long;
> 	   pragma Convention (C, sigset_t);
> 	   for sigset_t'Size use 1024;

Yes, I already noticed it.
> 
> implies that it is setting the size of sigset_t to 1024.  I don't know
> whether this can be changed in the file based on __x86_64__ flag or
> whether one needs a separate file for x64-64 configuration.

I guess ada has no preprocessor, but perhaps there is a way.  Ada experts, please?
Also what else needs to be changed?

Honza
> 
> 	On the other hand, this is just a wild guess on my part based on
> grep and Makefile.in.
> 
> David


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