This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] [Ada] Remove duplicated code in win32 run-time
- From: Arnaud Charlet <charlet at adacore dot com>
- To: "Aaron W. LaFramboise" <aaronavay62 at aaronwl dot com>
- Cc: gcc-patches at gcc dot gnu dot org, Pascal Obry <obry at adacore dot com>
- Date: Tue, 29 Jul 2008 22:49:08 +0200
- Subject: Re: [PATCH] [Ada] Remove duplicated code in win32 run-time
- References: <20080408083652.GA11649@adacore.com> <488F812F.5030404@aaronwl.com>
> Apparently s-winext.ads was never added to the Makefile. The attached
Indeed, Pascal forgot to update the Makefile in this branch, sorry about that.
> patch fixes this, and it allows Ada to bootstrap successfully on
> i386-pc-mingw32.
>
> OK to commit?
The first hunk is incorrect, only the second hunk should be added.
Also note that Makefile.in has now moved to ada/gcc-interface.
> 2008-07-29 Aaron W. LaFramboise <aaronavay62@aaronwl.com>
>
> * Makefile.in (EXTRA_GNATRTL_NONTASKING_OBJS) [WINDOWS]: Add s-winext.o.
>
> Index: gcc/ada/Makefile.in
> ===================================================================
> --- gcc/ada/Makefile.in (revision 138245)
> +++ gcc/ada/Makefile.in (working copy)
> @@ -1342,7 +1342,7 @@ ifeq ($(strip $(filter-out cygwin32% min
> s-taprop.adb<s-taprop-rtx.adb \
> system.ads<system-rtx.ads
>
> - EXTRA_GNATRTL_NONTASKING_OBJS = s-win32.o
> + EXTRA_GNATRTL_NONTASKING_OBJS = s-win32.o s-winext.o
This one should not be modified.
> MISCLIB = -lwsock32 -lrtapi_w32
> THREADSLIB=-lrtapi_w32
> @@ -1359,7 +1359,7 @@ ifeq ($(strip $(filter-out cygwin32% min
> s-taprop.adb<s-taprop-mingw.adb \
> system.ads<system-mingw.ads
>
> - EXTRA_GNATRTL_NONTASKING_OBJS = s-win32.o g-regist.o
> + EXTRA_GNATRTL_NONTASKING_OBJS = s-win32.o s-winext.o g-regist.o
> EXTRA_GNATRTL_TASKING_OBJS = a-exetim.o
This one is OK.
Arno