This is the mail archive of the gcc-patches@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: [patch] Add Ada tasking support for hppa-unknown-linux-gnu (take2)


Florian Weimer wrote:
* 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.

Yes, but even better would be to add a switch that works in a language-independent manner.


--
Mark Mitchell
CodeSourcery, LLC
mark@codesourcery.com
(916) 791-8304


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