Bug 37040 - GNAT Socket Code Broken on RTEMS
Summary: GNAT Socket Code Broken on RTEMS
Status: RESOLVED FIXED
Alias: None
Product: gcc
Classification: Unclassified
Component: ada (show other bugs)
Version: 4.4.0
: P3 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2008-08-06 20:01 UTC by Joel Sherrill
Modified: 2008-08-12 12:52 UTC (History)
1 user (show)

See Also:
Host:
Target: *-rtems*
Build:
Known to work:
Known to fail:
Last reconfirmed:


Attachments
Updates Ada socket code to compile (3.43 KB, patch)
2008-08-06 20:01 UTC, Joel Sherrill
Details | Diff
Updated RTEMS support for revision 138841 (780 bytes, patch)
2008-08-08 16:08 UTC, Joel Sherrill
Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Joel Sherrill 2008-08-06 20:01:21 UTC
Does not compile.  Requires attached patch.
Comment 1 Joel Sherrill 2008-08-06 20:01:57 UTC
Created attachment 16035 [details]
Updates Ada socket code to compile

2008-05-28  Joel Sherrill <joel.sherrill@oarcorp.com>

        * gen-soccon-rtems.ads: Regenerated.
        * gsocket.h, gen-soccon.c, socket.c: Make new additions support RTEMS.
Comment 2 Joel Sherrill 2008-08-08 16:08:39 UTC
Created attachment 16048 [details]
Updated RTEMS support for revision 138841
Comment 3 Joel Sherrill 2008-08-08 16:08:54 UTC
2008-08-08  Joel Sherrill <joel.sherrill@oarcorp.com>

	* s-oscons-tmplt.c: RTEMS defines AF_INET6 but does support it.
	* gsocket.h, socket.c: Update to support RTEMS.
	* gcc-interface/Make-lang.in: Include CFLAGS_FOR_TARGET when cross.
Comment 4 Joel Sherrill 2008-08-12 12:52:48 UTC
Patch committed to SVN trunk.