From: <dan...@us...> - 2008-09-04 18:45:12
|
Revision: 1172 http://cegcc.svn.sourceforge.net/cegcc/?rev=1172&view=rev Author: dannybackx Date: 2008-09-04 18:45:10 +0000 (Thu, 04 Sep 2008) Log Message: ----------- Don't define getenv and system. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/include/stdlib.h Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2008-09-04 18:28:26 UTC (rev 1171) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2008-09-04 18:45:10 UTC (rev 1172) @@ -1,3 +1,7 @@ +2008-09-04 Danny Backx <dan...@us...> + + * include/stdlib.h : Don't define getenv and system on CE. + 2007-12-25 Pedro Alves <ped...@po...> * Makefile.in, mingwex/Makefile.in, profile/Makefile.in: Use Modified: trunk/cegcc/src/mingw/include/stdlib.h =================================================================== --- trunk/cegcc/src/mingw/include/stdlib.h 2008-09-04 18:28:26 UTC (rev 1171) +++ trunk/cegcc/src/mingw/include/stdlib.h 2008-09-04 18:45:10 UTC (rev 1172) @@ -380,10 +380,12 @@ /* Note: This is in startup code, not imported directly from dll */ int __cdecl atexit (void (*)(void)); +#ifndef _WIN32_WCE #ifndef __COREDLL__ _CRTIMP int __cdecl system (const char*); _CRTIMP char* __cdecl getenv (const char*); #endif +#endif /* bsearch and qsort are also in non-ANSI header search.h */ _CRTIMP void* __cdecl bsearch (const void*, const void*, size_t, size_t, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2008-09-18 14:25:16
|
Revision: 1182 http://cegcc.svn.sourceforge.net/cegcc/?rev=1182&view=rev Author: dannybackx Date: 2008-09-18 21:25:14 +0000 (Thu, 18 Sep 2008) Log Message: ----------- Roll back last change Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/include/stdlib.h Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2008-09-18 21:16:02 UTC (rev 1181) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2008-09-18 21:25:14 UTC (rev 1182) @@ -1,7 +1,3 @@ -2008-09-04 Danny Backx <dan...@us...> - - * include/stdlib.h : Don't define getenv and system on CE. - 2007-12-25 Pedro Alves <ped...@po...> * Makefile.in, mingwex/Makefile.in, profile/Makefile.in: Use Modified: trunk/cegcc/src/mingw/include/stdlib.h =================================================================== --- trunk/cegcc/src/mingw/include/stdlib.h 2008-09-18 21:16:02 UTC (rev 1181) +++ trunk/cegcc/src/mingw/include/stdlib.h 2008-09-18 21:25:14 UTC (rev 1182) @@ -380,12 +380,10 @@ /* Note: This is in startup code, not imported directly from dll */ int __cdecl atexit (void (*)(void)); -#ifndef _WIN32_WCE #ifndef __COREDLL__ _CRTIMP int __cdecl system (const char*); _CRTIMP char* __cdecl getenv (const char*); #endif -#endif /* bsearch and qsort are also in non-ANSI header search.h */ _CRTIMP void* __cdecl bsearch (const void*, const void*, size_t, size_t, This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2009-02-07 23:56:25
|
Revision: 1223 http://cegcc.svn.sourceforge.net/cegcc/?rev=1223&view=rev Author: pedroalves Date: 2009-02-07 23:56:22 +0000 (Sat, 07 Feb 2009) Log Message: ----------- * mingwex/Makefile.in (STDIO_OBJS_CE): Add pformat.o, vsnprintf.o, printf.o, fprintf.o, sprintf.o, vprintf.o, vfprintf.o and vsprintf.o. * mingwex/stdio/pformat.c: Don't include locale.h. (__pformat_exponent_digits): Don't use getenv. (__pformat_t): Don't declare rplen and rpchr fields. (__pformat_emit_radix_point): Don't do localization. (__pformat): Don't initialize rplen or rpchr fields. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/mingwex/Makefile.in trunk/cegcc/src/mingw/mingwex/stdio/pformat.c Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-02-07 23:32:57 UTC (rev 1222) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-02-07 23:56:22 UTC (rev 1223) @@ -1,5 +1,16 @@ 2009-02-07 Pedro Alves <ped...@us...> + * mingwex/Makefile.in (STDIO_OBJS_CE): Add pformat.o, vsnprintf.o, + printf.o, fprintf.o, sprintf.o, vprintf.o, vfprintf.o and + vsprintf.o. + * mingwex/stdio/pformat.c: Don't include locale.h. + (__pformat_exponent_digits): Don't use getenv. + (__pformat_t): Don't declare rplen and rpchr fields. + (__pformat_emit_radix_point): Don't do localization. + (__pformat): Don't initialize rplen or rpchr fields. + +2009-02-07 Pedro Alves <ped...@us...> + Merge from upstream. 2007-12-25 Pedro Alves <ped...@po...> Modified: trunk/cegcc/src/mingw/mingwex/Makefile.in =================================================================== --- trunk/cegcc/src/mingw/mingwex/Makefile.in 2009-02-07 23:32:57 UTC (rev 1222) +++ trunk/cegcc/src/mingw/mingwex/Makefile.in 2009-02-07 23:56:22 UTC (rev 1223) @@ -172,7 +172,8 @@ printf.o fprintf.o sprintf.o vprintf.o vfprintf.o vsprintf.o #TODO: Try out the new objects here? STDIO_OBJS_CE = \ - snprintf.o vsnprintf.o snwprintf.o vsnwprintf.o + pformat.o snprintf.o vsnprintf.o snwprintf.o vsnwprintf.o \ + printf.o fprintf.o sprintf.o vprintf.o vfprintf.o vsprintf.o MATH_OBJS = \ acosf.o acosl.o asinf.o asinl.o atan2f.o atan2l.o \ atanf.o atanl.o cbrt.o cbrtf.o cbrtl.o ceilf.o ceill.o \ Modified: trunk/cegcc/src/mingw/mingwex/stdio/pformat.c =================================================================== --- trunk/cegcc/src/mingw/mingwex/stdio/pformat.c 2009-02-07 23:32:57 UTC (rev 1222) +++ trunk/cegcc/src/mingw/mingwex/stdio/pformat.c 2009-02-07 23:56:22 UTC (rev 1223) @@ -62,7 +62,9 @@ #include <stdlib.h> #include <string.h> #include <limits.h> +#ifndef __COREDLL__ #include <locale.h> +#endif #include <wchar.h> #include <math.h> @@ -175,7 +177,11 @@ static __inline__ __attribute__((__always_inline__)) int __pformat_exponent_digits( void ) { +#ifdef __COREDLL__ + char *exponent_digits = NULL; +#else char *exponent_digits = getenv( "PRINTF_EXPONENT_DIGITS" ); +#endif return ((exponent_digits != NULL) && ((unsigned)(*exponent_digits - '0') < 3)) || (_get_output_format() & _TWO_DIGIT_EXPONENT) ? 2 @@ -252,8 +258,10 @@ int flags; int width; int precision; +#ifndef __COREDLL__ int rplen; wchar_t rpchr; +#endif int count; int quota; int expmin; @@ -864,6 +872,7 @@ static __inline__ void __pformat_emit_radix_point( __pformat_t *stream ) { +#ifndef __COREDLL__ /* Helper to place a localised representation of the radix point * character at the ultimate destination, when formatting fixed or * floating point numbers. @@ -922,6 +931,7 @@ } else +#endif /* No localisation: just use ASCII '.'... */ __pformat_putc( '.', stream ); @@ -1791,8 +1801,10 @@ flags &= PFORMAT_TO_FILE | PFORMAT_NOLIMIT, /* only these valid initially */ PFORMAT_IGNORE, /* no field width yet */ PFORMAT_IGNORE, /* nor any precision spec */ +#ifndef __COREDLL__ PFORMAT_RPINIT, /* radix point uninitialised */ (wchar_t)(0), /* leave it unspecified */ +#endif 0, /* zero output char count */ max, /* establish output limit */ PFORMAT_MINEXP /* exponent chars preferred */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2009-02-08 00:18:50
|
Revision: 1224 http://cegcc.svn.sourceforge.net/cegcc/?rev=1224&view=rev Author: pedroalves Date: 2009-02-08 00:18:40 +0000 (Sun, 08 Feb 2009) Log Message: ----------- * mingwex/Makefile.in (LIB_OBJS): Also pull in $(GDTOA_OBJS). * mingwex/gdtoa/gdtoaimp.h [__COREDLL__]: Don't define USE_LOCALE. Define NO_ERRNO. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/mingwex/Makefile.in trunk/cegcc/src/mingw/mingwex/gdtoa/gdtoaimp.h Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-02-07 23:56:22 UTC (rev 1223) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-02-08 00:18:40 UTC (rev 1224) @@ -1,5 +1,11 @@ 2009-02-07 Pedro Alves <ped...@us...> + * mingwex/Makefile.in (LIB_OBJS): Also pull in $(GDTOA_OBJS). + * mingwex/gdtoa/gdtoaimp.h [__COREDLL__]: Don't define USE_LOCALE. + Define NO_ERRNO. + +2009-02-07 Pedro Alves <ped...@us...> + * mingwex/Makefile.in (STDIO_OBJS_CE): Add pformat.o, vsnprintf.o, printf.o, fprintf.o, sprintf.o, vprintf.o, vfprintf.o and vsprintf.o. Modified: trunk/cegcc/src/mingw/mingwex/Makefile.in =================================================================== --- trunk/cegcc/src/mingw/mingwex/Makefile.in 2009-02-07 23:56:22 UTC (rev 1223) +++ trunk/cegcc/src/mingw/mingwex/Makefile.in 2009-02-08 00:18:40 UTC (rev 1224) @@ -257,7 +257,7 @@ ifneq (,$(findstring mingw32ce,$(host_alias))) LIB_OBJS = $(WINCE_OBJS) $(MATHCE_OBJS) $(MATCHCE_ROUND_OBJS) \ $(Q8_OBJS) $(STDIO_OBJS_CE) \ - $(POSIX_OBJS) + $(POSIX_OBJS) $(GDTOA_OBJS) MATHCE_FLAGS=-D_IEEE_LIBM MATHDIR=mathce else Modified: trunk/cegcc/src/mingw/mingwex/gdtoa/gdtoaimp.h =================================================================== --- trunk/cegcc/src/mingw/mingwex/gdtoa/gdtoaimp.h 2009-02-07 23:56:22 UTC (rev 1223) +++ trunk/cegcc/src/mingw/mingwex/gdtoa/gdtoaimp.h 2009-02-08 00:18:40 UTC (rev 1224) @@ -172,7 +172,9 @@ #define INFNAN_CHECK 1 #define MULTIPLE_THREADS 1 +#ifndef __COREDLL__ #define USE_LOCALE 1 +#endif #ifdef DEBUG #include <stdio.h> @@ -203,6 +205,10 @@ #define IEEE_Arith #endif +#ifdef __COREDLL__ +#define NO_ERRNO +#endif + #ifndef NO_ERRNO #include <errno.h> #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2009-02-08 02:28:11
|
Revision: 1225 http://cegcc.svn.sourceforge.net/cegcc/?rev=1225&view=rev Author: pedroalves Date: 2009-02-08 02:28:08 +0000 (Sun, 08 Feb 2009) Log Message: ----------- * Makefile.in (install-headers): New rule. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/Makefile.in Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-02-08 00:18:40 UTC (rev 1224) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-02-08 02:28:08 UTC (rev 1225) @@ -1,3 +1,7 @@ +2009-02-08 Pedro Alves <ped...@us...> + + * Makefile.in (install-headers): New rule. + 2009-02-07 Pedro Alves <ped...@us...> * mingwex/Makefile.in (LIB_OBJS): Also pull in $(GDTOA_OBJS). Modified: trunk/cegcc/src/mingw/Makefile.in =================================================================== --- trunk/cegcc/src/mingw/Makefile.in 2009-02-08 00:18:40 UTC (rev 1224) +++ trunk/cegcc/src/mingw/Makefile.in 2009-02-08 02:28:08 UTC (rev 1225) @@ -502,6 +502,15 @@ $(mkinstalldirs) $(inst_docdir) $(mkinstalldirs) $(mandir)/man$(mansection) +install-headers: install-dirs + for sub in . sys ; do \ + dstdir=$(inst_includedir)/$$sub ; \ + $(mkinstalldirs) $$dstdir ; \ + for i in $(srcdir)/include/$$sub/*.h ; do \ + $(INSTALL_DATA) $$i $$dstdir/`basename $$i` ; \ + done ; \ + done + install: all install-dirs $(install_dlls_host) for i in $(LIBS); do \ $(INSTALL_DATA) $$i $(inst_libdir)/$$i ; \ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2009-02-08 16:52:54
|
Revision: 1227 http://cegcc.svn.sourceforge.net/cegcc/?rev=1227&view=rev Author: pedroalves Date: 2009-02-08 16:52:52 +0000 (Sun, 08 Feb 2009) Log Message: ----------- * include/_mingw.h (__MSVCRT_VERSION__): Only define if __MSVCRT__ is defined. * mingwex/Makefile.in (PFORMAT_CFLAGS): Don't define __MSVCRT_VERSION__ when building for mingw32ce. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/include/_mingw.h trunk/cegcc/src/mingw/mingwex/Makefile.in Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-02-08 11:20:14 UTC (rev 1226) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-02-08 16:52:52 UTC (rev 1227) @@ -1,5 +1,12 @@ 2009-02-08 Pedro Alves <ped...@us...> + * include/_mingw.h (__MSVCRT_VERSION__): Only define if __MSVCRT__ + is defined. + * mingwex/Makefile.in (PFORMAT_CFLAGS): Don't define + __MSVCRT_VERSION__ when building for mingw32ce. + +2009-02-08 Pedro Alves <ped...@us...> + * Makefile.in (install-headers): New rule. 2009-02-07 Pedro Alves <ped...@us...> Modified: trunk/cegcc/src/mingw/include/_mingw.h =================================================================== --- trunk/cegcc/src/mingw/include/_mingw.h 2009-02-08 11:20:14 UTC (rev 1226) +++ trunk/cegcc/src/mingw/include/_mingw.h 2009-02-08 16:52:52 UTC (rev 1227) @@ -230,7 +230,7 @@ /* TODO: Mark (almost) all CRT functions as __MINGW_NOTHROW. This will allow GCC to optimize away some EH unwind code, at least in DW2 case. */ -#ifndef __MSVCRT_VERSION__ +#if defined __MSVCRT__ && !defined (__MSVCRT_VERSION__) /* High byte is the major version, low byte is the minor. */ # define __MSVCRT_VERSION__ 0x0600 #endif Modified: trunk/cegcc/src/mingw/mingwex/Makefile.in =================================================================== --- trunk/cegcc/src/mingw/mingwex/Makefile.in 2009-02-08 11:20:14 UTC (rev 1226) +++ trunk/cegcc/src/mingw/mingwex/Makefile.in 2009-02-08 16:52:52 UTC (rev 1227) @@ -328,7 +328,12 @@ # (in the parent directory) to maintain forward compatibility # for earlier versions of MSVCRT.DLL # -PFORMAT_CFLAGS = $(ALL_CFLAGS) -I $(srcdir)/gdtoa -D__MSVCRT_VERSION__=0x0800 +PFORMAT_CFLAGS = $(ALL_CFLAGS) -I $(srcdir)/gdtoa + +ifeq (,$(findstring mingw32ce,$(host_alias))) +PFORMAT_CFLAGS:=$(PFORMAT_CFLAGS) -D__MSVCRT_VERSION__=0x0800 +endif + pformat.o: pformat.c pformat.h $(CC) -c $(PFORMAT_CFLAGS) $(srcdir)/stdio/$*.c -o $@ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-04-07 18:46:52
|
Revision: 1228 http://cegcc.svn.sourceforge.net/cegcc/?rev=1228&view=rev Author: dannybackx Date: 2009-04-07 18:46:40 +0000 (Tue, 07 Apr 2009) Log Message: ----------- Change wfdopen definition Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/include/stdio.h Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-02-08 16:52:52 UTC (rev 1227) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-04-07 18:46:40 UTC (rev 1228) @@ -1,3 +1,8 @@ +2009-04-07 Danny Backx <dan...@us...> + + * include/stdio.h (_wfdopen) : Add const keyword to 2nd parameter + after discussion on the mailing list. + 2009-02-08 Pedro Alves <ped...@us...> * include/_mingw.h (__MSVCRT_VERSION__): Only define if __MSVCRT__ Modified: trunk/cegcc/src/mingw/include/stdio.h =================================================================== --- trunk/cegcc/src/mingw/include/stdio.h 2009-02-08 16:52:52 UTC (rev 1227) +++ trunk/cegcc/src/mingw/include/stdio.h 2009-04-07 18:46:40 UTC (rev 1228) @@ -664,7 +664,7 @@ #ifndef __STRICT_ANSI__ _CRTIMP wchar_t* __cdecl _getws (wchar_t*); _CRTIMP int __cdecl _putws (const wchar_t*); -_CRTIMP FILE* __cdecl _wfdopen(int, wchar_t *); +_CRTIMP FILE* __cdecl _wfdopen(int, const wchar_t *); _CRTIMP FILE* __cdecl _wfopen (const wchar_t*, const wchar_t*); _CRTIMP FILE* __cdecl _wfreopen (const wchar_t*, const wchar_t*, FILE*); #endif /* __STRICT_ANSI__ */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-04-16 17:17:43
|
Revision: 1244 http://cegcc.svn.sourceforge.net/cegcc/?rev=1244&view=rev Author: dannybackx Date: 2009-04-16 17:17:38 +0000 (Thu, 16 Apr 2009) Log Message: ----------- One more from Johnny : I added a mingw_ prefix to the global methods. Now the libstdc++ does compile without problems. The problem doesn't appear with ARM because ARM uses ELF and then the _do_global_dtors and _do_global_ctors are not compiled as part of libgcc2.c Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/gccmain.c Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-04-16 17:10:35 UTC (rev 1243) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-04-16 17:17:38 UTC (rev 1244) @@ -1,3 +1,11 @@ +2009-04-16 Johnny Willemsen <jwi...@re...> + + * gccmain.c (do_global_dtors, do_global_ctors): Add _mingw prefix + to the global methods to avoid name conflict with libstdc++. This + problem doesn't appear with ARM because ARM uses ELF and then the + _do_global_dtors and _do_global_ctors are not compiled as part + of libgcc2.c + 2009-04-07 Danny Backx <dan...@us...> * include/stdio.h (_wfdopen) : Add const keyword to 2nd parameter Modified: trunk/cegcc/src/mingw/gccmain.c =================================================================== --- trunk/cegcc/src/mingw/gccmain.c 2009-04-16 17:10:35 UTC (rev 1243) +++ trunk/cegcc/src/mingw/gccmain.c 2009-04-16 17:17:38 UTC (rev 1244) @@ -19,7 +19,7 @@ extern func_ptr __DTOR_LIST__[]; void -__do_global_dtors (void) +__mingw_do_global_dtors (void) { static func_ptr *p = __DTOR_LIST__ + 1; @@ -35,7 +35,7 @@ } void -__do_global_ctors (void) +__mingw_do_global_ctors (void) { unsigned long nptrs = (unsigned long) __CTOR_LIST__[0]; unsigned i; @@ -51,7 +51,7 @@ ; } - /* + /* * Go through the list backwards calling constructors. */ for (i = nptrs; i >= 1; i--) @@ -62,7 +62,7 @@ /* * Register the destructors for processing on exit. */ - atexit (__do_global_dtors); + atexit (__mingw_do_global_dtors); } static int initialized = 0; @@ -77,7 +77,7 @@ if (!initialized) { initialized = 1; - __do_global_ctors (); + __mingw_do_global_ctors (); } } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-04-16 18:12:48
|
Revision: 1245 http://cegcc.svn.sourceforge.net/cegcc/?rev=1245&view=rev Author: dannybackx Date: 2009-04-16 18:12:37 +0000 (Thu, 16 Apr 2009) Log Message: ----------- The fix, hopefully right, for the image_base issue. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/Makefile.in trunk/cegcc/src/mingw/include/_mingw.h Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-04-16 17:17:38 UTC (rev 1244) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-04-16 18:12:37 UTC (rev 1245) @@ -1,3 +1,9 @@ +2009-04-16 Danny Backx <dan...@us...> + + * Makefile.in (DLLSTARTUPSYM): Create extra variable to prefix + the DllMainCRTStartup symbol with an underscore when on an x86 target. + * include/_mingw.h (__U, __IMP) : Define them separately for x86. + 2009-04-16 Johnny Willemsen <jwi...@re...> * gccmain.c (do_global_dtors, do_global_ctors): Add _mingw prefix Modified: trunk/cegcc/src/mingw/Makefile.in =================================================================== --- trunk/cegcc/src/mingw/Makefile.in 2009-04-16 17:17:38 UTC (rev 1244) +++ trunk/cegcc/src/mingw/Makefile.in 2009-04-16 18:12:37 UTC (rev 1245) @@ -284,9 +284,19 @@ $(AR) $(ARFLAGS) $@ crtmt.o $(RANLIB) $@ +# +# Special rule because this target has a leading underscore +# where others (ARM) do not. +# +ifeq ($(target_alias),i386-mingw32ce) +DLLSTARTUPSYM=_DllMainCRTStartup +else +DLLSTARTUPSYM=DllMainCRTStartup +endif + DLL_OFILES = mthr.o mthr_init.o DLL_CC_STUFF = -B./ -shared $(MNO_CYGWIN) -Wl,--image-base,0x6FBC0000 \ - -Wl,--entry,DllMainCRTStartup \ + -Wl,--entry,$(DLLSTARTUPSYM) \ $(DLL_OFILES) mingwthrd.def \ -Lmingwex @@ -356,7 +366,7 @@ libceoldname.a: moldname-coredll.def $(MOLD_OBJS) $(DLLTOOL) --as $(AS) -k -U \ - --dllname coredll.dll \ + --dllname COREDLL \ --def moldname-coredll.def \ --output-lib $@ $(AR) rc $@ $(MOLD_OBJS) Modified: trunk/cegcc/src/mingw/include/_mingw.h =================================================================== --- trunk/cegcc/src/mingw/include/_mingw.h 2009-04-16 17:17:38 UTC (rev 1244) +++ trunk/cegcc/src/mingw/include/_mingw.h 2009-04-16 18:12:37 UTC (rev 1245) @@ -204,10 +204,14 @@ #define __MINGW_ATTRIB_NONNULL(arg) #endif /* GNUC >= 3.3 */ -#ifdef UNDER_CE +#if defined(UNDER_CE) && defined(__ARM__) /* ARM Windows CE is not underscored. */ # define __U(SYM) _ ## SYM # define __IMP(S) __imp_ ## S +#elif defined(UNDER_CE) && defined(i386) +/* i386 Windows CE versions are underscored. */ +# define __U(SYM) SYM +# define __IMP(S) _imp__ ## S #else /* Desktop i386 Windows versions are underscored. */ # define __U(SYM) SYM This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-04-21 18:19:37
|
Revision: 1248 http://cegcc.svn.sourceforge.net/cegcc/?rev=1248&view=rev Author: dannybackx Date: 2009-04-21 18:19:25 +0000 (Tue, 21 Apr 2009) Log Message: ----------- Fix the problem reported on the list about image_base. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/include/_mingw.h Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-04-20 21:35:10 UTC (rev 1247) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-04-21 18:19:25 UTC (rev 1248) @@ -1,3 +1,9 @@ +2009-04-22 Danny Backx <dan...@us...> + + * include/_mingw.h : Change test to check for __arm__ instead of + __ARM__. The latter is only declared by an include file, the former + is built into the compiler. + 2009-04-16 Danny Backx <dan...@us...> * Makefile.in (DLLSTARTUPSYM): Create extra variable to prefix Modified: trunk/cegcc/src/mingw/include/_mingw.h =================================================================== --- trunk/cegcc/src/mingw/include/_mingw.h 2009-04-20 21:35:10 UTC (rev 1247) +++ trunk/cegcc/src/mingw/include/_mingw.h 2009-04-21 18:19:25 UTC (rev 1248) @@ -204,7 +204,7 @@ #define __MINGW_ATTRIB_NONNULL(arg) #endif /* GNUC >= 3.3 */ -#if defined(UNDER_CE) && defined(__ARM__) +#if defined(UNDER_CE) && defined(__arm__) /* ARM Windows CE is not underscored. */ # define __U(SYM) _ ## SYM # define __IMP(S) __imp_ ## S This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-04-26 14:32:04
|
Revision: 1249 http://cegcc.svn.sourceforge.net/cegcc/?rev=1249&view=rev Author: dannybackx Date: 2009-04-26 14:31:56 +0000 (Sun, 26 Apr 2009) Log Message: ----------- Support a libcoredll6.a which can be used by developers that aim for Windows CE 6.* exclusively. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/Makefile.in Added Paths: ----------- trunk/cegcc/src/mingw/coredll6.def Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-04-21 18:19:25 UTC (rev 1248) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-04-26 14:31:56 UTC (rev 1249) @@ -1,3 +1,12 @@ +2009-04-26 Danny Backx <dan...@us...> + + * coredll6.def : New file. + * Makefile.in (libcoredll6.a) : New target to build a library that + supports APIs new to higher versions of CE (to be sure that people + who also aim older devices can develop with the regular library). + * Makefile.in (lib%.a) : Remove the rule for ofmt_stub.o, it always + fails because it relies on a function that is a macro in our sources. + 2009-04-22 Danny Backx <dan...@us...> * include/_mingw.h : Change test to check for __arm__ instead of Modified: trunk/cegcc/src/mingw/Makefile.in =================================================================== --- trunk/cegcc/src/mingw/Makefile.in 2009-04-21 18:19:25 UTC (rev 1248) +++ trunk/cegcc/src/mingw/Makefile.in 2009-04-26 14:31:56 UTC (rev 1249) @@ -213,7 +213,7 @@ strcasecmp.o strncasecmp.o wcscmpi.o ifneq (,$(findstring mingw32ce,$(target_alias))) -LIBS = libcoredll.a \ +LIBS = libcoredll.a libcoredll6.a \ libmingw32.a \ libceoldname.a \ $(LIBM_A) \ @@ -575,6 +575,7 @@ # Dependencies # libcoredll.a: coredll.def +libcoredll6.a: coredll6.def libcrtdll.a: crtdll.def libmsvcrt.a: msvcrt.def libmsvcrtd.a: msvcrtd.def @@ -618,6 +619,9 @@ MINGW_REPL_FUNCS = printf fprintf sprintf vprintf vfprintf vsprintf +libcoredll6.a: coredll6.def + $(DLLTOOL) --as=$(AS) -k --dllname coredll.dll --output-lib $@ --def $< + lib%.a: %.def $(DLLTOOL) --as=$(AS) -k --dllname $*.dll --output-lib $@ --def $< for key in $(MINGW_REPL_FUNCS); do \ @@ -630,8 +634,6 @@ --redefine-sym __imp__$$key=__imp__$(sym_prefix)_$$key \ $$src $$dst; \ fi; done; \ - test `key=_get_output_format; $(NM_LOOKUP)` || \ - repl="$$repl ofmt_stub.o"; \ test -n "$$repl" && $(AR) rcs $@ $$repl; \ $(RM) $$tmpfiles Added: trunk/cegcc/src/mingw/coredll6.def =================================================================== --- trunk/cegcc/src/mingw/coredll6.def (rev 0) +++ trunk/cegcc/src/mingw/coredll6.def 2009-04-26 14:31:56 UTC (rev 1249) @@ -0,0 +1,1671 @@ +; PLEASE KEEP THE MINGW/COREDLL.DEF AND W32API/LIBCE/COREDLL.DEF +; FILES IN SYNC. + +LIBRARY COREDLL +EXPORTS +AFS_CloseAllFileHandles +AFS_CreateDirectoryW +AFS_CreateFileW +AFS_DeleteFileW +AFS_FindFirstChangeNotificationW +AFS_FindFirstFileW +AFS_GetDiskFreeSpace +AFS_GetFileAttributesW +AFS_MoveFileW +AFS_NotifyMountedFS +AFS_PrestoChangoFileName +AFS_RegisterFileSystemFunction +AFS_RemoveDirectoryW +AFS_SetFileAttributesW +AFS_Unmount +A_SHAFinal +A_SHAInit +A_SHAUpdate +AbortDoc +AccessibilitySoundSentryEvent +ActivateDevice +ActivateDeviceEx +ActivateKeyboardLayout +ActivateService +AddEventAccess +AddFontResourceW +AddTrackedItem +AdjustWindowRectEx +AdvertiseInterface +AllKeys +AllocPhysMem +AppendMenuW +AttachDebugger +AudioUpdateFromRegistry +BatteryDrvrGetLevels +BatteryDrvrSupportsChangeNotification +BatteryGetLifeTimeInfo +BatteryNotifyOfTimeChange +BeginDeferWindowPos +BeginPaint +BinaryCompress +BinaryDecompress +BitBlt +BringWindowToTop +CacheRangeFlush +CacheSync +CallNextHookEx +CallWindowProcW +CeChangeDatabaseLCID +CeClearReplChangeBitsEx +CeClearUserNotification +CeCreateDatabase +CeCreateDatabaseEx +CeCreateDatabaseEx2 +CeDeleteDatabase +CeDeleteDatabaseEx +CeDeleteRecord +CeEnumDBVolumes +CeEventHasOccurred +CeFindFirstDatabase +CeFindFirstDatabaseEx +CeFindNextDatabase +CeFindNextDatabaseEx +CeFlushDBVol +CeFreeNotification +CeGenRandom +CeGetCallerTrust +CeGetCurrentTrust +CeGetDBInformationByHandle +CeGetFileNotificationInfo +CeGetRandomSeed +CeGetReplChangeBitsEx +CeGetReplChangeMask +CeGetReplOtherBitsEx +CeGetThreadPriority +CeGetThreadQuantum +CeGetUserNotification +CeGetUserNotificationHandles +CeGetUserNotificationPreferences +CeHandleAppNotifications +CeLogData +CeLogGetZones +CeLogReSync +CeLogSetZones +CeMapArgumentArray +CeModuleJit +CeMountDBVol +CeOidGetInfo +CeOidGetInfoEx +CeOidGetInfoEx2 +CeOpenDatabase +CeOpenDatabaseEx +CeOpenDatabaseEx2 +CeReadRecordProps +CeReadRecordPropsEx +CeRegisterFileSystemNotification +CeRegisterReplNotification +CeRemoveFontResource +CeResyncFilesys +CeRunAppAtEvent +CeRunAppAtTime +CeSeekDatabase +CeSeekDatabaseEx +CeSetDatabaseInfo +CeSetDatabaseInfoEx +CeSetDatabaseInfoEx2 +CeSetExtendedPdata +CeSetPowerOnEvent +CeSetProcessVersion +CeSetReplChangeBitsEx +CeSetReplChangeMask +CeSetReplOtherBitsEx +CeSetThreadPriority +CeSetThreadQuantum +CeSetUserNotification +CeSetUserNotificationEx +CeUnmountDBVol +CeWriteRecordProps +CeZeroPointer +ChangeDisplaySettingsEx +CharLowerBuffW +CharLowerW +CharNextW +CharPrevW +CharUpperBuffW +CharUpperW +CheckMenuItem +CheckMenuRadioItem +CheckPassword +CheckRadioButton +ChildWindowFromPoint +ClearCommBreak +ClearCommError +ClientToScreen +ClipCursor +CloseAllDeviceHandles +CloseAllFileHandles +CloseAllServiceHandles +CloseClipboard +CloseEnhMetaFile +CloseHandle +CloseMsgQueue +CloseProcOE +ComThreadBaseFunc +CombineRgn +CompactAllHeaps +CompareFileTime +CompareStringW +ConnectDebugger +ContinueDebugEvent +ConvertDefaultLocale +CopyFileW +CopyRect +CountClipboardFormats +CreateAPIHandle +CreateAPISet +CreateAcceleratorTableW +CreateBitmap +CreateBitmapFromPointer +CreateCaret +CreateCompatibleBitmap +CreateCompatibleDC +CreateCrit +CreateDCW +CreateDIBPatternBrushPt +CreateDIBSection +CreateDeviceHandle +CreateDialogIndirectParamW +CreateDirectoryW +CreateEnhMetaFileW +CreateEventW +CreateFileForMapping +CreateFileForMappingW +CreateFileMappingW +CreateFileW +CreateFontIndirectW +CreateIconIndirect +CreateLocaleView +CreateMenu +CreateMsgQueue +CreateMutexW +CreatePalette +CreatePatternBrush +CreatePen +CreatePenIndirect +CreatePopupMenu +CreateProcessW +CreateRectRgn +CreateRectRgnIndirect +CreateSemaphoreW +CreateServiceHandle +CreateSolidBrush +CreateStaticMapping +CreateThread +CreateWindowExW +CryptAcquireContextW +CryptContextAddRef +CryptCreateHash +CryptDecrypt +CryptDeriveKey +CryptDestroyHash +CryptDestroyKey +CryptDuplicateHash +CryptDuplicateKey +CryptEncrypt +CryptEnumProviderTypesW +CryptEnumProvidersW +CryptExportKey +CryptGenKey +CryptGenRandom +CryptGetDefaultProviderW +CryptGetHashParam +CryptGetKeyParam +CryptGetProvParam +CryptGetUserKey +CryptHashData +CryptHashSessionKey +CryptImportKey +CryptProtectData +CryptReleaseContext +CryptSetHashParam +CryptSetKeyParam +CryptSetProvParam +CryptSetProviderExW +CryptSetProviderW +CryptSignHashW +CryptUnprotectData +CryptVerifySignatureW +DBCanonicalize +DDKReg_GetIsrInfo +DDKReg_GetPciInfo +DDKReg_GetWindowInfo +DeactivateDevice +DebugActiveProcess +DebugNotify +DecompressBinaryBlock +DefDlgProcW +DefWindowProcW +DeferWindowPos +DeleteAndRenameFile +DeleteCriticalSection +DeleteDC +DeleteEnhMetaFile +DeleteFileW +DeleteMenu +DeleteObject +DeleteTrackedItem +DeregisterAFS +DeregisterAFSName +DeregisterDevice +DeregisterService +DestroyAcceleratorTable +DestroyCaret +DestroyIcon +DestroyMenu +DestroyWindow +DeviceIoControl +DevicePowerNotify +DialogBoxIndirectParamW +DisableCaretSystemWide +DisableThreadLibraryCalls +DispatchMessageW +DrawEdge +DrawFocusRect +DrawFrameControl +DrawIconEx +DrawMenuBar +DrawTextW +DumpFileSystemHeap +DumpKCallProfile +DuplicateHandle +Ellipse +EmptyClipboard +EnableCaretSystemWide +EnableEUDC +EnableHardwareKeyboard +EnableMenuItem +EnableWindow +EndDeferWindowPos +EndDialog +EndDoc +EndPage +EndPaint +EnterCriticalSection +EnumCalendarInfoW +EnumClipboardFormats +EnumDateFormatsW +EnumDevices +EnumDisplayDevices +EnumDisplayMonitors +EnumDisplaySettings +EnumFontFamiliesW +EnumFontsW +EnumPnpIds +EnumPropsEx +EnumServices +EnumSystemCodePagesW +EnumSystemLocalesW +EnumTimeFormatsW +EnumUILanguagesW +EnumWindows +EqualRect +EqualRgn +EscapeCommFunction +EventModify +ExcludeClipRect +ExitThread +ExtCreateRegion +ExtEscape +ExtTextOutW +ExtractIconExW +ExtractResource +FileSystemPowerFunction +FileTimeToLocalFileTime +FileTimeToSystemTime +FillRect +FillRgn +FilterTrackedItem +FindClose +FindCloseChangeNotification +FindFirstChangeNotificationW +FindFirstFileExW +FindFirstFileW +FindNextChangeNotification +FindNextFileW +FindResource +FindResourceW +FindWindowW +FlushFileBuffers +FlushInstructionCache +FlushViewOfFile +FlushViewOfFileMaybe +FoldStringW +ForcePageout +FormatMessageW +FreeIntChainHandler +FreeLibrary +FreeLibraryAndExitThread +FreePhysMem +GetACP +GetAPIAddress +GetActiveWindow +GetAssociatedMenu +GetAsyncKeyState +GetAsyncShiftFlags +GetBkColor +GetBkMode +GetCPInfo +GetCRTFlags +GetCRTStorageEx +GetCallStackSnapshot +GetCallerProcess +GetCallerProcessIndex +GetCapture +GetCaretBlinkTime +GetCaretPos +GetCharABCWidths +GetCharWidth32 +GetClassInfoW +GetClassLong +GetClassLongW +GetClassNameW +GetClientRect +GetClipBox +GetClipCursor +GetClipRgn +GetClipboardData +GetClipboardDataAlloc +GetClipboardFormatNameW +GetClipboardOwner +GetCommMask +GetCommModemStatus +GetCommProperties +GetCommState +GetCommTimeouts +GetCommandLineW +GetCurrencyFormatW +GetCurrentFT +GetCurrentObject +GetCurrentPermissions +GetCurrentPositionEx +GetCursor +GetCursorPos +GetDC +GetDCEx +GetDIBColorTable +GetDateFormatW +GetDesktopWindow +GetDeviceByIndex +GetDeviceCaps +GetDeviceKeys +GetDevicePower +GetDialogBaseUnits +GetDiskFreeSpaceExW +GetDlgCtrlID +GetDlgItem +GetDlgItemInt +GetDlgItemTextW +GetDoubleClickTime +GetEventData +GetExitCodeProcess +GetExitCodeThread +GetFSHeapInfo +GetFileAttributesExW +GetFileAttributesW +GetFileInformationByHandle +GetFileSize +GetFileTime +GetFileVersionInfoSizeW +GetFileVersionInfoW +GetFocus +GetForegroundInfo +GetForegroundKeyboardLayoutHandle +GetForegroundKeyboardTarget +GetForegroundWindow +GetHeapSnapshot +GetIdleTime +GetKPhys +GetKeyState +GetKeyboardLayout +GetKeyboardLayoutList +GetKeyboardLayoutNameW +GetKeyboardStatus +GetKeyboardTarget +GetKeyboardType +GetLastError +GetLocalTime +GetLocaleInfoW +GetMenuItemInfoW +GetMessagePos +GetMessageQueueReadyTimeStamp +GetMessageSource +GetMessageW +GetMessageWNoWait +GetModuleFileNameW +GetModuleHandleW +GetModuleInformation +GetMonitorInfo +GetMouseMovePoints +GetMsgQueueInfo +GetNearestColor +GetNearestPaletteIndex +GetNextDlgGroupItem +GetNextDlgTabItem +GetNumberFormatW +GetOEMCP +GetObjectType +GetObjectW +GetOpenClipboardWindow +GetOpenFileNameW +GetOwnerProcess +GetPaletteEntries +GetParent +GetPasswordActive +GetPasswordStatus +GetPixel +GetPriorityClipboardFormat +GetPrivateCallbacks +GetProcAddrBits +GetProcAddressA +GetProcAddressW +GetProcFromPtr +GetProcName +GetProcessHeap +GetProcessIDFromIndex +GetProcessIndexFromID +GetProcessVersion +GetProp +GetQueueStatus +GetRealTime +GetRegionData +GetRgnBox +GetRomFileBytes +GetRomFileInfo +GetSaveFileNameW +GetScrollInfo +GetServiceByIndex +GetServiceHandle +GetStdioPathW +GetStockObject +GetStoreInformation +GetStringTypeExW +GetStringTypeW +GetSubMenu +GetSysColor +GetSysColorBrush +GetSystemDefaultLCID +GetSystemDefaultLangID +GetSystemDefaultUILanguage +GetSystemInfo +GetSystemMemoryDivision +GetSystemMetrics +GetSystemPaletteEntries +GetSystemPowerState +GetSystemPowerStatusEx +GetSystemPowerStatusEx2 +GetSystemTime +GetTempFileNameW +GetTempPathW +GetTextAlign +GetTextColor +GetTextExtentExPointW +GetTextFaceW +GetTextMetricsW +GetThreadContext +GetThreadPriority +GetThreadTimes +GetTickCount +GetTimeFormatW +GetTimeZoneInformation +GetUpdateRect +GetUpdateRgn +GetUserDefaultLCID +GetUserDefaultLangID +GetUserDefaultUILanguage +GetUserDirectory +GetUserNameExW +GetVersionEx +GetVersionExW +GetWindow +GetWindowDC +GetWindowLongW +GetWindowRect +GetWindowRgn +GetWindowTextLengthW +GetWindowTextW +GetWindowTextWDirect +GetWindowThreadProcessId +GiveKPhys +GlobalAddAtomW +GlobalDeleteAtom +GlobalFindAtomW +GlobalMemoryStatus +GradientFill +GwesPowerDown +GwesPowerOffSystem +GwesPowerUp +HeapAlloc +HeapAllocTrace +HeapCreate +HeapDestroy +HeapFree +HeapReAlloc +HeapSize +HeapValidate +HideCaret +ImageList_Add +ImageList_AddMasked +ImageList_BeginDrag +ImageList_Copy +ImageList_CopyDitherImage +ImageList_Create +ImageList_Destroy +ImageList_DragEnter +ImageList_DragLeave +ImageList_DragMove +ImageList_DragShowNolock +ImageList_Draw +ImageList_DrawEx +ImageList_DrawIndirect +ImageList_Duplicate +ImageList_EndDrag +ImageList_GetBkColor +ImageList_GetDragImage +ImageList_GetIcon +ImageList_GetIconSize +ImageList_GetImageCount +ImageList_GetImageInfo +ImageList_LoadImage +ImageList_Merge +ImageList_Remove +ImageList_Replace +ImageList_ReplaceIcon +ImageList_SetBkColor +ImageList_SetDragCursorImage +ImageList_SetIconSize +ImageList_SetImageCount +ImageList_SetOverlayImage +ImmAssociateContext +ImmAssociateContextEx +ImmConfigureIMEW +ImmCreateContext +ImmCreateIMCC +ImmDestroyContext +ImmDestroyIMCC +ImmDisableIME +ImmEnableIME +ImmEnumRegisterWordW +ImmEscapeW +ImmGenerateMessage +ImmGetCandidateListCountW +ImmGetCandidateListW +ImmGetCandidateWindow +ImmGetCompositionFontW +ImmGetCompositionStringW +ImmGetCompositionWindow +ImmGetContext +ImmGetConversionListW +ImmGetConversionStatus +ImmGetDefaultIMEWnd +ImmGetDescriptionW +ImmGetGuideLineW +ImmGetHotKey +ImmGetIMCCLockCount +ImmGetIMCCSize +ImmGetIMCLockCount +ImmGetIMEFileNameW +ImmGetImeMenuItemsW +ImmGetKeyboardLayout +ImmGetOpenStatus +ImmGetProperty +ImmGetRegisterWordStyleW +ImmGetStatusWindowPos +ImmGetVirtualKey +ImmIsIME +ImmIsUIMessageW +ImmLockIMC +ImmLockIMCC +ImmNotifyIME +ImmReSizeIMCC +ImmRegisterWordW +ImmReleaseContext +ImmRequestMessageW +ImmSIPanelState +ImmSetCandidateWindow +ImmSetCompositionFontW +ImmSetCompositionStringW +ImmSetCompositionWindow +ImmSetConversionStatus +ImmSetHotKey +ImmSetImeWndIMC +ImmSetOpenStatus +ImmSetStatusWindowPos +ImmSimulateHotKey +ImmUnlockIMC +ImmUnlockIMCC +ImmUnregisterWordW +InSendMessage +InflateRect +InitLocale +InitializeCriticalSection +InputDebugCharW +InsertMenuW +Int_CloseHandle +Int_CreateEventW +Int_HeapAlloc +Int_HeapCreate +Int_HeapDestroy +Int_HeapFree +Int_HeapReAlloc +Int_HeapSize +InterlockedCompareExchange +InterlockedDecrement +InterlockedExchange +InterlockedExchangeAdd +InterlockedIncrement +InterlockedTestExchange +InterruptDisable +InterruptDone +InterruptInitialize +InterruptMask +IntersectClipRect +IntersectRect +InvalidateRect +InvalidateRgn +InvertRect +IsAPIReady +IsBadCodePtr +IsBadPtr +IsBadReadPtr +IsBadWritePtr +IsChild +IsClipboardFormatAvailable +IsDBCSLeadByte +IsDBCSLeadByteEx +IsDialogMessageW +IsEncryptionPermitted +IsExiting +IsPrimaryThread +IsProcessDying +IsProcessorFeaturePresent +IsRectEmpty +IsSystemFile +IsValidCodePage +IsValidLocale +IsWindow +IsWindowEnabled +IsWindowVisible +KernExtractIcons +KernelIoControl +KernelLibIoControl +KeybdGetDeviceInfo +KeybdInitStates +KeybdVKeyToUnicode +KillAllOtherThreads +KillTimer +LCMapStringW +LeaveCritSec +LeaveCriticalSection +LineTo +LoadAcceleratorsW +LoadAnimatedCursor +LoadBitmapW +LoadCursorW +LoadDriver +LoadFSD +LoadFSDEx +LoadIconW +LoadImageW +LoadIntChainHandler +LoadKernelLibrary +LoadKeyboardLayoutW +LoadLibraryExW +LoadLibraryW +LoadMenuW +LoadResource +LoadStringW +LocalAlloc +LocalAllocInProcess +LocalAllocTrace +LocalFileTimeToFileTime +LocalFree +LocalFreeInProcess +LocalReAlloc +LocalSize +LocalSizeInProcess +LockPages +MD5Final +MD5Init +MD5Update +MainThreadBaseFunc +MapCallerPtr +MapDialogRect +MapPtrToProcWithSize +MapPtrToProcess +MapPtrUnsecure +MapViewOfFile +MapVirtualKeyW +MapWindowPoints +MaskBlt +MessageBeep +MessageBoxW +MonitorFromPoint +MonitorFromRect +MonitorFromWindow +MoveFileW +MoveToEx +MoveWindow +MsgWaitForMultipleObjectsEx +MultiByteToWideChar +NKDbgPrintfW +NKTerminateThread +NKvDbgPrintfW +NLedGetDeviceInfo +NLedSetDevice +NotifyForceCleanboot +NotifyWinUserSystem +OffsetRect +OffsetRgn +OpenClipboard +OpenDeviceKey +OpenEventW +OpenMsgQueue +OpenProcess +OtherThreadsRunning +OutputDebugStringW +PPSHRestart +PSLNotify +PageOutModule +PatBlt +PeekMessageW +PegClearUserNotification +PegCreateDatabase +PegDeleteDatabase +PegDeleteRecord +PegFindFirstDatabase +PegFindNextDatabase +PegGetUserNotificationPreferences +PegHandleAppNotifications +PegOidGetInfo +PegOpenDatabase +PegReadRecordProps +PegRemoveFontResource +PegRunAppAtEvent +PegRunAppAtTime +PegSeekDatabase +PegSetDatabaseInfo +PegSetUserNotification +PegWriteRecordProps +PerformCallBack4 +PlayEnhMetaFile +PlaySoundW +Polygon +Polyline +PostKeybdMessage +PostMessageW +PostQuitMessage +PostThreadMessageW +PowerOffSystem +PowerPolicyNotify +PrintTrackedItem +ProcessDetachAllDLLs +ProfileCaptureStatus +ProfileStart +ProfileStartEx +ProfileStop +ProfileSyscall +PtInRect +PtInRegion +PurgeComm +QASetWindowsJournalHook +QAUnhookWindowsJournalHook +QueryAPISetID +QueryInstructionSet +QueryPerformanceCounter +QueryPerformanceFrequency +RaiseException +Random +RasDeleteEntry +RasDevConfigDialogEditW +RasDial +RasEnumConnections +RasEnumDevicesW +RasEnumEntries +RasGetConnectStatus +RasGetDispPhoneNumW +RasGetEapConnectionData +RasGetEapUserData +RasGetEntryDevConfig +RasGetEntryDialParams +RasGetEntryProperties +RasGetLinkStatistics +RasGetProjectionInfoW +RasHangUp +RasHangup +RasIOControl +RasRenameEntry +RasSetEapConnectionData +RasSetEapUserData +RasSetEntryDevConfig +RasSetEntryDialParams +RasSetEntryProperties +RasValidateEntryName +ReadFile +ReadFileWithSeek +ReadMsgQueue +ReadProcessMemory +ReadRegistryFromOEM +RealizePalette +RectInRegion +RectVisible +Rectangle +RectangleAnimation +RedrawWindow +RefreshKernelAlarm +RegCloseKey +RegCopyFile +RegCreateKeyExW +RegDeleteKeyW +RegDeleteValueW +RegEnumKeyExW +RegEnumValueW +RegFlushKey +RegOpenKeyExW +RegOpenProcessKey +RegQueryInfoKeyW +RegQueryValueExW +RegReplaceKey +RegRestoreFile +RegSaveKey +RegSetValueExW +RegisterAFSEx +RegisterAFSName +RegisterAPISet +RegisterClassW +RegisterClipboardFormatW +RegisterDbgZones +RegisterDesktop +RegisterDevice +RegisterHotKey +RegisterPowerRelationship +RegisterSIPanel +RegisterService +RegisterTaskBar +RegisterTaskBarEx +RegisterTrackedItem +RegisterWindowMessageW +ReinitLocale +ReleaseCapture +ReleaseDC +ReleaseMutex +ReleasePowerRelationship +ReleasePowerRequirement +ReleaseSemaphore +RemoteHeapAlloc +RemoteHeapFree +RemoteHeapReAlloc +RemoteHeapSize +RemoteLocalAlloc +RemoteLocalFree +RemoteLocalReAlloc +RemoteLocalSize +RemoveDirectoryW +RemoveFontResourceW +RemoveMenu +RemoveProp +RequestDeviceNotifications +RequestPowerNotifications +ResourceCreateList +ResourceRelease +ResourceRequest +RestoreDC +ResumeThread +RoundRect +SHAddToRecentDocs +SHCreateExplorerInstance +SHCreateShortcut +SHCreateShortcutEx +SHGetFileInfo +SHGetShortcutTarget +SHGetSpecialFolderPath +SHLoadDIBitmap +SHShowOutOfMemory +SaveDC +ScreenToClient +ScrollDC +ScrollWindowEx +SelectClipRgn +SelectObject +SelectPalette +SendDlgItemMessageW +SendInput +SendMessageTimeout +SendMessageW +SendNotifyMessageW +ServiceAddPort +ServiceClosePort +ServiceIoControl +ServiceUnbindPorts +SetACP +SetAbortProc +SetActiveWindow +SetAssociatedMenu +SetBitmapBits +SetBkColor +SetBkMode +SetBrushOrgEx +SetCapture +SetCaretBlinkTime +SetCaretPos +SetClassLong +SetClassLongW +SetCleanRebootFlag +SetClipboardData +SetCommBreak +SetCommMask +SetCommState +SetCommTimeouts +SetCurrentUser +SetCursor +SetCursorPos +SetDIBColorTable +SetDIBitsToDevice +SetDaylightTime +SetDbgZone +SetDevicePower +SetDlgItemInt +SetDlgItemTextW +SetEndOfFile +SetEventData +SetExceptionHandler +SetFileAttributesW +SetFilePointer +SetFileTime +SetFocus +SetForegroundWindow +SetGwesOOMEvent +SetGwesPowerHandler +SetHandleOwner +SetHardwareWatch +SetInterruptEvent +SetKMode +SetKernelAlarm +SetKeyboardTarget +SetLastError +SetLocalTime +SetLocaleInfoW +SetLowestScheduledPriority +SetMenuItemInfoW +SetOEMCP +SetOOMEvent +SetObjectOwner +SetPaletteEntries +SetParent +SetPassword +SetPasswordActive +SetPasswordStatus +SetPixel +SetPowerOffHandler +SetPowerRequirement +SetProcPermissions +SetProp +SetROP2 +SetRealTime +SetRect +SetRectEmpty +SetRectRgn +SetScrollInfo +SetScrollPos +SetScrollRange +SetStdioPathW +SetSysColors +SetSystemDefaultLCID +SetSystemMemoryDivision +SetSystemPowerState +SetSystemTime +SetTextAlign +SetTextColor +SetThreadContext +SetThreadPriority +SetTimeZoneBias +SetTimeZoneInformation +SetTimer +SetUserData +SetUserDefaultLCID +SetUserDefaultUILanguage +SetViewportOrgEx +SetWDevicePowerHandler +SetWindowLongW +SetWindowPos +SetWindowRgn +SetWindowTextW +SetWindowsHookExW +SetupComm +ShellExecuteEx +ShellModalEnd +Shell_NotifyIcon +ShowCaret +ShowCursor +ShowStartupWindow +ShowWindow +SignalStarted +SipEnumIM +SipGetCurrentIM +SipGetInfo +SipRegisterNotification +SipSetCurrentIM +SipSetDefaultRect +SipSetInfo +SipShowIM +SipStatus +SizeofResource +Sleep +SleepTillTick +StartDocW +StartPage +StopDeviceNotifications +StopPowerNotifications +StretchBlt +StretchDIBits +StringCbCatA +StringCbCatExA +StringCbCatExW +StringCbCatNA +StringCbCatNExA +StringCbCatNExW +StringCbCatNW +StringCbCatW +StringCbCopyA +StringCbCopyExA +StringCbCopyExW +StringCbCopyNA +StringCbCopyNW +StringCbCopyW +StringCbLengthA +StringCbLengthW +StringCbPrintfA +StringCbPrintfExA +StringCbPrintfExW +StringCbPrintfW +StringCbVPrintfA +StringCbVPrintfExA +StringCbVPrintfExW +StringCbVPrintfW +StringCchCatA +StringCchCatExA +StringCchCatExW +StringCchCatNA +StringCchCatNExA +StringCchCatNExW +StringCchCatNW +StringCchCatW +StringCchCopyA +StringCchCopyExA +StringCchCopyExW +StringCchCopyNA +StringCchCopyNW +StringCchCopyW +StringCchLengthA +StringCchLengthW +StringCchPrintfA +StringCchPrintfExA +StringCchPrintfExW +StringCchPrintfW +StringCchVPrintfA +StringCchVPrintfExA +StringCchVPrintfExW +StringCchVPrintfW +StringCompress +StringDecompress +SubtractRect +SuspendThread +SystemIdleTimerReset +SystemMemoryLow +SystemParametersInfoW +SystemStarted +SystemTimeToFileTime +THCreateSnapshot +THGrow +TakeCritSec +TerminateProcess +TerminateThread +ThreadAttachAllDLLs +ThreadBaseFunc +ThreadDetachAllDLLs +ThreadExceptionExit +TlsCall +TlsGetValue +TlsSetValue +TouchCalibrate +TrackPopupMenuEx +TranslateAcceleratorW +TranslateCharsetInfo +TranslateMessage +TransmitCommChar +TransparentImage +TryEnterCriticalSection +TurnOffProfiling +TurnOnProfiling +U_rclose +U_rlseek +U_ropen +U_rread +U_rwrite +UnhookWindowsHookEx +UnionRect +UnlockPages +UnmapViewOfFile +UnregisterClassW +UnregisterFunc1 +UnregisterHotKey +UpdateNLSInfo +UpdateNLSInfoEx +UpdateWindow +ValidateRect +ValidateRgn +VerQueryValueW +VerifyAPIHandle +VirtualAlloc +VirtualCopy +VirtualFree +VirtualProtect +VirtualQuery +VirtualSetAttributes +WNetAddConnection3W +WNetCancelConnection2W +WNetCloseEnum +WNetConnectionDialog1W +WNetDisconnectDialog +WNetDisconnectDialog1W +WNetEnumResourceW +WNetGetConnectionW +WNetGetUniversalNameW +WNetGetUserW +WNetOpenEnumW +WaitCommEvent +WaitForDebugEvent +WaitForMultipleObjects +WaitForSingleObject +WideCharToMultiByte +WindowFromPoint +WriteDebugLED +WriteFile +WriteFileWithSeek +WriteMsgQueue +WriteProcessMemory +WriteRegistryToOEM +_CountLeadingOnes +_CountLeadingOnes64 +_CountLeadingSigns +_CountLeadingSigns64 +_CountLeadingZeros +_CountLeadingZeros64 +_CountOneBits +_CountOneBits64 +_HUGE +_InitStdioLib +_MulHigh +_MulUnsignedHigh +_XcptFilter +__C_specific_handler +__CxxFrameHandler +__CxxThrowException +__addd +__adds +__cmpd +__cmps +__divd +__divs +__dtoi +__dtoi64 +__dtos +__dtou +__dtou64 +__eqd +__eqs +__ged +__ges +__gtd +__gts +__i64tod +__i64tos +__itod +__itos +__led +__les +__ltd +__lts +__muld +__muls +__ned +__negd +__negs +__nes +__rt_sdiv +__rt_sdiv10 +__rt_sdiv64by64 +__rt_srem64by64 +__rt_srsh +__rt_udiv +__rt_udiv10 +__rt_udiv64by64 +__rt_urem64by64 +__rt_ursh +__stod +__stoi +__stoi64 +__stou +__stou64 +__strgtold12 +__subd +__subs +__u64tod +__u64tos +__utod +__utos +_abs64 +_atodbl +_atoflt +_atoi64 +_byteswap_uint64 +_byteswap_ulong +_byteswap_ushort +_cabs +_chgsign +_clearfp +_controlfp +_copysign +_ecvt +_fcloseall +_fcvt +_fileno +_finite +_fltused +_flushall +_fpclass +_fpieee_flt +_fpreset +_frnd +_fsqrt +_gcvt +_getstdfilex +_getws +_hypot +_isctype +_isnan +_isnanf +_isunordered +_isunorderedf +_itoa +_itow +_j0 +_j1 +_jn +_ld12tod +_ld12tof +_logb +_lrotl +_lrotr +_ltoa +_ltow +_mbmemset +_memccpy +_memicmp +_msize +_nextafter +_purecall +_putws +_rotl +_rotl64 +_rotr +_rotr64 +_scalb +_setmode +_snprintf +_snwprintf +_statusfp +_strdup +_stricmp +_strlwr +_strnicmp +_strnset +_strrev +_strset +_strupr +_swab +_ultoa +_ultow +_vsnprintf +_vsnwprintf +_wcsdup +_wcsicmp +_wcslwr +_wcsnicmp +_wcsnset +_wcsrev +_wcsset +_wcsupr +_wfdopen +_wfopen +_wfreopen +_wtol +_wtoll +_y0 +_y1 +_yn +abs +acmDriverAdd +acmDriverClose +acmDriverDetails +acmDriverEnum +acmDriverID +acmDriverMessage +acmDriverOpen +acmDriverPriority +acmDriverRemove +acmFilterChoose +acmFilterDetails +acmFilterEnum +acmFilterTagDetails +acmFilterTagEnum +acmFormatChoose +acmFormatDetails +acmFormatEnum +acmFormatSuggest +acmFormatTagDetails +acmFormatTagEnum +acmGetVersion +acmMetrics +acmStreamClose +acmStreamConvert +acmStreamMessage +acmStreamOpen +acmStreamPrepareHeader +acmStreamReset +acmStreamSize +acmStreamUnprepareHeader +acos +asin +atan +atan2 +atof +atoi +atol +calloc +ceil +ceilf +clearerr +cos +cosh +difftime +div +exp +fabs +fabsf +fclose +feof +ferror +fflush +fgetc +fgetpos +fgets +fgetwc +fgetws +floor +floorf +fmod +fmodf +fopen +fprintf +fputc +fputs +fputwc +fputws +fread +free +frexp +fscanf +fseek +fsetpos +ftell +fwprintf +fwrite +fwscanf +getchar +gets +getwchar +iswctype +keybd_event +labs +ldexp +ldiv +lineAccept +lineAddProvider +lineAddToConference +lineAnswer +lineBlindTransfer +lineClose +lineCompleteTransfer +lineConfigDialogEdit +lineDeallocateCall +lineDevSpecific +lineDial +lineDrop +lineForward +lineGenerateDigits +lineGenerateTone +lineGetAddressCaps +lineGetAddressID +lineGetAddressStatus +lineGetAppPriority +lineGetCallInfo +lineGetCallStatus +lineGetConfRelatedCalls +lineGetDevCaps +lineGetDevConfig +lineGetID +lineGetIcon +lineGetLineDevStatus +lineGetMessage +lineGetNewCalls +lineGetNumRings +lineGetProviderList +lineGetStatusMessages +lineGetTranslateCaps +lineHandoff +lineHold +lineInitialize +lineInitializeEx +lineMakeCall +lineMonitorDigits +lineMonitorMedia +lineNegotiateAPIVersion +lineNegotiateExtVersion +lineOpen +linePickup +linePrepareAddToConference +lineRedirect +lineReleaseUserUserInfo +lineRemoveFromConference +lineSendUserUserInfo +lineSetAppPriority +lineSetCallParams +lineSetCallPrivilege +lineSetCurrentLocation +lineSetDevConfig +lineSetMediaMode +lineSetNumRings +lineSetStatusMessages +lineSetTerminal +lineSetTollList +lineSetupConference +lineSetupTransfer +lineShutdown +lineSwapHold +lineTranslateAddress +lineTranslateDialog +lineUnhold +log +log10 +longjmp +lstrcmpW +lstrcmpiW +malloc +mbstowcs +memchr +memcmp +memcpy +memmove +memset +mixerClose +mixerGetControlDetails +mixerGetDevCaps +mixerGetID +mixerGetLineControls +mixerGetLineInfo +mixerGetNumDevs +mixerMessage +mixerOpen +mixerSetControlDetails +modf +mouse_event +phoneClose +phoneConfigDialog +phoneDevSpecific +phoneGetDevCaps +phoneGetGain +phoneGetHookSwitch +phoneGetID +phoneGetIcon +phoneGetMessage +phoneGetRing +phoneGetStatus +phoneGetStatusMessages +phoneGetVolume +phoneInitializeEx +phoneNegotiateAPIVersion +phoneNegotiateExtVersion +phoneOpen +phoneSetGain +phoneSetHookSwitch +phoneSetRing +phoneSetStatusMessages +phoneSetVolume +phoneShutdown +pow +printf +putchar +puts +putwchar +qsort +rand +realloc +scanf +setjmp +setvbuf +sin +sinh +sndPlaySoundW +sprintf +sqrt +sqrtf +srand +sscanf +strcat +strchr +strcmp +strcpy +strcspn +strlen +strncat +strncmp +strncpy +strpbrk +strrchr +strspn +strstr +strtod +strtok +strtol +strtoul +swprintf +swscanf +tan +tanh +tolower +toupper +towlower +towupper +ungetc +ungetwc +vfprintf +vfwprintf +vprintf +vsprintf +vswprintf +vwprintf +waveInAddBuffer +waveInClose +waveInGetDevCaps +waveInGetErrorText +waveInGetID +waveInGetNumDevs +waveInGetPosition +waveInMessage +waveInOpen +waveInPrepareHeader +waveInReset +waveInStart +waveInStop +waveInUnprepareHeader +waveOutBreakLoop +waveOutClose +waveOutGetDevCaps +waveOutGetErrorText +waveOutGetID +waveOutGetNumDevs +waveOutGetPitch +waveOutGetPlaybackRate +waveOutGetPosition +waveOutGetVolume +waveOutMessage +waveOutOpen +waveOutPause +waveOutPrepareHeader +waveOutReset +waveOutRestart +waveOutSetPitch +waveOutSetPlaybackRate +waveOutSetVolume +waveOutUnprepareHeader +waveOutWrite +wcscat +wcschr +wcscmp +wcscpy +wcscspn +wcslen +wcsncat +wcsncmp +wcsncpy +wcspbrk +wcsrchr +wcsspn +wcsstr +wcstod +wcstok +wcstol +wcstombs +wcstoul +wprintf +wscanf +wsprintfW +wvsprintfW + +; +; Stuff for Windows CE / Windows Mobile 6.x +; +CeSetThreadPriority +CeGetThreadPriority +EnumDeviceInterfaces +EnumDevices +FindFirstDevice +FindNextDevice +GetDeviceInformationByDeviceHandle +GetDeviceInformationByFileHandle This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-04-28 14:08:06
|
Revision: 1257 http://cegcc.svn.sourceforge.net/cegcc/?rev=1257&view=rev Author: dannybackx Date: 2009-04-28 13:44:30 +0000 (Tue, 28 Apr 2009) Log Message: ----------- Typo Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/coredll6.def Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-04-28 13:42:34 UTC (rev 1256) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-04-28 13:44:30 UTC (rev 1257) @@ -2,6 +2,7 @@ * coredll6.def (LockFileEx,UnLockFileEx,GetSystemTimeAsFileTime) : Add. See feature request #2750015. + * coredll6.def : Replace UnLockFileEx by UnlockFileEx. 2009-04-26 Danny Backx <dan...@us...> Modified: trunk/cegcc/src/mingw/coredll6.def =================================================================== --- trunk/cegcc/src/mingw/coredll6.def 2009-04-28 13:42:34 UTC (rev 1256) +++ trunk/cegcc/src/mingw/coredll6.def 2009-04-28 13:44:30 UTC (rev 1257) @@ -1672,5 +1672,5 @@ CaptureDumpFileOnDevice ReportFault LockFileEx -UnLockFileEx +UnlockFileEx GetSystemTimeAsFileTime This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-04-28 15:01:14
|
Revision: 1256 http://cegcc.svn.sourceforge.net/cegcc/?rev=1256&view=rev Author: dannybackx Date: 2009-04-28 13:42:34 +0000 (Tue, 28 Apr 2009) Log Message: ----------- Add three missing functions, see feature request #2750015. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/coredll6.def Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-04-28 09:31:04 UTC (rev 1255) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-04-28 13:42:34 UTC (rev 1256) @@ -1,3 +1,8 @@ +2009-04-28 Danny Backx <dan...@us...> + + * coredll6.def (LockFileEx,UnLockFileEx,GetSystemTimeAsFileTime) : + Add. See feature request #2750015. + 2009-04-26 Danny Backx <dan...@us...> * coredll6.def : New file. Modified: trunk/cegcc/src/mingw/coredll6.def =================================================================== --- trunk/cegcc/src/mingw/coredll6.def 2009-04-28 09:31:04 UTC (rev 1255) +++ trunk/cegcc/src/mingw/coredll6.def 2009-04-28 13:42:34 UTC (rev 1256) @@ -1669,3 +1669,8 @@ FindNextDevice GetDeviceInformationByDeviceHandle GetDeviceInformationByFileHandle +CaptureDumpFileOnDevice +ReportFault +LockFileEx +UnLockFileEx +GetSystemTimeAsFileTime This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-14 06:52:51
|
Revision: 1273 http://cegcc.svn.sourceforge.net/cegcc/?rev=1273&view=rev Author: dannybackx Date: 2009-05-14 06:52:44 +0000 (Thu, 14 May 2009) Log Message: ----------- Work around the %f issue until we know what's the real reason. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/mingwex/stdio/pformat.c Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-05-13 11:30:51 UTC (rev 1272) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-05-14 06:52:44 UTC (rev 1273) @@ -1,3 +1,8 @@ +2009-05-14 Danny Backx <dan...@us...> + + * mingwex/stdio/pformat.c : Work around %f issue by selecting the + older implementation. + 2009-04-28 Danny Backx <dan...@us...> * coredll6.def (LockFileEx,UnLockFileEx,GetSystemTimeAsFileTime) : Modified: trunk/cegcc/src/mingw/mingwex/stdio/pformat.c =================================================================== --- trunk/cegcc/src/mingw/mingwex/stdio/pformat.c 2009-05-13 11:30:51 UTC (rev 1272) +++ trunk/cegcc/src/mingw/mingwex/stdio/pformat.c 2009-05-14 06:52:44 UTC (rev 1273) @@ -729,7 +729,11 @@ unsigned long __pformat_fpreg_bits; } __pformat_fpreg_t; -#ifdef _WIN32 +/* + * Something is wrong in the #if part of the code. + * Changing the _WIN32 to _WIN32x so we take the #else part for now. + */ +#ifdef _WIN32x /* TODO: make this unconditional in final release... * (see note at head of associated `#else' block. */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-20 08:54:07
|
Revision: 1308 http://cegcc.svn.sourceforge.net/cegcc/?rev=1308&view=rev Author: dannybackx Date: 2009-05-20 08:53:58 +0000 (Wed, 20 May 2009) Log Message: ----------- Return 0 on success Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/mingwex/wince/findfile.c Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-05-19 14:36:21 UTC (rev 1307) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-05-20 08:53:58 UTC (rev 1308) @@ -1,3 +1,8 @@ +2009-05-20 Danny Backx <dan...@us...> + + * mingwex/wince/findfile.c (_findnext) : Return 0, not the handle, on + success. + 2009-05-18 Danny Backx <dan...@us...> * include/stdio.h (fileno, _fileno) : Define as void* instead of int. Modified: trunk/cegcc/src/mingw/mingwex/wince/findfile.c =================================================================== --- trunk/cegcc/src/mingw/mingwex/wince/findfile.c 2009-05-19 14:36:21 UTC (rev 1307) +++ trunk/cegcc/src/mingw/mingwex/wince/findfile.c 2009-05-20 08:53:58 UTC (rev 1308) @@ -124,5 +124,5 @@ return -1; tofinddataa (f, &wf); - return h; + return 0; } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-20 09:08:39
|
Revision: 1309 http://cegcc.svn.sourceforge.net/cegcc/?rev=1309&view=rev Author: dannybackx Date: 2009-05-20 09:08:32 +0000 (Wed, 20 May 2009) Log Message: ----------- Remove definitions, see mail from Pierre Ynard. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/include/io.h Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-05-20 08:53:58 UTC (rev 1308) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-05-20 09:08:32 UTC (rev 1309) @@ -2,6 +2,7 @@ * mingwex/wince/findfile.c (_findnext) : Return 0, not the handle, on success. + * include/io.h (getcwd,chdir,mktemp) : Remove definitions. 2009-05-18 Danny Backx <dan...@us...> Modified: trunk/cegcc/src/mingw/include/io.h =================================================================== --- trunk/cegcc/src/mingw/include/io.h 2009-05-20 08:53:58 UTC (rev 1308) +++ trunk/cegcc/src/mingw/include/io.h 2009-05-20 09:08:32 UTC (rev 1309) @@ -149,10 +149,12 @@ _CRTIMP int __cdecl __MINGW_NOTHROW _findnext (long, struct _finddata_t*); _CRTIMP int __cdecl __MINGW_NOTHROW _findclose (long); +#ifndef UNDER_CE _CRTIMP int __cdecl __MINGW_NOTHROW _chdir (const char*); _CRTIMP char* __cdecl __MINGW_NOTHROW _getcwd (char*, int); +_CRTIMP char* __cdecl __MINGW_NOTHROW _mktemp (char*); +#endif _CRTIMP int __cdecl __MINGW_NOTHROW _mkdir (const char*); -_CRTIMP char* __cdecl __MINGW_NOTHROW _mktemp (char*); _CRTIMP int __cdecl __MINGW_NOTHROW _rmdir (const char*); _CRTIMP int __cdecl __MINGW_NOTHROW _chmod (const char*, int); @@ -180,10 +182,12 @@ #ifndef _NO_OLDNAMES #ifndef _UWIN +#ifndef UNDER_CE _CRTIMP int __cdecl __MINGW_NOTHROW chdir (const char*); _CRTIMP char* __cdecl __MINGW_NOTHROW getcwd (char*, int); +_CRTIMP char* __cdecl __MINGW_NOTHROW mktemp (char*); +#endif _CRTIMP int __cdecl __MINGW_NOTHROW mkdir (const char*); -_CRTIMP char* __cdecl __MINGW_NOTHROW mktemp (char*); _CRTIMP int __cdecl __MINGW_NOTHROW rmdir (const char*); _CRTIMP int __cdecl __MINGW_NOTHROW chmod (const char*, int); #endif /* _UWIN */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-20 14:59:10
|
Revision: 1311 http://cegcc.svn.sourceforge.net/cegcc/?rev=1311&view=rev Author: dannybackx Date: 2009-05-20 14:58:46 +0000 (Wed, 20 May 2009) Log Message: ----------- Change as indicated by Vincent to decrease number of DLL loads. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/Makefile.in Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-05-20 14:34:28 UTC (rev 1310) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-05-20 14:58:46 UTC (rev 1311) @@ -1,3 +1,8 @@ +2009-05-20 Vincent Richomme <fo...@sm...> + + * Makefile.in : replace COREDLL by coredll.dll in definition of + libceoldname, to decrease different DLL loads in applications. + 2009-05-20 Danny Backx <dan...@us...> * mingwex/wince/findfile.c (_findnext) : Return 0, not the handle, on Modified: trunk/cegcc/src/mingw/Makefile.in =================================================================== --- trunk/cegcc/src/mingw/Makefile.in 2009-05-20 14:34:28 UTC (rev 1310) +++ trunk/cegcc/src/mingw/Makefile.in 2009-05-20 14:58:46 UTC (rev 1311) @@ -366,7 +366,7 @@ libceoldname.a: moldname-coredll.def $(MOLD_OBJS) $(DLLTOOL) --as $(AS) -k -U \ - --dllname COREDLL \ + --dllname coredll.dll \ --def moldname-coredll.def \ --output-lib $@ $(AR) rc $@ $(MOLD_OBJS) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-06-21 09:41:16
|
Revision: 1342 http://cegcc.svn.sourceforge.net/cegcc/?rev=1342&view=rev Author: dannybackx Date: 2009-06-21 09:40:21 +0000 (Sun, 21 Jun 2009) Log Message: ----------- Add new files to support setjmp and longjmp on x86, CE doesn't provide them. This stuff is copied from newlib. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/include/setjmp.h Added Paths: ----------- trunk/cegcc/src/mingw/mingwex/wince/i386/ trunk/cegcc/src/mingw/mingwex/wince/i386/i386mach.h trunk/cegcc/src/mingw/mingwex/wince/i386/setjmp.S Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-06-17 19:30:45 UTC (rev 1341) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-06-21 09:40:21 UTC (rev 1342) @@ -1,3 +1,10 @@ +2009-06-21 Danny Backx <dan...@us...> + + * mingwex/wince/i386/setjmp.S,i386mach.h : New files, implement setjmp + and longjmp on i386 because the CE support is absent. + * include/setjmp.h (_JBLEN) : Set the right size for jmp_buf. + * mingwex/Makefile.in : Build the new sources on i386 only. + 2009-05-20 Vincent Richomme <fo...@sm...> * Makefile.in : replace COREDLL by coredll.dll in definition of Modified: trunk/cegcc/src/mingw/include/setjmp.h =================================================================== --- trunk/cegcc/src/mingw/include/setjmp.h 2009-06-17 19:30:45 UTC (rev 1341) +++ trunk/cegcc/src/mingw/include/setjmp.h 2009-06-21 09:40:21 UTC (rev 1342) @@ -29,7 +29,13 @@ * contents could be different on an Alpha or something else. */ #if defined (__i386__) +#if defined(__MINGW32CE__) + /* Definition for the assembler setjmp/longjmp copied from newlib into mingwex */ +# define _JBLEN 20 +#else + /* Native (?) windows ce longjmp */ # define _JBLEN 16 +#endif #elif defined (__arm__) # define _JBLEN 11 #endif Added: trunk/cegcc/src/mingw/mingwex/wince/i386/i386mach.h =================================================================== --- trunk/cegcc/src/mingw/mingwex/wince/i386/i386mach.h (rev 0) +++ trunk/cegcc/src/mingw/mingwex/wince/i386/i386mach.h 2009-06-21 09:40:21 UTC (rev 1342) @@ -0,0 +1,83 @@ +/* This file was based on the modified setjmp.S performed by + * Joel Sherill (jo...@OA...) which specified the use + * of the __USER_LABEL_PREFIX__ and __REGISTER_PREFIX__ macros. + ** + ** This file is distributed WITHOUT ANY WARRANTY; without even the implied + ** warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + +/* These are predefined by new versions of GNU cpp. */ + +#ifndef __USER_LABEL_PREFIX__ +#define __USER_LABEL_PREFIX__ _ +#endif + +#define __REG_PREFIX__ % + +/* ANSI concatenation macros. */ + +#define CONCAT1(a, b) CONCAT2(a, b) +#define CONCAT2(a, b) a##b + +/* Use the right prefix for global labels. */ + +#define SYM(x) CONCAT1(__USER_LABEL_PREFIX__, x) + +/* Use the right prefix for registers. */ + +#define REG(x) CONCAT1(__REG_PREFIX__, x) + +#define eax REG(eax) +#define ebx REG(ebx) +#define ecx REG(ecx) +#define edx REG(edx) +#define esi REG(esi) +#define edi REG(edi) +#define ebp REG(ebp) +#define esp REG(esp) + +#define st0 REG(st) +#define st1 REG(st(1)) +#define st2 REG(st(2)) +#define st3 REG(st(3)) +#define st4 REG(st(4)) +#define st5 REG(st(5)) +#define st6 REG(st(6)) +#define st7 REG(st(7)) + +#define ax REG(ax) +#define bx REG(bx) +#define cx REG(cx) +#define dx REG(dx) + +#define ah REG(ah) +#define bh REG(bh) +#define ch REG(ch) +#define dh REG(dh) + +#define al REG(al) +#define bl REG(bl) +#define cl REG(cl) +#define dl REG(dl) + +#define mm1 REG(mm1) +#define mm2 REG(mm2) +#define mm3 REG(mm3) +#define mm4 REG(mm4) +#define mm5 REG(mm5) +#define mm6 REG(mm6) +#define mm7 REG(mm7) + +#ifdef _I386MACH_NEED_SOTYPE_FUNCTION +#define SOTYPE_FUNCTION(sym) .type SYM(sym),@function +#else +#define SOTYPE_FUNCTION(sym) +#endif + +#ifdef _I386MACH_ALLOW_HW_INTERRUPTS +#define __CLI +#define __STI +#else +#define __CLI cli +#define __STI sti +#endif Property changes on: trunk/cegcc/src/mingw/mingwex/wince/i386/i386mach.h ___________________________________________________________________ Added: svn:eol-style + native Added: trunk/cegcc/src/mingw/mingwex/wince/i386/setjmp.S =================================================================== --- trunk/cegcc/src/mingw/mingwex/wince/i386/setjmp.S (rev 0) +++ trunk/cegcc/src/mingw/mingwex/wince/i386/setjmp.S 2009-06-21 09:40:21 UTC (rev 1342) @@ -0,0 +1,87 @@ +/* This is file is a merger of SETJMP.S and LONGJMP.S */ +/* + * This file was modified to use the __USER_LABEL_PREFIX__ and + * __REGISTER_PREFIX__ macros defined by later versions of GNU cpp by + * Joel Sherrill (jo...@OA...) + * Slight change: now includes i386mach.h for this (Werner Almesberger) + * + * Copyright (C) 1991 DJ Delorie + * All rights reserved. + * + * Redistribution and use in source and binary forms is permitted + * provided that the above copyright notice and following paragraph are + * duplicated in all such forms. + * + * This file is distributed WITHOUT ANY WARRANTY; without even the implied + * warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + */ + + /* + ** jmp_buf: + ** eax ebx ecx edx esi edi ebp esp eip + ** 0 4 8 12 16 20 24 28 32 + */ + + #include "i386mach.h" + + .global SYM (setjmp) + .global SYM (longjmp) + SOTYPE_FUNCTION(setjmp) + SOTYPE_FUNCTION(longjmp) + +SYM (setjmp): + + pushl ebp + movl esp,ebp + + pushl edi + movl 8 (ebp),edi + + movl eax,0 (edi) + movl ebx,4 (edi) + movl ecx,8 (edi) + movl edx,12 (edi) + movl esi,16 (edi) + + movl -4 (ebp),eax + movl eax,20 (edi) + + movl 0 (ebp),eax + movl eax,24 (edi) + + movl esp,eax + addl $12,eax + movl eax,28 (edi) + + movl 4 (ebp),eax + movl eax,32 (edi) + + popl edi + movl $0,eax + leave + ret + +SYM (longjmp): + pushl ebp + movl esp,ebp + + movl 8(ebp),edi /* get jmp_buf */ + movl 12(ebp),eax /* store retval in j->eax */ + movl eax,0(edi) + + movl 24(edi),ebp + + __CLI + movl 28(edi),esp + + pushl 32(edi) + + movl 0(edi),eax + movl 4(edi),ebx + movl 8(edi),ecx + movl 12(edi),edx + movl 16(edi),esi + movl 20(edi),edi + __STI + + ret This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-07-20 10:01:00
|
Revision: 1343 http://cegcc.svn.sourceforge.net/cegcc/?rev=1343&view=rev Author: dannybackx Date: 2009-07-20 10:00:57 +0000 (Mon, 20 Jul 2009) Log Message: ----------- A forgotten commit from a month ago. Also in the same Makefile.in : change to include atoll in libmingwex.a . Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/mingwex/Makefile.in Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-06-21 09:40:21 UTC (rev 1342) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-07-20 10:00:57 UTC (rev 1343) @@ -1,3 +1,7 @@ +2009-07-20 Danny Backx <dan...@us...> + + * mingwex/Makefile.in : Compile atoll always, it's C99. + 2009-06-21 Danny Backx <dan...@us...> * mingwex/wince/i386/setjmp.S,i386mach.h : New files, implement setjmp Modified: trunk/cegcc/src/mingw/mingwex/Makefile.in =================================================================== --- trunk/cegcc/src/mingw/mingwex/Makefile.in 2009-06-21 09:40:21 UTC (rev 1342) +++ trunk/cegcc/src/mingw/mingwex/Makefile.in 2009-07-20 10:00:57 UTC (rev 1343) @@ -39,7 +39,8 @@ wcrtomb.c wctob.c mbrtowc.c btowc.c mb_wc_common.h \ gettimeofday.c isblank.c iswblank.c \ basename.c dirname.c usleep.c \ - tsearch.c twalk.c tdelete.c tfind.c + tsearch.c twalk.c tdelete.c tfind.c \ + wince/i386/setjmp.S wince/i386/i386mach.h MATH_DISTFILES = \ acosf.c acosl.c asinf.c asinl.c atan2f.c atan2l.c \ @@ -163,7 +164,7 @@ STDLIB_STUB_OBJS = \ lltoa.o ulltoa.o \ lltow.o ulltow.o \ - atoll.o wtoll.o \ + wtoll.o \ _Exit.o STDIO_OBJS = \ fopen64.o fseeko64.o ftello64.o lseek64.o \ @@ -201,6 +202,8 @@ tgammaf.o tgammal.o trunc.o truncf.o truncl.o \ acosh.o acoshf.o acoshl.o asinh.o asinhf.o asinhl.o \ atanh.o atanhf.o atanhl.o +C99OBJS = \ + atoll.o MATH_ROUND_OBJS = round.o roundf.o roundl.o MATH_LROUND_OBJS = lround.o lroundf.o lroundl.o MATH_LLROUND_OBJS = llround.o llroundf.o llroundl.o @@ -257,7 +260,7 @@ ifneq (,$(findstring mingw32ce,$(host_alias))) LIB_OBJS = $(WINCE_OBJS) $(MATHCE_OBJS) $(MATCHCE_ROUND_OBJS) \ $(Q8_OBJS) $(STDIO_OBJS_CE) \ - $(POSIX_OBJS) $(GDTOA_OBJS) + $(POSIX_OBJS) $(GDTOA_OBJS) $(C99OBJS) MATHCE_FLAGS=-D_IEEE_LIBM MATHDIR=mathce else @@ -265,10 +268,16 @@ $(STDIO_OBJS) $(MATH_OBJS) $(MATH_ROUND_OBJS) \ $(MATH_LROUND_OBJS) $(MATH_LLROUND_OBJS) $(FENV_OBJS) \ $(POSIX_OBJS) $(REPLACE_OBJS) $(COMPLEX_OBJS) \ - $(GDTOA_OBJS) + $(GDTOA_OBJS) $(C99OBJS) MATHDIR=math endif +ifeq (,$(findstring i386,$(host_alias))) +# Do nothing, only i386 supported +else + POSIX_OBJS += setjmp.o +endif + VPATH = $(srcdir):$(srcdir)/stdio:$(srcdir)/complex:$(srcdir)/wince:$(srcdir)/$(MATHDIR):$(srcdir)/gdtoa LIBS = $(LIBMINGWEX_A) @@ -398,3 +407,10 @@ @for i in $(GDTOA_DISTFILES); do\ cp -p $(srcdir)/gdtoa/$$i $(distdir)/mingwex/gdtoa/$$i ; \ done + +ifeq (,$(findstring i386,$(host_alias))) +# Do nothing, only i386 supported +else +setjmp.o: + $(CC) -c -I$(srcdir)/wince/i386 $(srcdir)/wince/i386/setjmp.S +endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-07-20 10:14:12
|
Revision: 1344 http://cegcc.svn.sourceforge.net/cegcc/?rev=1344&view=rev Author: dannybackx Date: 2009-07-20 10:14:06 +0000 (Mon, 20 Jul 2009) Log Message: ----------- Move atoll outside the __STRICT_ANSI__ restrictions. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/include/stdlib.h Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-07-20 10:00:57 UTC (rev 1343) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-07-20 10:14:06 UTC (rev 1344) @@ -1,5 +1,10 @@ 2009-07-20 Danny Backx <dan...@us...> + * include/stdlib.h : Move atoll definition out of __STRICT_ANSI__, see + bug #2821869. + +2009-07-20 Danny Backx <dan...@us...> + * mingwex/Makefile.in : Compile atoll always, it's C99. 2009-06-21 Danny Backx <dan...@us...> Modified: trunk/cegcc/src/mingw/include/stdlib.h =================================================================== --- trunk/cegcc/src/mingw/include/stdlib.h 2009-07-20 10:00:57 UTC (rev 1343) +++ trunk/cegcc/src/mingw/include/stdlib.h 2009-07-20 10:14:06 UTC (rev 1344) @@ -562,8 +562,11 @@ long long __cdecl __MINGW_NOTHROW strtoll (const char* __restrict__, char** __restrict, int); unsigned long long __cdecl __MINGW_NOTHROW strtoull (const char* __restrict__, char** __restrict__, int); +/* C99 addition, this used to be blocked by __STRICT_ANSI__ (see below). */ +__CRT_INLINE long long __cdecl __MINGW_NOTHROW atoll (const char * _c) + { return _atoi64 (_c); } + #if defined (__MSVCRT__) /* these are stubs for MS _i64 versions */ -long long __cdecl __MINGW_NOTHROW atoll (const char *); #if !defined (__STRICT_ANSI__) long long __cdecl __MINGW_NOTHROW wtoll (const wchar_t *); @@ -573,8 +576,6 @@ wchar_t* __cdecl __MINGW_NOTHROW ulltow (unsigned long long, wchar_t *, int); /* inline using non-ansi functions */ -__CRT_INLINE long long __cdecl __MINGW_NOTHROW atoll (const char * _c) - { return _atoi64 (_c); } __CRT_INLINE char* __cdecl __MINGW_NOTHROW lltoa (long long _n, char * _c, int _i) { return _i64toa (_n, _c, _i); } __CRT_INLINE char* __cdecl __MINGW_NOTHROW ulltoa (unsigned long long _n, char * _c, int _i) @@ -590,11 +591,9 @@ #endif /* __MSVCRT__ */ #if defined (__COREDLL__) /* these are stubs for MS _i64 versions */ -#if !defined (__STRICT_ANSI__) __CRT_INLINE long long __cdecl __MINGW_NOTHROW atoll (const char * _c) { return _atoi64 (_c); } #endif -#endif #endif /* !__NO_ISOCEXT */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-07-20 12:12:56
|
Revision: 1345 http://cegcc.svn.sourceforge.net/cegcc/?rev=1345&view=rev Author: dannybackx Date: 2009-07-20 11:30:22 +0000 (Mon, 20 Jul 2009) Log Message: ----------- Fix error from earlier today - multiple definition Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/include/stdlib.h Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-07-20 10:14:06 UTC (rev 1344) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-07-20 11:30:22 UTC (rev 1345) @@ -2,6 +2,7 @@ * include/stdlib.h : Move atoll definition out of __STRICT_ANSI__, see bug #2821869. + * include/stdlib.h : Remove the __COREDLL__ definition of atoll. 2009-07-20 Danny Backx <dan...@us...> Modified: trunk/cegcc/src/mingw/include/stdlib.h =================================================================== --- trunk/cegcc/src/mingw/include/stdlib.h 2009-07-20 10:14:06 UTC (rev 1344) +++ trunk/cegcc/src/mingw/include/stdlib.h 2009-07-20 11:30:22 UTC (rev 1345) @@ -590,11 +590,6 @@ #endif /* __MSVCRT__ */ -#if defined (__COREDLL__) /* these are stubs for MS _i64 versions */ -__CRT_INLINE long long __cdecl __MINGW_NOTHROW atoll (const char * _c) -{ return _atoi64 (_c); } -#endif - #endif /* !__NO_ISOCEXT */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-07-25 06:08:27
|
Revision: 1347 http://cegcc.svn.sourceforge.net/cegcc/?rev=1347&view=rev Author: dannybackx Date: 2009-07-25 06:08:21 +0000 (Sat, 25 Jul 2009) Log Message: ----------- Patch from Martin Storsj?\195?\182 <ma...@ma...> The attached patch adds support for the _wopen function in libmingwex. The old static function vopen in mingwex/wince/open.c is split into vwopen, taking a wchar_t string as a parameter, used by the new _wopen wrapper, and a smaller function vopen that does the charset conversion and passes the string on to vwopen. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/include/io.h trunk/cegcc/src/mingw/include/wchar.h trunk/cegcc/src/mingw/mingwex/wince/open.c Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-07-24 15:29:39 UTC (rev 1346) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-07-25 06:08:21 UTC (rev 1347) @@ -1,3 +1,10 @@ +2009-07-25 Martin Storsjö <ma...@ma...> + + * include/io.h (_wopen) : Define also when __COREDLL__. + * include/wchar.h (_wopen) : Same. + * mingwex/wince/open.c : Add _wopen, split up the static + implementation function into two pieces for this. + 2009-07-20 Danny Backx <dan...@us...> * include/stdlib.h : Move atoll definition out of __STRICT_ANSI__, see Modified: trunk/cegcc/src/mingw/include/io.h =================================================================== --- trunk/cegcc/src/mingw/include/io.h 2009-07-24 15:29:39 UTC (rev 1346) +++ trunk/cegcc/src/mingw/include/io.h 2009-07-25 06:08:21 UTC (rev 1347) @@ -286,10 +286,10 @@ #if defined (__MSVCRT__) || defined (__COREDLL__) _CRTIMP long __cdecl __MINGW_NOTHROW _wfindfirst(const wchar_t*, struct _wfinddata_t*); _CRTIMP int __cdecl __MINGW_NOTHROW _wfindnext(long, struct _wfinddata_t *); +_CRTIMP int __cdecl __MINGW_NOTHROW _wopen(const wchar_t*, int, ...); #endif #if defined (__MSVCRT__) _CRTIMP int __cdecl __MINGW_NOTHROW _wunlink(const wchar_t*); -_CRTIMP int __cdecl __MINGW_NOTHROW _wopen(const wchar_t*, int, ...); _CRTIMP int __cdecl __MINGW_NOTHROW _wsopen(const wchar_t*, int, int, ...); _CRTIMP wchar_t * __cdecl __MINGW_NOTHROW _wmktemp(wchar_t*); _CRTIMP long __cdecl __MINGW_NOTHROW _wfindfirsti64(const wchar_t*, struct _wfinddatai64_t*); Modified: trunk/cegcc/src/mingw/include/wchar.h =================================================================== --- trunk/cegcc/src/mingw/include/wchar.h 2009-07-24 15:29:39 UTC (rev 1346) +++ trunk/cegcc/src/mingw/include/wchar.h 2009-07-25 06:08:21 UTC (rev 1347) @@ -380,10 +380,10 @@ #if defined (__MSVCRT__) || defined (__COREDLL__) _CRTIMP long __cdecl __MINGW_NOTHROW _wfindfirst (const wchar_t*, struct _wfinddata_t *); _CRTIMP int __cdecl __MINGW_NOTHROW _wfindnext (long, struct _wfinddata_t *); +_CRTIMP int __cdecl __MINGW_NOTHROW _wopen (const wchar_t*, int, ...); #endif #if defined (__MSVCRT__) _CRTIMP int __cdecl __MINGW_NOTHROW _wunlink (const wchar_t*); -_CRTIMP int __cdecl __MINGW_NOTHROW _wopen (const wchar_t*, int, ...); _CRTIMP int __cdecl __MINGW_NOTHROW _wsopen (const wchar_t*, int, int, ...); _CRTIMP wchar_t* __cdecl __MINGW_NOTHROW _wmktemp (wchar_t*); _CRTIMP long __cdecl __MINGW_NOTHROW _wfindfirsti64 (const wchar_t*, struct _wfinddatai64_t*); Modified: trunk/cegcc/src/mingw/mingwex/wince/open.c =================================================================== --- trunk/cegcc/src/mingw/mingwex/wince/open.c 2009-07-24 15:29:39 UTC (rev 1346) +++ trunk/cegcc/src/mingw/mingwex/wince/open.c 2009-07-25 06:08:21 UTC (rev 1347) @@ -4,19 +4,14 @@ #include <sys/stat.h> static int -vopen (const char *path, int oflag, va_list ap) +vwopen (const wchar_t *wpath, int oflag, va_list ap) { - wchar_t wpath[MAX_PATH]; DWORD fileaccess; DWORD fileshare; DWORD filecreate; DWORD fileattrib; HANDLE hnd; - size_t path_len = strlen (path); - if (path_len >= MAX_PATH) - return -1; - switch (oflag & (O_RDONLY | O_WRONLY | O_RDWR)) { case O_RDONLY: @@ -58,8 +53,6 @@ return -1; } - mbstowcs (wpath, path, path_len + 1); - fileshare = 0; if (oflag & O_CREAT) { @@ -83,6 +76,20 @@ return (int) hnd; } +static int +vopen (const char *path, int oflag, va_list ap) +{ + wchar_t wpath[MAX_PATH]; + + size_t path_len = strlen (path); + if (path_len >= MAX_PATH) + return -1; + + mbstowcs (wpath, path, path_len + 1); + + return vwopen (wpath, oflag, ap); +} + int _open (const char *path, int oflag, ...) { @@ -104,3 +111,14 @@ va_end (ap); return ret; } + +int +_wopen (const wchar_t *path, int oflag, ...) +{ + va_list ap; + int ret; + va_start (ap, oflag); + ret = vwopen (path, oflag, ap); + va_end (ap); + return ret; +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-08-02 14:18:57
|
Revision: 1349 http://cegcc.svn.sourceforge.net/cegcc/?rev=1349&view=rev Author: dannybackx Date: 2009-08-02 14:18:50 +0000 (Sun, 02 Aug 2009) Log Message: ----------- Patch to make conio.h unavailable on mingw32ce. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/include/conio.h Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-07-27 19:29:07 UTC (rev 1348) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-08-02 14:18:50 UTC (rev 1349) @@ -1,5 +1,9 @@ 2009-07-25 Martin Storsjö <ma...@ma...> + * include/conio.h : Make conio.h unavailable on mingw32ce. + +2009-07-25 Martin Storsjö <ma...@ma...> + * include/io.h (_wopen) : Define also when __COREDLL__. * include/wchar.h (_wopen) : Same. * mingwex/wince/open.c : Add _wopen, split up the static Modified: trunk/cegcc/src/mingw/include/conio.h =================================================================== --- trunk/cegcc/src/mingw/include/conio.h 2009-07-27 19:29:07 UTC (rev 1348) +++ trunk/cegcc/src/mingw/include/conio.h 2009-08-02 14:18:50 UTC (rev 1349) @@ -21,7 +21,9 @@ extern "C" { #endif -#ifndef __COREDLL__ +#ifdef __COREDLL__ +# include_next <conio.h> +#else _CRTIMP char* __cdecl __MINGW_NOTHROW _cgets (char*); _CRTIMP int __cdecl __MINGW_NOTHROW _cprintf (const char*, ...); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-08-26 18:24:11
|
Revision: 1361 http://cegcc.svn.sourceforge.net/cegcc/?rev=1361&view=rev Author: dannybackx Date: 2009-08-26 18:23:59 +0000 (Wed, 26 Aug 2009) Log Message: ----------- Fix requested by Vincent. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/include/io.h Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-08-23 14:40:35 UTC (rev 1360) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-08-26 18:23:59 UTC (rev 1361) @@ -1,3 +1,8 @@ +2009-08-26 Vincent Torri <vt...@un...> + + * include/io.h (_finddata_t, _finddatai64_t, __finddata64_t) : + Protect by _FINDDATA_T_DEFINED. + 2009-07-25 Martin Storsjö <ma...@ma...> * include/conio.h : Make conio.h unavailable on mingw32ce. Modified: trunk/cegcc/src/mingw/include/io.h =================================================================== --- trunk/cegcc/src/mingw/include/io.h 2009-08-23 14:40:35 UTC (rev 1360) +++ trunk/cegcc/src/mingw/include/io.h 2009-08-26 18:23:59 UTC (rev 1361) @@ -60,6 +60,7 @@ * The following structure is filled in by _findfirst or _findnext when * they succeed in finding a match. */ +#ifndef _FINDDATA_T_DEFINED struct _finddata_t { unsigned attrib; /* Attributes, see constants above. */ @@ -95,6 +96,9 @@ #endif +#define _FINDDATA_T_DEFINED +#endif /* _FINDDATA_T_DEFINED */ + #ifndef _WFINDDATA_T_DEFINED struct _wfinddata_t { unsigned attrib; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-08-27 18:07:31
|
Revision: 1362 http://cegcc.svn.sourceforge.net/cegcc/?rev=1362&view=rev Author: dannybackx Date: 2009-08-27 18:07:23 +0000 (Thu, 27 Aug 2009) Log Message: ----------- Guard around struct Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/include/sys/time.h Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-08-26 18:23:59 UTC (rev 1361) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-08-27 18:07:23 UTC (rev 1362) @@ -1,4 +1,10 @@ +2009-08-27 Vincent Torri <vt...@un...> + Danny Backx <dan...@us...> + + * include/sys/time.h (struct timezone) : Protect by _TIMEZONE_DEFINED. + 2009-08-26 Vincent Torri <vt...@un...> + Danny Backx <dan...@us...> * include/io.h (_finddata_t, _finddatai64_t, __finddata64_t) : Protect by _FINDDATA_T_DEFINED. Modified: trunk/cegcc/src/mingw/include/sys/time.h =================================================================== --- trunk/cegcc/src/mingw/include/sys/time.h 2009-08-26 18:23:59 UTC (rev 1361) +++ trunk/cegcc/src/mingw/include/sys/time.h 2009-08-27 18:07:23 UTC (rev 1362) @@ -23,11 +23,14 @@ /* Provided for compatibility with code that assumes that the presence of gettimeofday function implies a definition of struct timezone. */ +#ifndef _TIMEZONE_DEFINED struct timezone { int tz_minuteswest; /* of Greenwich */ int tz_dsttime; /* type of dst correction to apply */ }; +#define _TIMEZONE_DEFINED +#endif /* Implementation as per: This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |