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] [Ada] Remove duplicated code in win32 run-time


> 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


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