This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [patch] Add Ada tasking support for hppa-unknown-linux-gnu (take 2)
- From: Florian Weimer <fw at deneb dot enyo dot de>
- To: Mark Mitchell <mark at codesourcery dot com>
- Cc: Richard Henderson <rth at redhat dot com>, Arnaud Charlet <charlet at adacore dot com>, John David Anglin <dave at hiauly1 dot hia dot nrc dot ca>, gcc-patches at gcc dot gnu dot org, laurent at guerby dot net
- Date: Mon, 02 May 2005 19:48:45 +0200
- Subject: Re: [patch] Add Ada tasking support for hppa-unknown-linux-gnu (take 2)
- References: <20050429102640.GA34244@adacore.com><200504291341.j3TDfTKr010394@hiauly1.hia.nrc.ca><20050429144405.GA79012@adacore.com><20050429234000.GE8858@redhat.com> <42755DB4.10402@codesourcery.com>
* Mark Mitchell:
>> One way to fix all of this would be to move libada out to the top
>> level, and use configure and/or generator programs that actually
>> probe the contents of /usr/include for the data. Personally I
>> don't think any other solution is in fact a solution.
>
> I agree. Ada should handle its runtime library just like the other
> languages handle theirs.
Would it be acceptable to add a switch to the C front end to cause it
to dump the layout of struct definitions? This would simplify things
enormously. We could implement it without this feature, especially
for well-defined structs whose fields are known (but not their order
and sizes), but it's not very efficient when cross-compiling.