You can subscribe to this list here.
2006 |
Jan
|
Feb
|
Mar
|
Apr
|
May
|
Jun
|
Jul
(16) |
Aug
(203) |
Sep
(142) |
Oct
(113) |
Nov
(73) |
Dec
(27) |
---|---|---|---|---|---|---|---|---|---|---|---|---|
2007 |
Jan
(7) |
Feb
(38) |
Mar
(6) |
Apr
(1) |
May
(9) |
Jun
(104) |
Jul
(6) |
Aug
(11) |
Sep
(13) |
Oct
(6) |
Nov
(15) |
Dec
(37) |
2008 |
Jan
(17) |
Feb
(4) |
Mar
(6) |
Apr
(4) |
May
(2) |
Jun
(5) |
Jul
(1) |
Aug
(3) |
Sep
(21) |
Oct
(7) |
Nov
|
Dec
(3) |
2009 |
Jan
(4) |
Feb
(15) |
Mar
|
Apr
(34) |
May
(44) |
Jun
(12) |
Jul
(6) |
Aug
(15) |
Sep
(20) |
Oct
(10) |
Nov
(1) |
Dec
(20) |
2010 |
Jan
(19) |
Feb
(5) |
Mar
(4) |
Apr
|
May
|
Jun
|
Jul
|
Aug
|
Sep
|
Oct
|
Nov
|
Dec
|
From: <dan...@us...> - 2009-05-22 09:56:37
|
Revision: 1317 http://cegcc.svn.sourceforge.net/cegcc/?rev=1317&view=rev Author: dannybackx Date: 2009-05-22 09:56:06 +0000 (Fri, 22 May 2009) Log Message: ----------- Add two definitions. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winsock2.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2009-05-21 15:46:30 UTC (rev 1316) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2009-05-22 09:56:06 UTC (rev 1317) @@ -1,3 +1,8 @@ +2009-05-22 Danny Backx <dan...@us...> + + * include/winsock2.h (DSCP_TRAFFIC_TYPE) : Add typedef for enum. + * include/winsock2.h (AF_BT) : Add, copy of AF_BTH. + 2009-05-18 Danny Backx <dan...@us...> * include/winbase.h (CRITICAL_SECTION) : Define differently for CE. Modified: trunk/cegcc/src/w32api/include/winsock2.h =================================================================== --- trunk/cegcc/src/w32api/include/winsock2.h 2009-05-21 15:46:30 UTC (rev 1316) +++ trunk/cegcc/src/w32api/include/winsock2.h 2009-05-22 09:56:06 UTC (rev 1317) @@ -345,6 +345,7 @@ #define AF_IRDA 26 #endif #define AF_BTH 32 +#define AF_BT 32 #define AF_NETDES 28 #if !(defined (__INSIDE_CYGWIN__) || defined (__INSIDE_MSYS__)) #define AF_MAX 33 @@ -1314,6 +1315,19 @@ #define WSASetService WSASetServiceA #endif +#if defined(_WIN32_WCE) && (_WIN32_WCE >= 0x0500) +typedef enum _DSCP_TRAFFIC_TYPE { + DSCPTypeNotSet = 0, + DSCPBestEffort = 1, + DSCPBackground = 2, + DSCPExcellentEffort = 3, + DSCPVideo = 4, + DSCPAudio = 5, + DSCPControl = 6, + NumDSCPTrafficTypes = 6 +} DSCP_TRAFFIC_TYPE; +#endif + #ifdef __cplusplus } #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-21 15:46:36
|
Revision: 1316 http://cegcc.svn.sourceforge.net/cegcc/?rev=1316&view=rev Author: dannybackx Date: 2009-05-21 15:46:30 +0000 (Thu, 21 May 2009) Log Message: ----------- Add old contents of gcc/ChangeLog.ce and libstdc++-v3/ChangeLog.ce . Modified Paths: -------------- trunk/cegcc/src/gcc-4.4.0/ChangeLog.ce Modified: trunk/cegcc/src/gcc-4.4.0/ChangeLog.ce =================================================================== --- trunk/cegcc/src/gcc-4.4.0/ChangeLog.ce 2009-05-21 15:04:52 UTC (rev 1315) +++ trunk/cegcc/src/gcc-4.4.0/ChangeLog.ce 2009-05-21 15:46:30 UTC (rev 1316) @@ -66,3 +66,299 @@ * gcc-4.4.0/ChangeLog.ce : New file. * gcc-4.4.0 : Fresh import from gcc-core-4.4.0 and gcc-g++-4.4.0 . + +2006-12-03 Pedro Alves <ped...@po...> + + * gcc/config/arm/arm.c (arm_major_arch, arm_thumb_arch_p): New + functions. + * gcc/config/arm/arm-protos.h (arm_major_arch, arm_thumb_arch_p): + Declare. + * gcc/config/arm/wince-pe.h (TARGET_OS_CPP_BUILTINS): Add _M_ARM, + _M_ARMT and ARM. + +2006-11-27 Pedro Alves <ped...@po...> + + * gcc/config/arm/mingw32.h (STARTFILE_SPEC): Add crt3.o and dllcrt3.o + instead of crt2.o and dllcrt2.o. + +2006-11-12 Pedro Alves <ped...@po...> + + * gcc/config/arm/wince-pe.h (TARGET_OS_CPP_BUILTINS): Delete _M_ARM + and ARM. + +2006-11-08 Pedro Alves <ped...@po...> + + * gcc/config/arm/wince-pe.h (DEFAULT_SIGNED_CHAR): Define to 1. + +2006-11-04 Danny Backx <dan...@us...> + + * gcc/config/arm/pe.h (PROFILE_HOOK): Remove, it looks like we don't need + it to get profiling to work. + +2006-10-30 Pedro Alves <ped...@po...> + + * gcc/target-def.h (TARGET_ATTRIBUTE_TABLE): Only define if not + defined before. + * gcc/config/arm/arm.c (arm_file_end): Give it external linkage. + (arm_handle_struct_attribute): New. + (arm_ms_bitfield_layout_p): New. + (TARGET_ATTRIBUTE_TABLE, TARGET_ASM_FILE_END, + TARGET_ENCODE_SECTION_INFO, TARGET_STRIP_NAME_ENCODING): Move + declarations to config/arm/arm.h. + (TARGET_MS_BITFIELD_LAYOUT_P): Define to + arm_ms_bitfield_layout_p. + (arm_return_in_memory): Replace #ifdef'ing on ARM_WINCE with + TARGET_RETURN_AGGREGATES_IN_MEMORY. + (arm_attribute_table): Add shared, ms_struct, gcc_struct + attributes. + Allow subtarget to add attributes using + SUBTARGET_ATTRIBUTE_TABLE. + (arm_elf_asm_constructor): Only compile on OBJECT_FORMAT_ELF. + (thumb_output_function_prologue): Call arm_pe_strip_name_encoding + instead of arm_strip_name_encoding. + (arm_handle_struct_attribute): New function. + (arm_ms_bitfield_layout_p): New function. + * gcc/config/arm/arm.h (TARGET_ASM_FILE_END, TARGET_ATTRIBUTE_TABLE, + TARGET_ENCODE_SECTION_INFO, TARGET_STRIP_NAME_ENCODING): Define. + * gcc/config/arm/t-wince-cegcc: Add cegcc1.o rule. + (TARGET_LIBGCC2_CFLAGS): Add -mwin32. + * gcc/config/arm/t-mingw32 (SYSTEM_INCLUDE_DIR): Delete. + (NATIVE_SYSTEM_HEADER_DIR): Likewise. + * gcc/config/arm/arm-protos.h (arm_file_end, + arm_pe_asm_named_section, arm_pe_section_type_flags, + arm_pe_strip_name_encoding, arm_pe_output_labelref, + arm_pe_handle_shared_attribute): Declare. + * gcc/config/arm/wince-pe.h: + (TARGET_VERSION): Set to "(arm Windows CE/Native SDK)". + (MULTILIB_DEFAULTS): Remove -mfpu=vfp. + (SUBTARGET_CPU_DEFAULT): Default to TARGET_CPU_arm8 (armv4). + (CPP_SPEC): Remove cegcc specifics. + (ASM_SPEC): Don't pass -cpu=iwmmxt to assembler when -mcpu=xscale + is used. + (SUBTARGET_EXTRA_SPECS, SUBTARGET_ASM_FLOAT_SPEC): Remove. + (TARGET_OS_CPP_BUILTINS): Add _stdcall, _fastcall and _cdecl. + (SUBTARGET_CPP_SPEC, HANDLE_SYSV_PRAGMA, + HANDLE_PRAGMA_PACK_PUSH_POP): Delete. + (STARTFILE_SPEC): Remove cegcc specifics. + (LIBGCC_SPEC): Likewise. + (LIB_SPEC): Likewise. + (COMMON_ASM_OP, ASM_OUTPUT_COMMON, ASM_DECLARE_OBJECT_NAME, + ASM_DECLARE_FUNCTION_NAME, ASM_OUTPUT_EXTERNAL, + ASM_OUTPUT_EXTERNAL_LIBCALL, ASM_OUTPUT_ALIGNED_BSS, + TARGET_ASM_FILE_END, SUPPORTS_ONE_ONLY, MULTIPLE_SYMBOL_SPACES): + Delete. + (ARM_MCOUNT_NAME): Define to _mcount to avoid conflicts. + (CHECK_STACK_LIMIT): Delete. + (TARGET_DEFAULT): Match Windows CE ABI with + MASK_MS_BITFIELD_LAYOUT and MASK_RETURN_AGGREGATES_IN_MEMORY. + (TARGET_SUBTARGET_DEFAULT): Delete. + (BIGGEST_FIELD_ALIGNMENT): Delete. + (SET_ASM_OP): Delete. + (DEFAULT_STRUCTURE_SIZE_BOUNDARY): Define to 8 as WinCE's ABI + requires. + (ASM_OUTPUT_DEF_FROM_DECLS, TARGET_USE_JCR_SECTION, + TARGET_USE_LOCAL_THUNK_ALIAS_P, SUBTARGET_ATTRIBUTE_TABLE): + Delete. + * gcc/config/arm/mingw32.h (STANDARD_INCLUDE_DIR, + STANDARD_INCLUDE_COMPONENT): Delete. + * gcc/config/arm/arm.opt: New option -mreturn-aggregates-in-memory. + * gcc/config/arm/pe.opt: New option -mms-bitfields. + * gcc/config/arm/pe.c (arm_pe_handle_shared_attribute): New. + (arm_pe_strip_name_encoding): New. + (arm_pe_output_labelref): Call arm_pe_strip_name_encoding instead + of arm_strip_name_encoding. + (arm_pe_unique_section): Likewise. + (arm_pe_section_type_flags): New. + (arm_pe_asm_named_section ): New. + (arm_pe_file_end): Call arm_file_end. + * gcc/config/arm/pe.h (HANDLE_SYSV_PRAGMA): New. + (HANDLE_PRAGMA_PACK_PUSH_POP): New. + (SUBTARGET_OVERRIDE_OPTIONS): New. + (TARGET_ASM_NAMED_SECTION): Set to arm_pe_asm_named_section + specialized version. + (TARGET_SECTION_TYPE_FLAGS): New. + (ASM_DECLARE_FUNCTION_NAME): Don't output -export to .drectve + directly. + Use arm_pe_record_exported_symbol instead. + (TARGET_ASM_FILE_END): Set to arm_pe_file_end. + (TARGET_ENCODE_SECTION_INFO): Set to arm_pe_encode_section_info. + (TARGET_STRIP_NAME_ENCODING): Set to arm_pe_strip_name_encoding. + (COMMON_ASM_OP): New. + (ASM_OUTPUT_COMMON): Don't output -export to .drectve directly. + Use arm_pe_record_exported_symbol instead. + (ASM_DECLARE_OBJECT_NAME): Likewise. + (ASM_OUTPUT_EXTERNAL): New. + (ASM_OUTPUT_EXTERNAL_LIBCALL): New. + (PROFILE_HOOK): New. + (ASM_OUTPUT_DEF_FROM_DECLS): New. + (SUPPORTS_ONE_ONLY). + (SUBTARGET_ATTRIBUTE_TABLE): New. + (TARGET_USE_LOCAL_THUNK_ALIAS_P): New. + (TARGET_USE_JCR_SECTION): New. + (SUBTARGET_ENCODE_SECTION_INFO): New. + (TARGET_STRIP_NAME_ENCODING): New. + * gcc/config/arm/wince-cegcc.h (SUBTARGET_EXTRA_SPECS, + EXTRA_OS_CPP_BUILTINS, TARGET_OS_CPP_BUILTINS, + SUBTARGET_CPP_SPEC): Delete. + * gcc/config/arm/t-wince-pe (pe.o): Add expr.h to dependencies. + (cegcc1.o): Delete build rule. + (MULTILIB_OPTIONS): Remove -mfpu=vfp. + (TARGET_LIBGCC2_CFLAGS): Remove unneeded options. + +2006-10-30 Pedro Alves <ped...@po...> + + * gcc/config/arm/pe-cxx.c: Fix indenting to match the original + config/i386/winnt-cxx.c. + +2006-10-17 Pedro Alves <ped...@po...> + + * gcc/config/arm/wince-cegcc.h (STARTFILE_SPEC) : Add gcrt3.o instead + of gcrt2.o. + * gcc/config/arm/mingw32.h: Likewise. + +2006-10-16 Danny Backx <dan...@us...> + + * gcc/config/arm/wince-cegcc.h (LIB_SPEC) : Link -lgmon when called + with -pg. + (STARTFILE_SPEC): Add gcrt2.o when called with -pg. + +2006-10-12 Danny Backx <dan...@us...> + + * gcc/config/arm/wince-cegcc.h (mno-cegcc): Remove option. + Use the arm-wince-mingw32ce target instead. + +2006-10-10 Pedro Alves <ped...@po...> + + * gcc/config/arm/cegcc.c: Delete. We use the originals instead. + This code is generic PE code, and will hopefully get + pushed down to a more general place in GCC 4.3 stage1. + * gcc/cegcc-cxx.c: Likewise. + * gcc/cegcc-stubs.c: Likewise. + * gcc/config.gcc: Use the originals instead of the new copies for the + arm*-wince-cegcc case. + * gcc/config/arm/t-wince-cegcc: Make it empty, we now inherit the + generic t-wince-pe. + * gcc/ChangeLog.ce: New file. +Index: libstdc++-v3/ChangeLog.ce +=================================================================== +--- libstdc++-v3/ChangeLog.ce (revisão 0) +++ libstdc++-v3/ChangeLog.ce (revisão 0) +@@ -0,0 +1,118 @@ +2007-02-04 Pedro Alves <ped...@po...> + + * libstdc++-v3/acinclude.m4 (GLIBCXX_ENABLE_C99]): Remove wcscoll and wcsxfrm. + Check for wcscoll, wcsxfrm, strcoll and strxfrm. + * libstdc++-v3/configure: Regenerate. + * libstdc++-v3/include/c_std/std_cwchar.h: Use _GLIBCXX_HAVE_WCSCOLL, and + _GLIBCXX_HAVE_WCSXFRM. + * libstdc++-v3/config/locale/generic/collate_members.cc + (collate<char>::_M_compare): Use _GLIBCXX_HAVE_STRCOLL. + Use strcmp as alternative. + (collate<char>::_M_transform): Use _GLIBCXX_HAVE_STRXFRM. + Use strncpy as alternative. + (collate<wchar_t>::_M_compare): Use _GLIBCXX_HAVE_WCSCOLL. + Use wcscmp as alternative. + (collate<wchar_t>::_M_transform): Use _GLIBCXX_HAVE_WCSXFRM. + Use wcsncpy as alternative. + +2006-11-12 Pedro Alves <ped...@po...> + + * libstdc++-v3/config/io/basic_file_stdio.cc (__gnu_internal::read, + __gnu_internal::write, __gnu_internal::lseek, + __gnu_internal::fdopen): Delete. + (__basic_file<char>::sys_open): Fix typo. + +2006-10-22 Pedro Alves <ped...@po...> + + * libstdc++-v3/config/locale/generic/time_members.cc : + (__timepunct<char>::_M_put): Enable on __MINGW32CE__. + (__timepunct<char>::_M_initialize_timepunct) : Likewise. + (__timepunct<wchar_t>::_M_put) : Likewise. + (__timepunct<wchar_t>::_M_initialize_timepunct) : Likewise. + +2006-10-18 Pedro Alves <ped...@po...> + + * libstdc++-v3/config/io/basic_file_stdio.cc : Include <windows.h> on mingw32ce. + (__gnu_internal::read) : New. + (__gnu_internal::write) : New. + (__gnu_internal::lseek) : New. + (__gnu_internal::fdopen) : New. + (__gnu_internal::xwrite): Revert to always using file + descriptors (handles on CE). + (__basic_file<char>::sys_open) : Enable on mingw32ce too. Don't + special case __fd == 0. + (__basic_file<char>::fd) : Enable on mingw32ce too. + (__basic_file<char>::xsgetn) : Use file descriptors on mingw32ce too. + (__basic_file<char>::xsputn) : Likewise. + (__basic_file<char>::xsputn_2) : Likewise. + (__basic_file<char>::seekoff) : Likewise, using __gnu_internal::lseek. + (__basic_file<char>::showmanyc) : Implement for mingw32ce using Win32 api. + +2006-10-17 Pedro Alves <ped...@po...> + + * libstdc++-v3/crossconfig.m4 (cegcc*, mingw32*): Add fnctl.h to AC_CHECK_HEADERS. + * libstdc++-v3/configure : Regenerate. + * libstdc++-v3/config.h.in : Regenerate. + * libstdc++-v3/config/io/basic_file_stdio.cc : Wrap fnctl.h inclusion + on _GLIBCXX_HAVE_FCNTL_H. + +2006-10-16 Pedro Alves <ped...@po...> + + * libstdc++-v3/include/ext/pool_allocator.h : Include runtimeopts.h. + (allocate) : Use runtimeopts::force_new_p. + * libstdc++-v3/include/ext/stdio_filebuf.h (stdio_filebuf) : Don't build + fildes constructor version on mingw32ce. + (fd) : Don't build on mingw32ce. + * libstdc++-v3/include/ext/stdio_sync_filebuf.h : Wrap unistd.h inclusion + on _GLIBCXX_HAVE_UNISTD_H. + * libstdc++-v3/include/ext/mt_allocator.h : Include runtimeopts.h. + (_Tune) : Use runtimeopts::force_new_p. + (_S_tune) : Likewise. + * libstdc++-v3/include/Makefile.am (host_headers) : Add runtimeopts.h + * libstdc++-v3/include/Makefile.in : Regenerate. + * libstdc++-v3/include/stdc++.h : Include <bits/c++config.h>. + Wrap errno.h inclusion with _GLIBCXX_HAVE_ERRNO_H. + Wrap clocale.h inclusion with _GLIBCXX_HAVE_LOCALE_H. + Wrap csignal.h inclusion with _GLIBCXX_HAVE_SIGNAL_H. + * libstdc++-v3/include/c_std/std_cstdlib.h (bsearch, calloc, getenv, + mblen, mbstowcs, mbtowc, system, freopen, perror, + remove, rename, rewind, setbuf, tmpfile, tmpnam, + clock, mktime, time, asctime, ctime, gmtime, + localtime, strftime) : These function on exist on coredll. Wrap with + ifndef __MINGW32CE__. + * libstdc++-v3/include/c_std/std_cstring.h (strcoll, strxfrm, strerror): Likewise. + * libstdc++-v3/src/localename.cc : Wrap clocale.h inclusion with + _GLIBCXX_HAVE_LOCALE_H. + (locale) : No locale support on coredll, Always use _S_classic. + * libstdc++-v3/src/locale_init.cc : Wrap clocale.h inclusion with + _GLIBCXX_HAVE_LOCALE_H. + (global) : No setlocale on coredll. Wrap with ifndef __MINGW32CE__. + * libstdc++-v3/src/locale.cc : Wrap clocale.h inclusion with + _GLIBCXX_HAVE_LOCALE_H. + (_S_normalize_category) : Always return __cat on mingw32ce. + * libstdc++-v3/crossconfig.m4 (cegcc): Add errno.h, signal.h and unistd.h + to AC_CHECK_HEADERS. Call GLIBCXX_CHECK_STDLIB_SUPPORT. + * libstdc++-v3/config/locale/generic/collate_members.cc (_M_compare) : + No strcoll on coredll. Call strcmp instead. + (_M_transform) : No strxfrm on coredll. Call strncpy + strlen instead. + * libstdc++-v3/config/locale/generic/c_locale.cc: Include <bits/c++config.h>. + Wrap errno.h inclusion with _GLIBCXX_HAVE_ERRNO_H. + Provice a default ERANGE for mingw32ce. + (__convert_to_v) Adapt to lack of errno and setlocale. + * libstdc++-v3/config/locale/generic/c_locale.h : + Wrap clocale.h inclusion with _GLIBCXX_HAVE_LOCALE_H. + (__convert_from_v) : Don't handle locale on mingw32ce. + * libstdc++-v3/config/locale/generic/time_members.cc (_M_put) : Don't build on + mingw32ce. + * libstdc++-v3/config/io/basic_file_stdio.cc : + Wrap errno.h inclusion with _GLIBCXX_HAVE_ERRNO_H. + Use FILE* instead of file descriptors on mingw32ce throughout. + Adapt to lack of errno. + * libstdc++-v3/configure: Regenerate. + * libstdc++-v3/config.h.in : Regenerate. + +2006-10-10 Pedro Alves <ped...@po...> + + * libstdc++-v3/config/os/generic/runtimeopts.h : New file. + * libstdc++-v3/configure: Regenerate with autoconf 2.59. + * libstdc++-v3/ChangeLog.ce : New file. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-21 15:05:00
|
Revision: 1315 http://cegcc.svn.sourceforge.net/cegcc/?rev=1315&view=rev Author: dannybackx Date: 2009-05-21 15:04:52 +0000 (Thu, 21 May 2009) Log Message: ----------- This gets arm-mingw32ce and i386-mingw32ce to compile completely. Modified Paths: -------------- trunk/cegcc/src/gcc-4.4.0/ChangeLog.ce trunk/cegcc/src/gcc-4.4.0/gcc/config/i386/t-wince trunk/cegcc/src/gcc-4.4.0/gcc/config.gcc trunk/cegcc/src/gcc-4.4.0/libgcc/config.host trunk/cegcc/src/scripts/build-mingw32ce.sh trunk/cegcc/src/scripts/build-x86.sh Modified: trunk/cegcc/src/gcc-4.4.0/ChangeLog.ce =================================================================== --- trunk/cegcc/src/gcc-4.4.0/ChangeLog.ce 2009-05-21 05:43:59 UTC (rev 1314) +++ trunk/cegcc/src/gcc-4.4.0/ChangeLog.ce 2009-05-21 15:04:52 UTC (rev 1315) @@ -1,3 +1,11 @@ +2009-05-21 Danny Backx <dan...@us...> + + * libgcc/config.host, gcc/config.gcc : Define i?86*-mingw32ce as a + separate target, with extra files crtbegin.o and crtend.o . Apparently + both places must have an identical list here. + * gcc/config/i386/t-wince : Add include files from the source tree to + get libgcc2 and crtbegin.c and crtend.c to compile. + 2009-05-19 Danny Backx <dan...@us...> * gcc/config/arm/cygming.opt, mingw32.h, pe-cxx.h, pe-stubs.c : Copy from older mingw32ce gcc port. Mostly Pedro's work. Modified: trunk/cegcc/src/gcc-4.4.0/gcc/config/i386/t-wince =================================================================== --- trunk/cegcc/src/gcc-4.4.0/gcc/config/i386/t-wince 2009-05-21 05:43:59 UTC (rev 1314) +++ trunk/cegcc/src/gcc-4.4.0/gcc/config/i386/t-wince 2009-05-21 15:04:52 UTC (rev 1315) @@ -1 +1,19 @@ SHLIB_LC = -lmingw32 -lmingwex -lceoldname -lcoredll + +LIBGCC2_INCLUDES += \ + -I$(srcdir)/../../mingw/include \ + -I$(srcdir)/../../w32api/include + +CRTSTUFF_CFLAGS += \ + -I$(srcdir)/../../mingw/include \ + -I$(srcdir)/../../w32api/include + +# LIBGCC2_INCLUDES += -I$(srcdir)/../winsup/include \ +# -I$(srcdir)/../winsup/cygwin/include \ +# -I$(srcdir)/yow -I$(srcdir)/../../mingw/include \ +# -I$(srcdir)/../../w32api/include +# +# CRTSTUFF_CFLAGS += -I$(srcdir)/../winsup/include \ +# -I$(srcdir)/../winsup/cygwin/include \ +# -I$(srcdir)/yow -I$(srcdir)/../../mingw/include \ +# -I$(srcdir)/../../w32api/include Modified: trunk/cegcc/src/gcc-4.4.0/gcc/config.gcc =================================================================== --- trunk/cegcc/src/gcc-4.4.0/gcc/config.gcc 2009-05-21 05:43:59 UTC (rev 1314) +++ trunk/cegcc/src/gcc-4.4.0/gcc/config.gcc 2009-05-21 15:04:52 UTC (rev 1315) @@ -1336,6 +1336,7 @@ *-mingw32ce*) tm_file="${tm_file} i386/mingw32ce.h" tmake_file="${tmake_file} i386/t-wince" + extra_parts="crtbegin.o crtend.o crtfastmath.o" ;; *mingw32crt*) tm_file="${tm_file} i386/crtdll.h" Modified: trunk/cegcc/src/gcc-4.4.0/libgcc/config.host =================================================================== --- trunk/cegcc/src/gcc-4.4.0/libgcc/config.host 2009-05-21 05:43:59 UTC (rev 1314) +++ trunk/cegcc/src/gcc-4.4.0/libgcc/config.host 2009-05-21 15:04:52 UTC (rev 1315) @@ -337,6 +337,10 @@ ;; i[34567]86-*-pe) ;; +i[34567]86-*-mingw32ce*) + extra_parts="crtbegin.o crtend.o crtfastmath.o" + tmake_file="i386/t-cygming i386/t-crtfm" + ;; i[34567]86-*-cygwin* | i[34567]86-*-mingw*) extra_parts="crtbegin.o crtend.o crtfastmath.o" tmake_file="i386/t-cygming i386/t-crtfm" Modified: trunk/cegcc/src/scripts/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/scripts/build-mingw32ce.sh 2009-05-21 05:43:59 UTC (rev 1314) +++ trunk/cegcc/src/scripts/build-mingw32ce.sh 2009-05-21 15:04:52 UTC (rev 1315) @@ -14,7 +14,7 @@ ac_default_prefix="/opt/mingw32ce" -gcc_src=gcc +export gcc_src=gcc-4.4.0 # The list of components, in build order. There's a build_FOO # function for each of these components @@ -218,10 +218,14 @@ --disable-shared \ --disable-interwork \ --without-newlib \ - --enable-checking + --enable-checking || exit 1 - make ${PARALLELISM} all-gcc - make install-gcc + make ${PARALLELISM} all-gcc || exit 1 + make configure-target-libgcc || exit 1 + make install-gcc || exit 1 + cd ${TARGET}/libgcc || exit 1 + make ${PARALLELLISM} libgcc.a || exit 1 + /usr/bin/install -c -m 644 libgcc.a ${PREFIX}/lib/gcc/${TARGET}/4.4.0 || exit 1 cd ${BUILD_DIR} } @@ -305,16 +309,21 @@ --disable-interwork \ --without-newlib \ --enable-checking \ - --with-headers + --with-headers \ + --disable-__cxa_atexit # we build libstdc++ as dll, so we don't need this. # --enable-fully-dynamic-string \ - +# --enable-sjlj-exceptions \ # --disable-clocale \ make ${PARALLELISM} make install + # + # Clean up one file + # + cd ${BUILD_DIR} } @@ -481,7 +490,7 @@ export TARGET="arm-mingw32ce" #export TARGET="arm-wince-mingw32ce" -export BUILD=`sh ${BASE_DIRECTORY}/gcc/config.guess` +export BUILD=`sh ${BASE_DIRECTORY}/${gcc_src}/config.guess` if [ "x${host}" != "x" ]; then export HOST="${host}" else Modified: trunk/cegcc/src/scripts/build-x86.sh =================================================================== --- trunk/cegcc/src/scripts/build-x86.sh 2009-05-21 05:43:59 UTC (rev 1314) +++ trunk/cegcc/src/scripts/build-x86.sh 2009-05-21 15:04:52 UTC (rev 1315) @@ -14,7 +14,7 @@ ac_default_prefix="/opt/x86mingw32ce" -gcc_src=gcc +export gcc_src=gcc-4.4.0 # The list of components, in build order. There's a build_FOO # function for each of these components @@ -220,10 +220,18 @@ --without-newlib \ --enable-checking - make ${PARALLELISM} all-gcc - make install-gcc + make ${PARALLELISM} all-gcc || exit 1 + make install-gcc || exit 1 + make configure-target-libgcc || exit 1 + cd ${TARGET}/libgcc || exit 1 + make ${PARALLELLISM} libgcc.a crtbegin.o crtend.o crtfastmath.o || exit 1 + /usr/bin/install -c -m 644 libgcc.a ${PREFIX}/lib/gcc/${TARGET}/4.4.0 || exit 1 + /usr/bin/install -c -m 644 crtbegin.o ${PREFIX}/lib/gcc/${TARGET}/4.4.0 || exit 1 + /usr/bin/install -c -m 644 crtend.o ${PREFIX}/lib/gcc/${TARGET}/4.4.0 || exit 1 + /usr/bin/install -c -m 644 crtfastmath.o ${PREFIX}/lib/gcc/${TARGET}/4.4.0 || exit 1 cd ${BUILD_DIR} +# HOST_LIBGCC2_CFLAGS="-I${BASE_DIRECTORY}/mingw/include -I${BASE_DIRECTORY}/w32api/include" } build_w32api() @@ -397,8 +405,16 @@ { echo "" echo "BUILDING profiling libraries --------------------------" + echo " temporarily disabled" echo "" +} + +notyet_build_profile() +{ echo "" + echo "BUILDING profiling libraries --------------------------" + echo "" + echo "" mkdir -p profile cd profile @@ -481,7 +497,7 @@ export TARGET="i386-mingw32ce" -export BUILD=`sh ${BASE_DIRECTORY}/gcc/config.guess` +export BUILD=`sh ${BASE_DIRECTORY}/${gcc_src}/config.guess` export PATH=${PREFIX}/bin:${PATH} if [ "x${host}" != "x" ]; then This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-21 05:44:09
|
Revision: 1314 http://cegcc.svn.sourceforge.net/cegcc/?rev=1314&view=rev Author: dannybackx Date: 2009-05-21 05:43:59 +0000 (Thu, 21 May 2009) Log Message: ----------- Mention a couple of files from the initial patch. Modified Paths: -------------- trunk/cegcc/src/gcc-4.4.0/ChangeLog.ce Modified: trunk/cegcc/src/gcc-4.4.0/ChangeLog.ce =================================================================== --- trunk/cegcc/src/gcc-4.4.0/ChangeLog.ce 2009-05-21 05:35:39 UTC (rev 1313) +++ trunk/cegcc/src/gcc-4.4.0/ChangeLog.ce 2009-05-21 05:43:59 UTC (rev 1314) @@ -1,4 +1,8 @@ 2009-05-19 Danny Backx <dan...@us...> + * gcc/config/arm/cygming.opt, mingw32.h, pe-cxx.h, pe-stubs.c : Copy + from older mingw32ce gcc port. Mostly Pedro's work. + * gcc/config/i386/mingw32ce.h, t-wince.h : Likewise, but now in the + i386 directory for better integration. * gcc/config/arm/cegcc.opt, wince-cegcc.h, cegcc1.c, t-wince-cegcc : Copy from older cegcc/gcc port. * gcc/config.gcc : Change arm*-wince-cegcc* to arm*-*-cegcc*. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-21 05:31:17
|
Revision: 1312 http://cegcc.svn.sourceforge.net/cegcc/?rev=1312&view=rev Author: dannybackx Date: 2009-05-21 05:31:06 +0000 (Thu, 21 May 2009) Log Message: ----------- Files added for cegcc target. Some more tweaking Modified Paths: -------------- trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/t-wince-pe trunk/cegcc/src/gcc-4.4.0/gcc/config/i386/cygming-crtend.c Added Paths: ----------- trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/cegcc.opt trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/cegcc1.c trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/t-wince-cegcc trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/wince-cegcc.h Added: trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/cegcc.opt =================================================================== --- trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/cegcc.opt (rev 0) +++ trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/cegcc.opt 2009-05-21 05:31:06 UTC (rev 1312) @@ -0,0 +1,39 @@ +; cegcc specific options. + +; Copyright (C) 2006 Free Software Foundation, Inc. +; +; This file is part of GCC. +; +; GCC is free software; you can redistribute it and/or modify it under +; the terms of the GNU General Public License as published by the Free +; Software Foundation; either version 2, or (at your option) any later +; version. +; +; GCC is distributed in the hope that it will be useful, but WITHOUT ANY +; WARRANTY; without even the implied warranty of MERCHANTABILITY or +; FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License +; for more details. +; +; You should have received a copy of the GNU General Public License +; along with GCC; see the file COPYING. If not, write to the Free +; Software Foundation, 51 Franklin Street, Fifth Floor, Boston, MA +; 02110-1301, USA. + +mcegcc +Target +Use the Cegcc interface + +mdll +Target RejectNegative +Generate code for a DLL + +mnop-fun-dllimport +Ignore dllimport for functions + +mthreads +Target RejectNegative +Use Cegcc-specific thread support + +mwin32 +Target +Set Windows defines Added: trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/cegcc1.c =================================================================== --- trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/cegcc1.c (rev 0) +++ trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/cegcc1.c 2009-05-21 05:31:06 UTC (rev 1312) @@ -0,0 +1,5 @@ +#include "config.h" +#include "system.h" +#include "coretypes.h" +#include "tm.h" +#include <string.h> Property changes on: trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/cegcc1.c ___________________________________________________________________ Added: svn:eol-style + native Added: trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/t-wince-cegcc =================================================================== --- trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/t-wince-cegcc (rev 0) +++ trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/t-wince-cegcc 2009-05-21 05:31:06 UTC (rev 1312) @@ -0,0 +1,12 @@ +cegcc1.o: $(srcdir)/config/arm/cegcc1.c $(CONFIG_H) $(SYSTEM_H) coretypes.h \ + $(TM_H) $(TM_P_H) + $(CC) -c $(ALL_CFLAGS) $(ALL_CPPFLAGS) $(INCLUDES) \ + $(srcdir)/config/arm/cegcc1.c + +#Needed because we include <windows.h> +TARGET_LIBGCC2_CFLAGS += -mwin32 + +# Version for mingw32ce +#SHLIB_LC = -lmingw32 -lmingwex -lceoldname -lcoredll +# Version for cegcc +SHLIB_LC = -lc -lcoredll Modified: trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/t-wince-pe =================================================================== --- trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/t-wince-pe 2009-05-20 14:58:46 UTC (rev 1311) +++ trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/t-wince-pe 2009-05-21 05:31:06 UTC (rev 1312) @@ -100,7 +100,11 @@ SHLIB_OBJS = @shlib_objs@ SHLIB_DIR = @multilib_dir@/shlib SHLIB_SLIBDIR_QUAL = @shlib_slibdir_qual@ + +# Version for mingw32ce SHLIB_LC = -lmingw32 -lmingwex -lceoldname -lcoredll +# Version for cegcc +#SHLIB_LC = -lc -lcoredll # This should go somewhere else. # We are using SjLj EH. Added: trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/wince-cegcc.h =================================================================== --- trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/wince-cegcc.h (rev 0) +++ trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/wince-cegcc.h 2009-05-21 05:31:06 UTC (rev 1312) @@ -0,0 +1,67 @@ +/* Definitions of target machine for GNU compiler, for ARM with WINCE-PE obj format. + Copyright (C) 2003, 2004, 2005, 2006 Free Software Foundation, Inc. + + Based on work contributed by Nick Clifton <ni...@re...> + + Further development by Pedro Alves <ped...@po...> + and Danny Backx. + + This file is part of GCC. + + GCC is free software; you can redistribute it and/or modify it + under the terms of the GNU General Public License as published + by the Free Software Foundation; either version 2, or (at your + option) any later version. + + GCC is distributed in the hope that it will be useful, but WITHOUT + ANY WARRANTY; without even the implied warranty of MERCHANTABILITY + or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public + License for more details. + + You should have received a copy of the GNU General Public License + along with GCC; see the file COPYING. If not, write to + the Free Software Foundation, 51 Franklin Street, Fifth Floor, + Boston, MA 02110-1301, USA. */ + +#undef TARGET_VERSION +#define TARGET_VERSION fprintf (stderr, " (ARM/cegcc)"); + +#undef CPP_SPEC +#define CPP_SPEC "%(cpp_cpu) %{posix:-D_POSIX_SOURCE} \ + -D__CEGCC32__ -D__CEGCC__ -D__CEGCC_VERSION__ \ + %{!ansi:-Dunix} -D__unix__ -D__unix \ + %{mwin32: -DWIN32 -D_WIN32 -D__WIN32 -D__WIN32__ } \ + %{!nostdinc:%{!mno-win32: -idirafter ../include/w32api%s -idirafter ../../include/w32api%s }} \ +" + +#undef STARTFILE_SPEC +#define STARTFILE_SPEC "\ + %{shared|mdll:dllcrt1%O%s } \ + %{!shared: %{!mdll: crt0%O%s \ + %{mthreads:crtmt%O%s} %{!mthreads:crtst%O%s} \ + } } \ + %{pg: gcrt3%O%s} \ + " + +#undef LIBGCC_SPEC +#define LIBGCC_SPEC \ + "%{mthreads:-lcegccthrd} %{!static: -lcegcc } -lgcc" + +/* We have to dynamic link to get to the system DLLs. All of libc, libm, + the Unix stuff is in cegcc.dll. The import library is called + 'libcegcc.dll.a'. For Windows applications, include more libraries, but + always include coredll. We'd like to specify subsystem windows to + ld, but that doesn't work just yet. */ + +#undef LIB_SPEC +#define LIB_SPEC "%{static: -lm -lc} \ + %{pg: -lgmon} \ + -lcoredll" + +#undef LINK_SPEC +#define LINK_SPEC "\ + %{shared: %{mdll: %eshared and mdll are not compatible}} \ + %{shared: --shared} %{mdll:--dll} \ + %{static:-Bstatic} %{!static:-Bdynamic} \ + %{shared|mdll: -e DllMainCRTStartup} \ + " Property changes on: trunk/cegcc/src/gcc-4.4.0/gcc/config/arm/wince-cegcc.h ___________________________________________________________________ Added: svn:eol-style + native Modified: trunk/cegcc/src/gcc-4.4.0/gcc/config/i386/cygming-crtend.c =================================================================== --- trunk/cegcc/src/gcc-4.4.0/gcc/config/i386/cygming-crtend.c 2009-05-20 14:58:46 UTC (rev 1311) +++ trunk/cegcc/src/gcc-4.4.0/gcc/config/i386/cygming-crtend.c 2009-05-21 05:31:06 UTC (rev 1312) @@ -78,7 +78,7 @@ } #if !DEFAULT_USE_CXA_ATEXIT -static void deregister_frame_dtor (void) __attribute__ ((destructor (0))); +// static void deregister_frame_dtor (void) __attribute__ ((destructor (0))); static void deregister_frame_dtor (void) 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-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 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-19 14:35:33
|
Revision: 1306 http://cegcc.svn.sourceforge.net/cegcc/?rev=1306&view=rev Author: dannybackx Date: 2009-05-19 14:35:26 +0000 (Tue, 19 May 2009) Log Message: ----------- This is a post-4.4.0 addition Added Paths: ----------- trunk/cegcc/src/gcc-4.4.0/libgcc/config/arm/ trunk/cegcc/src/gcc-4.4.0/libgcc/config/arm/t-wince-pe Added: trunk/cegcc/src/gcc-4.4.0/libgcc/config/arm/t-wince-pe =================================================================== --- trunk/cegcc/src/gcc-4.4.0/libgcc/config/arm/t-wince-pe (rev 0) +++ trunk/cegcc/src/gcc-4.4.0/libgcc/config/arm/t-wince-pe 2009-05-19 14:35:26 UTC (rev 1306) @@ -0,0 +1,44 @@ +CUSTOM_CRTSTUFF = yes + +crtbegin.o: $(gcc_srcdir)/config/i386/cygming-crtbegin.c + $(crt_compile) -fno-omit-frame-pointer -c \ + $(gcc_srcdir)/config/i386/cygming-crtbegin.c + +# We intentionally use a implementation-reserved init priority of 0, +# so allow the warning. +crtend.o: $(gcc_srcdir)/config/i386/cygming-crtend.c + $(crt_compile) -fno-omit-frame-pointer -Wno-error -c \ + $(gcc_srcdir)/config/i386/cygming-crtend.c +CUSTOM_CRTSTUFF = yes + +crtbegin.o: $(gcc_srcdir)/config/i386/cygming-crtbegin.c + $(crt_compile) -fno-omit-frame-pointer -c \ + $(gcc_srcdir)/config/i386/cygming-crtbegin.c + +# We intentionally use a implementation-reserved init priority of 0, +# so allow the warning. +crtend.o: $(gcc_srcdir)/config/i386/cygming-crtend.c + $(crt_compile) -fno-omit-frame-pointer -Wno-error -c \ + $(gcc_srcdir)/config/i386/cygming-crtend.c +CUSTOM_CRTSTUFF = yes + +crtbegin.o: $(gcc_srcdir)/config/i386/cygming-crtbegin.c + $(crt_compile) -fno-omit-frame-pointer -c \ + $(gcc_srcdir)/config/i386/cygming-crtbegin.c + +# We intentionally use a implementation-reserved init priority of 0, +# so allow the warning. +crtend.o: $(gcc_srcdir)/config/i386/cygming-crtend.c + $(crt_compile) -fno-omit-frame-pointer -Wno-error -c \ + $(gcc_srcdir)/config/i386/cygming-crtend.c +CUSTOM_CRTSTUFF = yes + +crtbegin.o: $(gcc_srcdir)/config/i386/cygming-crtbegin.c + $(crt_compile) -fno-omit-frame-pointer -c \ + $(gcc_srcdir)/config/i386/cygming-crtbegin.c + +# We intentionally use a implementation-reserved init priority of 0, +# so allow the warning. +crtend.o: $(gcc_srcdir)/config/i386/cygming-crtend.c + $(crt_compile) -fno-omit-frame-pointer -Wno-error -c \ + $(gcc_srcdir)/config/i386/cygming-crtend.c This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-19 14:32:15
|
Revision: 1305 http://cegcc.svn.sourceforge.net/cegcc/?rev=1305&view=rev Author: dannybackx Date: 2009-05-19 14:32:10 +0000 (Tue, 19 May 2009) Log Message: ----------- Next Added Paths: ----------- trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/ trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/float.h trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/iso646.h trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/stdarg.h trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/stdbool.h trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/stddef.h trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/stdfix.h trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/tgmath.h trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/varargs.h Added: trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/float.h =================================================================== --- trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/float.h (rev 0) +++ trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/float.h 2009-05-19 14:32:10 UTC (rev 1305) @@ -0,0 +1,238 @@ +/* Copyright (C) 2002, 2007, 2008, 2009 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +<http://www.gnu.org/licenses/>. */ + +/* + * ISO C Standard: 5.2.4.2.2 Characteristics of floating types <float.h> + */ + +#ifndef _FLOAT_H___ +#define _FLOAT_H___ + +/* Radix of exponent representation, b. */ +#undef FLT_RADIX +#define FLT_RADIX __FLT_RADIX__ + +/* Number of base-FLT_RADIX digits in the significand, p. */ +#undef FLT_MANT_DIG +#undef DBL_MANT_DIG +#undef LDBL_MANT_DIG +#define FLT_MANT_DIG __FLT_MANT_DIG__ +#define DBL_MANT_DIG __DBL_MANT_DIG__ +#define LDBL_MANT_DIG __LDBL_MANT_DIG__ + +/* Number of decimal digits, q, such that any floating-point number with q + decimal digits can be rounded into a floating-point number with p radix b + digits and back again without change to the q decimal digits, + + p * log10(b) if b is a power of 10 + floor((p - 1) * log10(b)) otherwise +*/ +#undef FLT_DIG +#undef DBL_DIG +#undef LDBL_DIG +#define FLT_DIG __FLT_DIG__ +#define DBL_DIG __DBL_DIG__ +#define LDBL_DIG __LDBL_DIG__ + +/* Minimum int x such that FLT_RADIX**(x-1) is a normalized float, emin */ +#undef FLT_MIN_EXP +#undef DBL_MIN_EXP +#undef LDBL_MIN_EXP +#define FLT_MIN_EXP __FLT_MIN_EXP__ +#define DBL_MIN_EXP __DBL_MIN_EXP__ +#define LDBL_MIN_EXP __LDBL_MIN_EXP__ + +/* Minimum negative integer such that 10 raised to that power is in the + range of normalized floating-point numbers, + + ceil(log10(b) * (emin - 1)) +*/ +#undef FLT_MIN_10_EXP +#undef DBL_MIN_10_EXP +#undef LDBL_MIN_10_EXP +#define FLT_MIN_10_EXP __FLT_MIN_10_EXP__ +#define DBL_MIN_10_EXP __DBL_MIN_10_EXP__ +#define LDBL_MIN_10_EXP __LDBL_MIN_10_EXP__ + +/* Maximum int x such that FLT_RADIX**(x-1) is a representable float, emax. */ +#undef FLT_MAX_EXP +#undef DBL_MAX_EXP +#undef LDBL_MAX_EXP +#define FLT_MAX_EXP __FLT_MAX_EXP__ +#define DBL_MAX_EXP __DBL_MAX_EXP__ +#define LDBL_MAX_EXP __LDBL_MAX_EXP__ + +/* Maximum integer such that 10 raised to that power is in the range of + representable finite floating-point numbers, + + floor(log10((1 - b**-p) * b**emax)) +*/ +#undef FLT_MAX_10_EXP +#undef DBL_MAX_10_EXP +#undef LDBL_MAX_10_EXP +#define FLT_MAX_10_EXP __FLT_MAX_10_EXP__ +#define DBL_MAX_10_EXP __DBL_MAX_10_EXP__ +#define LDBL_MAX_10_EXP __LDBL_MAX_10_EXP__ + +/* Maximum representable finite floating-point number, + + (1 - b**-p) * b**emax +*/ +#undef FLT_MAX +#undef DBL_MAX +#undef LDBL_MAX +#define FLT_MAX __FLT_MAX__ +#define DBL_MAX __DBL_MAX__ +#define LDBL_MAX __LDBL_MAX__ + +/* The difference between 1 and the least value greater than 1 that is + representable in the given floating point type, b**1-p. */ +#undef FLT_EPSILON +#undef DBL_EPSILON +#undef LDBL_EPSILON +#define FLT_EPSILON __FLT_EPSILON__ +#define DBL_EPSILON __DBL_EPSILON__ +#define LDBL_EPSILON __LDBL_EPSILON__ + +/* Minimum normalized positive floating-point number, b**(emin - 1). */ +#undef FLT_MIN +#undef DBL_MIN +#undef LDBL_MIN +#define FLT_MIN __FLT_MIN__ +#define DBL_MIN __DBL_MIN__ +#define LDBL_MIN __LDBL_MIN__ + +/* Addition rounds to 0: zero, 1: nearest, 2: +inf, 3: -inf, -1: unknown. */ +/* ??? This is supposed to change with calls to fesetround in <fenv.h>. */ +#undef FLT_ROUNDS +#define FLT_ROUNDS 1 + +#if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L +/* The floating-point expression evaluation method. + -1 indeterminate + 0 evaluate all operations and constants just to the range and + precision of the type + 1 evaluate operations and constants of type float and double + to the range and precision of the double type, evaluate + long double operations and constants to the range and + precision of the long double type + 2 evaluate all operations and constants to the range and + precision of the long double type + + ??? This ought to change with the setting of the fp control word; + the value provided by the compiler assumes the widest setting. */ +#undef FLT_EVAL_METHOD +#define FLT_EVAL_METHOD __FLT_EVAL_METHOD__ + +/* Number of decimal digits, n, such that any floating-point number in the + widest supported floating type with pmax radix b digits can be rounded + to a floating-point number with n decimal digits and back again without + change to the value, + + pmax * log10(b) if b is a power of 10 + ceil(1 + pmax * log10(b)) otherwise +*/ +#undef DECIMAL_DIG +#define DECIMAL_DIG __DECIMAL_DIG__ + +#endif /* C99 */ + +#ifdef __STDC_WANT_DEC_FP__ +/* Draft Technical Report 24732, extension for decimal floating-point + arithmetic: Characteristic of decimal floating types <float.h>. */ + +/* Number of base-FLT_RADIX digits in the significand, p. */ +#undef DEC32_MANT_DIG +#undef DEC64_MANT_DIG +#undef DEC128_MANT_DIG +#define DEC32_MANT_DIG __DEC32_MANT_DIG__ +#define DEC64_MANT_DIG __DEC64_MANT_DIG__ +#define DEC128_MANT_DIG __DEC128_MANT_DIG__ + +/* Minimum exponent. */ +#undef DEC32_MIN_EXP +#undef DEC64_MIN_EXP +#undef DEC128_MIN_EXP +#define DEC32_MIN_EXP __DEC32_MIN_EXP__ +#define DEC64_MIN_EXP __DEC64_MIN_EXP__ +#define DEC128_MIN_EXP __DEC128_MIN_EXP__ + +/* Maximum exponent. */ +#undef DEC32_MAX_EXP +#undef DEC64_MAX_EXP +#undef DEC128_MAX_EXP +#define DEC32_MAX_EXP __DEC32_MAX_EXP__ +#define DEC64_MAX_EXP __DEC64_MAX_EXP__ +#define DEC128_MAX_EXP __DEC128_MAX_EXP__ + +/* Maximum representable finite decimal floating-point number + (there are 6, 15, and 33 9s after the decimal points respectively). */ +#undef DEC32_MAX +#undef DEC64_MAX +#undef DEC128_MAX +#define DEC32_MAX __DEC32_MAX__ +#define DEC64_MAX __DEC64_MAX__ +#define DEC128_MAX __DEC128_MAX__ + +/* The difference between 1 and the least value greater than 1 that is + representable in the given floating point type. */ +#undef DEC32_EPSILON +#undef DEC64_EPSILON +#undef DEC128_EPSILON +#define DEC32_EPSILON __DEC32_EPSILON__ +#define DEC64_EPSILON __DEC64_EPSILON__ +#define DEC128_EPSILON __DEC128_EPSILON__ + +/* Minimum normalized positive floating-point number. */ +#undef DEC32_MIN +#undef DEC64_MIN +#undef DEC128_MIN +#define DEC32_MIN __DEC32_MIN__ +#define DEC64_MIN __DEC64_MIN__ +#define DEC128_MIN __DEC128_MIN__ + +/* Minimum subnormal positive floating-point number. */ +#undef DEC32_SUBNORMAL_MIN +#undef DEC64_SUBNORMAL_MIN +#undef DEC128_SUBNORMAL_MIN +#define DEC32_SUBNORMAL_MIN __DEC32_SUBNORMAL_MIN__ +#define DEC64_SUBNORMAL_MIN __DEC64_SUBNORMAL_MIN__ +#define DEC128_SUBNORMAL_MIN __DEC128_SUBNORMAL_MIN__ + +/* The floating-point expression evaluation method. + -1 indeterminate + 0 evaluate all operations and constants just to the range and + precision of the type + 1 evaluate operations and constants of type _Decimal32 + and _Decimal64 to the range and precision of the _Decimal64 + type, evaluate _Decimal128 operations and constants to the + range and precision of the _Decimal128 type; + 2 evaluate all operations and constants to the range and + precision of the _Decimal128 type. */ + +#undef DEC_EVAL_METHOD +#define DEC_EVAL_METHOD __DEC_EVAL_METHOD__ + +#endif /* __STDC_WANT_DEC_FP__ */ + +#endif /* _FLOAT_H___ */ Property changes on: trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/float.h ___________________________________________________________________ Added: svn:eol-style + native Added: trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/iso646.h =================================================================== --- trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/iso646.h (rev 0) +++ trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/iso646.h 2009-05-19 14:32:10 UTC (rev 1305) @@ -0,0 +1,45 @@ +/* Copyright (C) 1997, 1999, 2009 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +<http://www.gnu.org/licenses/>. */ + +/* + * ISO C Standard: 7.9 Alternative spellings <iso646.h> + */ + +#ifndef _ISO646_H +#define _ISO646_H + +#ifndef __cplusplus +#define and && +#define and_eq &= +#define bitand & +#define bitor | +#define compl ~ +#define not ! +#define not_eq != +#define or || +#define or_eq |= +#define xor ^ +#define xor_eq ^= +#endif + +#endif Property changes on: trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/iso646.h ___________________________________________________________________ Added: svn:eol-style + native Added: trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/stdarg.h =================================================================== --- trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/stdarg.h (rev 0) +++ trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/stdarg.h 2009-05-19 14:32:10 UTC (rev 1305) @@ -0,0 +1,130 @@ +/* Copyright (C) 1989, 1997, 1998, 1999, 2000, 2009 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +<http://www.gnu.org/licenses/>. */ + +/* + * ISO C Standard: 7.15 Variable arguments <stdarg.h> + */ + +#ifndef _STDARG_H +#ifndef _ANSI_STDARG_H_ +#ifndef __need___va_list +#define _STDARG_H +#define _ANSI_STDARG_H_ +#endif /* not __need___va_list */ +#undef __need___va_list + +/* Define __gnuc_va_list. */ + +#ifndef __GNUC_VA_LIST +#define __GNUC_VA_LIST +typedef __builtin_va_list __gnuc_va_list; +#endif + +/* Define the standard macros for the user, + if this invocation was from the user program. */ +#ifdef _STDARG_H + +#define va_start(v,l) __builtin_va_start(v,l) +#define va_end(v) __builtin_va_end(v) +#define va_arg(v,l) __builtin_va_arg(v,l) +#if !defined(__STRICT_ANSI__) || __STDC_VERSION__ + 0 >= 199900L || defined(__GXX_EXPERIMENTAL_CXX0X__) +#define va_copy(d,s) __builtin_va_copy(d,s) +#endif +#define __va_copy(d,s) __builtin_va_copy(d,s) + +/* Define va_list, if desired, from __gnuc_va_list. */ +/* We deliberately do not define va_list when called from + stdio.h, because ANSI C says that stdio.h is not supposed to define + va_list. stdio.h needs to have access to that data type, + but must not use that name. It should use the name __gnuc_va_list, + which is safe because it is reserved for the implementation. */ + +#ifdef _HIDDEN_VA_LIST /* On OSF1, this means varargs.h is "half-loaded". */ +#undef _VA_LIST +#endif + +#ifdef _BSD_VA_LIST +#undef _BSD_VA_LIST +#endif + +#if defined(__svr4__) || (defined(_SCO_DS) && !defined(__VA_LIST)) +/* SVR4.2 uses _VA_LIST for an internal alias for va_list, + so we must avoid testing it and setting it here. + SVR4 uses _VA_LIST as a flag in stdarg.h, but we should + have no conflict with that. */ +#ifndef _VA_LIST_ +#define _VA_LIST_ +#ifdef __i860__ +#ifndef _VA_LIST +#define _VA_LIST va_list +#endif +#endif /* __i860__ */ +typedef __gnuc_va_list va_list; +#ifdef _SCO_DS +#define __VA_LIST +#endif +#endif /* _VA_LIST_ */ +#else /* not __svr4__ || _SCO_DS */ + +/* The macro _VA_LIST_ is the same thing used by this file in Ultrix. + But on BSD NET2 we must not test or define or undef it. + (Note that the comments in NET 2's ansi.h + are incorrect for _VA_LIST_--see stdio.h!) */ +#if !defined (_VA_LIST_) || defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__sequent__) || defined (__FreeBSD__) || defined(WINNT) +/* The macro _VA_LIST_DEFINED is used in Windows NT 3.5 */ +#ifndef _VA_LIST_DEFINED +/* The macro _VA_LIST is used in SCO Unix 3.2. */ +#ifndef _VA_LIST +/* The macro _VA_LIST_T_H is used in the Bull dpx2 */ +#ifndef _VA_LIST_T_H +/* The macro __va_list__ is used by BeOS. */ +#ifndef __va_list__ +typedef __gnuc_va_list va_list; +#endif /* not __va_list__ */ +#endif /* not _VA_LIST_T_H */ +#endif /* not _VA_LIST */ +#endif /* not _VA_LIST_DEFINED */ +#if !(defined (__BSD_NET2__) || defined (____386BSD____) || defined (__bsdi__) || defined (__sequent__) || defined (__FreeBSD__)) +#define _VA_LIST_ +#endif +#ifndef _VA_LIST +#define _VA_LIST +#endif +#ifndef _VA_LIST_DEFINED +#define _VA_LIST_DEFINED +#endif +#ifndef _VA_LIST_T_H +#define _VA_LIST_T_H +#endif +#ifndef __va_list__ +#define __va_list__ +#endif + +#endif /* not _VA_LIST_, except on certain systems */ + +#endif /* not __svr4__ */ + +#endif /* _STDARG_H */ + +#endif /* not _ANSI_STDARG_H_ */ +#endif /* not _STDARG_H */ Property changes on: trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/stdarg.h ___________________________________________________________________ Added: svn:eol-style + native Added: trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/stdbool.h =================================================================== --- trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/stdbool.h (rev 0) +++ trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/stdbool.h 2009-05-19 14:32:10 UTC (rev 1305) @@ -0,0 +1,50 @@ +/* Copyright (C) 1998, 1999, 2000, 2009 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +<http://www.gnu.org/licenses/>. */ + +/* + * ISO C Standard: 7.16 Boolean type and values <stdbool.h> + */ + +#ifndef _STDBOOL_H +#define _STDBOOL_H + +#ifndef __cplusplus + +#define bool _Bool +#define true 1 +#define false 0 + +#else /* __cplusplus */ + +/* Supporting <stdbool.h> in C++ is a GCC extension. */ +#define _Bool bool +#define bool bool +#define false false +#define true true + +#endif /* __cplusplus */ + +/* Signal that all the definitions are present. */ +#define __bool_true_false_are_defined 1 + +#endif /* stdbool.h */ Property changes on: trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/stdbool.h ___________________________________________________________________ Added: svn:eol-style + native Added: trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/stddef.h =================================================================== --- trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/stddef.h (rev 0) +++ trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/stddef.h 2009-05-19 14:32:10 UTC (rev 1305) @@ -0,0 +1,416 @@ +/* Copyright (C) 1989, 1997, 1998, 1999, 2000, 2002, 2004, 2009 + Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +<http://www.gnu.org/licenses/>. */ + +/* + * ISO C Standard: 7.17 Common definitions <stddef.h> + */ +#if (!defined(_STDDEF_H) && !defined(_STDDEF_H_) && !defined(_ANSI_STDDEF_H) \ + && !defined(__STDDEF_H__)) \ + || defined(__need_wchar_t) || defined(__need_size_t) \ + || defined(__need_ptrdiff_t) || defined(__need_NULL) \ + || defined(__need_wint_t) + +/* Any one of these symbols __need_* means that GNU libc + wants us just to define one data type. So don't define + the symbols that indicate this file's entire job has been done. */ +#if (!defined(__need_wchar_t) && !defined(__need_size_t) \ + && !defined(__need_ptrdiff_t) && !defined(__need_NULL) \ + && !defined(__need_wint_t)) +#define _STDDEF_H +#define _STDDEF_H_ +/* sn...@ne... says the NeXT needs this. */ +#define _ANSI_STDDEF_H +/* Irix 5.1 needs this. */ +#define __STDDEF_H__ +#endif + +#ifndef __sys_stdtypes_h +/* This avoids lossage on SunOS but only if stdtypes.h comes first. + There's no way to win with the other order! Sun lossage. */ + +/* On 4.3bsd-net2, make sure ansi.h is included, so we have + one less case to deal with in the following. */ +#if defined (__BSD_NET2__) || defined (____386BSD____) || (defined (__FreeBSD__) && (__FreeBSD__ < 5)) || defined(__NetBSD__) +#include <machine/ansi.h> +#endif +/* On FreeBSD 5, machine/ansi.h does not exist anymore... */ +#if defined (__FreeBSD__) && (__FreeBSD__ >= 5) +#include <sys/_types.h> +#endif + +/* In 4.3bsd-net2, machine/ansi.h defines these symbols, which are + defined if the corresponding type is *not* defined. + FreeBSD-2.1 defines _MACHINE_ANSI_H_ instead of _ANSI_H_ */ +#if defined(_ANSI_H_) || defined(_MACHINE_ANSI_H_) +#if !defined(_SIZE_T_) && !defined(_BSD_SIZE_T_) +#define _SIZE_T +#endif +#if !defined(_PTRDIFF_T_) && !defined(_BSD_PTRDIFF_T_) +#define _PTRDIFF_T +#endif +/* On BSD/386 1.1, at least, machine/ansi.h defines _BSD_WCHAR_T_ + instead of _WCHAR_T_. */ +#if !defined(_WCHAR_T_) && !defined(_BSD_WCHAR_T_) +#ifndef _BSD_WCHAR_T_ +#define _WCHAR_T +#endif +#endif +/* Undef _FOO_T_ if we are supposed to define foo_t. */ +#if defined (__need_ptrdiff_t) || defined (_STDDEF_H_) +#undef _PTRDIFF_T_ +#undef _BSD_PTRDIFF_T_ +#endif +#if defined (__need_size_t) || defined (_STDDEF_H_) +#undef _SIZE_T_ +#undef _BSD_SIZE_T_ +#endif +#if defined (__need_wchar_t) || defined (_STDDEF_H_) +#undef _WCHAR_T_ +#undef _BSD_WCHAR_T_ +#endif +#endif /* defined(_ANSI_H_) || defined(_MACHINE_ANSI_H_) */ + +/* Sequent's header files use _PTRDIFF_T_ in some conflicting way. + Just ignore it. */ +#if defined (__sequent__) && defined (_PTRDIFF_T_) +#undef _PTRDIFF_T_ +#endif + +/* On VxWorks, <type/vxTypesBase.h> may have defined macros like + _TYPE_size_t which will typedef size_t. fixincludes patched the + vxTypesBase.h so that this macro is only defined if _GCC_SIZE_T is + not defined, and so that defining this macro defines _GCC_SIZE_T. + If we find that the macros are still defined at this point, we must + invoke them so that the type is defined as expected. */ +#if defined (_TYPE_ptrdiff_t) && (defined (__need_ptrdiff_t) || defined (_STDDEF_H_)) +_TYPE_ptrdiff_t; +#undef _TYPE_ptrdiff_t +#endif +#if defined (_TYPE_size_t) && (defined (__need_size_t) || defined (_STDDEF_H_)) +_TYPE_size_t; +#undef _TYPE_size_t +#endif +#if defined (_TYPE_wchar_t) && (defined (__need_wchar_t) || defined (_STDDEF_H_)) +_TYPE_wchar_t; +#undef _TYPE_wchar_t +#endif + +/* In case nobody has defined these types, but we aren't running under + GCC 2.00, make sure that __PTRDIFF_TYPE__, __SIZE_TYPE__, and + __WCHAR_TYPE__ have reasonable values. This can happen if the + parts of GCC is compiled by an older compiler, that actually + include gstddef.h, such as collect2. */ + +/* Signed type of difference of two pointers. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +#if defined (_STDDEF_H) || defined (__need_ptrdiff_t) +#ifndef _PTRDIFF_T /* in case <sys/types.h> has defined it. */ +#ifndef _T_PTRDIFF_ +#ifndef _T_PTRDIFF +#ifndef __PTRDIFF_T +#ifndef _PTRDIFF_T_ +#ifndef _BSD_PTRDIFF_T_ +#ifndef ___int_ptrdiff_t_h +#ifndef _GCC_PTRDIFF_T +#define _PTRDIFF_T +#define _T_PTRDIFF_ +#define _T_PTRDIFF +#define __PTRDIFF_T +#define _PTRDIFF_T_ +#define _BSD_PTRDIFF_T_ +#define ___int_ptrdiff_t_h +#define _GCC_PTRDIFF_T +#ifndef __PTRDIFF_TYPE__ +#define __PTRDIFF_TYPE__ long int +#endif +typedef __PTRDIFF_TYPE__ ptrdiff_t; +#endif /* _GCC_PTRDIFF_T */ +#endif /* ___int_ptrdiff_t_h */ +#endif /* _BSD_PTRDIFF_T_ */ +#endif /* _PTRDIFF_T_ */ +#endif /* __PTRDIFF_T */ +#endif /* _T_PTRDIFF */ +#endif /* _T_PTRDIFF_ */ +#endif /* _PTRDIFF_T */ + +/* If this symbol has done its job, get rid of it. */ +#undef __need_ptrdiff_t + +#endif /* _STDDEF_H or __need_ptrdiff_t. */ + +/* Unsigned type of `sizeof' something. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +#if defined (_STDDEF_H) || defined (__need_size_t) +#ifndef __size_t__ /* BeOS */ +#ifndef __SIZE_T__ /* Cray Unicos/Mk */ +#ifndef _SIZE_T /* in case <sys/types.h> has defined it. */ +#ifndef _SYS_SIZE_T_H +#ifndef _T_SIZE_ +#ifndef _T_SIZE +#ifndef __SIZE_T +#ifndef _SIZE_T_ +#ifndef _BSD_SIZE_T_ +#ifndef _SIZE_T_DEFINED_ +#ifndef _SIZE_T_DEFINED +#ifndef _BSD_SIZE_T_DEFINED_ /* Darwin */ +#ifndef _SIZE_T_DECLARED /* FreeBSD 5 */ +#ifndef ___int_size_t_h +#ifndef _GCC_SIZE_T +#ifndef _SIZET_ +#ifndef __size_t +#define __size_t__ /* BeOS */ +#define __SIZE_T__ /* Cray Unicos/Mk */ +#define _SIZE_T +#define _SYS_SIZE_T_H +#define _T_SIZE_ +#define _T_SIZE +#define __SIZE_T +#define _SIZE_T_ +#define _BSD_SIZE_T_ +#define _SIZE_T_DEFINED_ +#define _SIZE_T_DEFINED +#define _BSD_SIZE_T_DEFINED_ /* Darwin */ +#define _SIZE_T_DECLARED /* FreeBSD 5 */ +#define ___int_size_t_h +#define _GCC_SIZE_T +#define _SIZET_ +#if defined (__FreeBSD__) && (__FreeBSD__ >= 5) +/* __size_t is a typedef on FreeBSD 5!, must not trash it. */ +#else +#define __size_t +#endif +#ifndef __SIZE_TYPE__ +#define __SIZE_TYPE__ long unsigned int +#endif +#if !(defined (__GNUG__) && defined (size_t)) +typedef __SIZE_TYPE__ size_t; +#ifdef __BEOS__ +typedef long ssize_t; +#endif /* __BEOS__ */ +#endif /* !(defined (__GNUG__) && defined (size_t)) */ +#endif /* __size_t */ +#endif /* _SIZET_ */ +#endif /* _GCC_SIZE_T */ +#endif /* ___int_size_t_h */ +#endif /* _SIZE_T_DECLARED */ +#endif /* _BSD_SIZE_T_DEFINED_ */ +#endif /* _SIZE_T_DEFINED */ +#endif /* _SIZE_T_DEFINED_ */ +#endif /* _BSD_SIZE_T_ */ +#endif /* _SIZE_T_ */ +#endif /* __SIZE_T */ +#endif /* _T_SIZE */ +#endif /* _T_SIZE_ */ +#endif /* _SYS_SIZE_T_H */ +#endif /* _SIZE_T */ +#endif /* __SIZE_T__ */ +#endif /* __size_t__ */ +#undef __need_size_t +#endif /* _STDDEF_H or __need_size_t. */ + + +/* Wide character type. + Locale-writers should change this as necessary to + be big enough to hold unique values not between 0 and 127, + and not (wchar_t) -1, for each defined multibyte character. */ + +/* Define this type if we are doing the whole job, + or if we want this type in particular. */ +#if defined (_STDDEF_H) || defined (__need_wchar_t) +#ifndef __wchar_t__ /* BeOS */ +#ifndef __WCHAR_T__ /* Cray Unicos/Mk */ +#ifndef _WCHAR_T +#ifndef _T_WCHAR_ +#ifndef _T_WCHAR +#ifndef __WCHAR_T +#ifndef _WCHAR_T_ +#ifndef _BSD_WCHAR_T_ +#ifndef _BSD_WCHAR_T_DEFINED_ /* Darwin */ +#ifndef _BSD_RUNE_T_DEFINED_ /* Darwin */ +#ifndef _WCHAR_T_DECLARED /* FreeBSD 5 */ +#ifndef _WCHAR_T_DEFINED_ +#ifndef _WCHAR_T_DEFINED +#ifndef _WCHAR_T_H +#ifndef ___int_wchar_t_h +#ifndef __INT_WCHAR_T_H +#ifndef _GCC_WCHAR_T +#define __wchar_t__ /* BeOS */ +#define __WCHAR_T__ /* Cray Unicos/Mk */ +#define _WCHAR_T +#define _T_WCHAR_ +#define _T_WCHAR +#define __WCHAR_T +#define _WCHAR_T_ +#define _BSD_WCHAR_T_ +#define _WCHAR_T_DEFINED_ +#define _WCHAR_T_DEFINED +#define _WCHAR_T_H +#define ___int_wchar_t_h +#define __INT_WCHAR_T_H +#define _GCC_WCHAR_T +#define _WCHAR_T_DECLARED + +/* On BSD/386 1.1, at least, machine/ansi.h defines _BSD_WCHAR_T_ + instead of _WCHAR_T_, and _BSD_RUNE_T_ (which, unlike the other + symbols in the _FOO_T_ family, stays defined even after its + corresponding type is defined). If we define wchar_t, then we + must undef _WCHAR_T_; for BSD/386 1.1 (and perhaps others), if + we undef _WCHAR_T_, then we must also define rune_t, since + headers like runetype.h assume that if machine/ansi.h is included, + and _BSD_WCHAR_T_ is not defined, then rune_t is available. + machine/ansi.h says, "Note that _WCHAR_T_ and _RUNE_T_ must be of + the same type." */ +#ifdef _BSD_WCHAR_T_ +#undef _BSD_WCHAR_T_ +#ifdef _BSD_RUNE_T_ +#if !defined (_ANSI_SOURCE) && !defined (_POSIX_SOURCE) +typedef _BSD_RUNE_T_ rune_t; +#define _BSD_WCHAR_T_DEFINED_ +#define _BSD_RUNE_T_DEFINED_ /* Darwin */ +#if defined (__FreeBSD__) && (__FreeBSD__ < 5) +/* Why is this file so hard to maintain properly? In contrast to + the comment above regarding BSD/386 1.1, on FreeBSD for as long + as the symbol has existed, _BSD_RUNE_T_ must not stay defined or + redundant typedefs will occur when stdlib.h is included after this file. */ +#undef _BSD_RUNE_T_ +#endif +#endif +#endif +#endif +/* FreeBSD 5 can't be handled well using "traditional" logic above + since it no longer defines _BSD_RUNE_T_ yet still desires to export + rune_t in some cases... */ +#if defined (__FreeBSD__) && (__FreeBSD__ >= 5) +#if !defined (_ANSI_SOURCE) && !defined (_POSIX_SOURCE) +#if __BSD_VISIBLE +#ifndef _RUNE_T_DECLARED +typedef __rune_t rune_t; +#define _RUNE_T_DECLARED +#endif +#endif +#endif +#endif + +#ifndef __WCHAR_TYPE__ +#define __WCHAR_TYPE__ int +#endif +#ifndef __cplusplus +typedef __WCHAR_TYPE__ wchar_t; +#endif +#endif +#endif +#endif +#endif +#endif +#endif +#endif /* _WCHAR_T_DECLARED */ +#endif /* _BSD_RUNE_T_DEFINED_ */ +#endif +#endif +#endif +#endif +#endif +#endif +#endif +#endif /* __WCHAR_T__ */ +#endif /* __wchar_t__ */ +#undef __need_wchar_t +#endif /* _STDDEF_H or __need_wchar_t. */ + +#if defined (__need_wint_t) +#ifndef _WINT_T +#define _WINT_T + +#ifndef __WINT_TYPE__ +#define __WINT_TYPE__ unsigned int +#endif +typedef __WINT_TYPE__ wint_t; +#endif +#undef __need_wint_t +#endif + +/* In 4.3bsd-net2, leave these undefined to indicate that size_t, etc. + are already defined. */ +/* BSD/OS 3.1 and FreeBSD [23].x require the MACHINE_ANSI_H check here. */ +#if defined(_ANSI_H_) || defined(_MACHINE_ANSI_H_) +/* The references to _GCC_PTRDIFF_T_, _GCC_SIZE_T_, and _GCC_WCHAR_T_ + are probably typos and should be removed before 2.8 is released. */ +#ifdef _GCC_PTRDIFF_T_ +#undef _PTRDIFF_T_ +#undef _BSD_PTRDIFF_T_ +#endif +#ifdef _GCC_SIZE_T_ +#undef _SIZE_T_ +#undef _BSD_SIZE_T_ +#endif +#ifdef _GCC_WCHAR_T_ +#undef _WCHAR_T_ +#undef _BSD_WCHAR_T_ +#endif +/* The following ones are the real ones. */ +#ifdef _GCC_PTRDIFF_T +#undef _PTRDIFF_T_ +#undef _BSD_PTRDIFF_T_ +#endif +#ifdef _GCC_SIZE_T +#undef _SIZE_T_ +#undef _BSD_SIZE_T_ +#endif +#ifdef _GCC_WCHAR_T +#undef _WCHAR_T_ +#undef _BSD_WCHAR_T_ +#endif +#endif /* _ANSI_H_ || _MACHINE_ANSI_H_ */ + +#endif /* __sys_stdtypes_h */ + +/* A null pointer constant. */ + +#if defined (_STDDEF_H) || defined (__need_NULL) +#undef NULL /* in case <stdio.h> has defined it. */ +#ifdef __GNUG__ +#define NULL __null +#else /* G++ */ +#ifndef __cplusplus +#define NULL ((void *)0) +#else /* C++ */ +#define NULL 0 +#endif /* C++ */ +#endif /* G++ */ +#endif /* NULL not defined and <stddef.h> or need NULL. */ +#undef __need_NULL + +#ifdef _STDDEF_H + +/* Offset of member MEMBER in a struct of type TYPE. */ +#define offsetof(TYPE, MEMBER) __builtin_offsetof (TYPE, MEMBER) + +#endif /* _STDDEF_H was defined this time */ + +#endif /* !_STDDEF_H && !_STDDEF_H_ && !_ANSI_STDDEF_H && !__STDDEF_H__ + || __need_XXX was not defined before */ Property changes on: trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/stddef.h ___________________________________________________________________ Added: svn:eol-style + native Added: trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/stdfix.h =================================================================== --- trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/stdfix.h (rev 0) +++ trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/stdfix.h 2009-05-19 14:32:10 UTC (rev 1305) @@ -0,0 +1,204 @@ +/* Copyright (C) 2007, 2009 Free Software Foundation, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +<http://www.gnu.org/licenses/>. */ + +/* ISO/IEC JTC1 SC22 WG14 N1169 + * Date: 2006-04-04 + * ISO/IEC TR 18037 + * Programming languages - C - Extensions to support embedded processors + */ + +#ifndef _STDFIX_H +#define _STDFIX_H + +/* 7.18a.1 Introduction. */ + +#undef fract +#undef accum +#undef sat +#define fract _Fract +#define accum _Accum +#define sat _Sat + +/* 7.18a.3 Precision macros. */ + +#undef SFRACT_FBIT +#undef SFRACT_MIN +#undef SFRACT_MAX +#undef SFRACT_EPSILON +#define SFRACT_FBIT __SFRACT_FBIT__ +#define SFRACT_MIN __SFRACT_MIN__ +#define SFRACT_MAX __SFRACT_MAX__ +#define SFRACT_EPSILON __SFRACT_EPSILON__ + +#undef USFRACT_FBIT +#undef USFRACT_MIN +#undef USFRACT_MAX +#undef USFRACT_EPSILON +#define USFRACT_FBIT __USFRACT_FBIT__ +#define USFRACT_MIN __USFRACT_MIN__ /* GCC extension. */ +#define USFRACT_MAX __USFRACT_MAX__ +#define USFRACT_EPSILON __USFRACT_EPSILON__ + +#undef FRACT_FBIT +#undef FRACT_MIN +#undef FRACT_MAX +#undef FRACT_EPSILON +#define FRACT_FBIT __FRACT_FBIT__ +#define FRACT_MIN __FRACT_MIN__ +#define FRACT_MAX __FRACT_MAX__ +#define FRACT_EPSILON __FRACT_EPSILON__ + +#undef UFRACT_FBIT +#undef UFRACT_MIN +#undef UFRACT_MAX +#undef UFRACT_EPSILON +#define UFRACT_FBIT __UFRACT_FBIT__ +#define UFRACT_MIN __UFRACT_MIN__ /* GCC extension. */ +#define UFRACT_MAX __UFRACT_MAX__ +#define UFRACT_EPSILON __UFRACT_EPSILON__ + +#undef LFRACT_FBIT +#undef LFRACT_MIN +#undef LFRACT_MAX +#undef LFRACT_EPSILON +#define LFRACT_FBIT __LFRACT_FBIT__ +#define LFRACT_MIN __LFRACT_MIN__ +#define LFRACT_MAX __LFRACT_MAX__ +#define LFRACT_EPSILON __LFRACT_EPSILON__ + +#undef ULFRACT_FBIT +#undef ULFRACT_MIN +#undef ULFRACT_MAX +#undef ULFRACT_EPSILON +#define ULFRACT_FBIT __ULFRACT_FBIT__ +#define ULFRACT_MIN __ULFRACT_MIN__ /* GCC extension. */ +#define ULFRACT_MAX __ULFRACT_MAX__ +#define ULFRACT_EPSILON __ULFRACT_EPSILON__ + +#undef LLFRACT_FBIT +#undef LLFRACT_MIN +#undef LLFRACT_MAX +#undef LLFRACT_EPSILON +#define LLFRACT_FBIT __LLFRACT_FBIT__ /* GCC extension. */ +#define LLFRACT_MIN __LLFRACT_MIN__ /* GCC extension. */ +#define LLFRACT_MAX __LLFRACT_MAX__ /* GCC extension. */ +#define LLFRACT_EPSILON __LLFRACT_EPSILON__ /* GCC extension. */ + +#undef ULLFRACT_FBIT +#undef ULLFRACT_MIN +#undef ULLFRACT_MAX +#undef ULLFRACT_EPSILON +#define ULLFRACT_FBIT __ULLFRACT_FBIT__ /* GCC extension. */ +#define ULLFRACT_MIN __ULLFRACT_MIN__ /* GCC extension. */ +#define ULLFRACT_MAX __ULLFRACT_MAX__ /* GCC extension. */ +#define ULLFRACT_EPSILON __ULLFRACT_EPSILON__ /* GCC extension. */ + +#undef SACCUM_FBIT +#undef SACCUM_IBIT +#undef SACCUM_MIN +#undef SACCUM_MAX +#undef SACCUM_EPSILON +#define SACCUM_FBIT __SACCUM_FBIT__ +#define SACCUM_IBIT __SACCUM_IBIT__ +#define SACCUM_MIN __SACCUM_MIN__ +#define SACCUM_MAX __SACCUM_MAX__ +#define SACCUM_EPSILON __SACCUM_EPSILON__ + +#undef USACCUM_FBIT +#undef USACCUM_IBIT +#undef USACCUM_MIN +#undef USACCUM_MAX +#undef USACCUM_EPSILON +#define USACCUM_FBIT __USACCUM_FBIT__ +#define USACCUM_IBIT __USACCUM_IBIT__ +#define USACCUM_MIN __USACCUM_MIN__ /* GCC extension. */ +#define USACCUM_MAX __USACCUM_MAX__ +#define USACCUM_EPSILON __USACCUM_EPSILON__ + +#undef ACCUM_FBIT +#undef ACCUM_IBIT +#undef ACCUM_MIN +#undef ACCUM_MAX +#undef ACCUM_EPSILON +#define ACCUM_FBIT __ACCUM_FBIT__ +#define ACCUM_IBIT __ACCUM_IBIT__ +#define ACCUM_MIN __ACCUM_MIN__ +#define ACCUM_MAX __ACCUM_MAX__ +#define ACCUM_EPSILON __ACCUM_EPSILON__ + +#undef UACCUM_FBIT +#undef UACCUM_IBIT +#undef UACCUM_MIN +#undef UACCUM_MAX +#undef UACCUM_EPSILON +#define UACCUM_FBIT __UACCUM_FBIT__ +#define UACCUM_IBIT __UACCUM_IBIT__ +#define UACCUM_MIN __UACCUM_MIN__ /* GCC extension. */ +#define UACCUM_MAX __UACCUM_MAX__ +#define UACCUM_EPSILON __UACCUM_EPSILON__ + +#undef LACCUM_FBIT +#undef LACCUM_IBIT +#undef LACCUM_MIN +#undef LACCUM_MAX +#undef LACCUM_EPSILON +#define LACCUM_FBIT __LACCUM_FBIT__ +#define LACCUM_IBIT __LACCUM_IBIT__ +#define LACCUM_MIN __LACCUM_MIN__ +#define LACCUM_MAX __LACCUM_MAX__ +#define LACCUM_EPSILON __LACCUM_EPSILON__ + +#undef ULACCUM_FBIT +#undef ULACCUM_IBIT +#undef ULACCUM_MIN +#undef ULACCUM_MAX +#undef ULACCUM_EPSILON +#define ULACCUM_FBIT __ULACCUM_FBIT__ +#define ULACCUM_IBIT __ULACCUM_IBIT__ +#define ULACCUM_MIN __ULACCUM_MIN__ /* GCC extension. */ +#define ULACCUM_MAX __ULACCUM_MAX__ +#define ULACCUM_EPSILON __ULACCUM_EPSILON__ + +#undef LLACCUM_FBIT +#undef LLACCUM_IBIT +#undef LLACCUM_MIN +#undef LLACCUM_MAX +#undef LLACCUM_EPSILON +#define LLACCUM_FBIT __LLACCUM_FBIT__ /* GCC extension. */ +#define LLACCUM_IBIT __LLACCUM_IBIT__ /* GCC extension. */ +#define LLACCUM_MIN __LLACCUM_MIN__ /* GCC extension. */ +#define LLACCUM_MAX __LLACCUM_MAX__ /* GCC extension. */ +#define LLACCUM_EPSILON __LLACCUM_EPSILON__ /* GCC extension. */ + +#undef ULLACCUM_FBIT +#undef ULLACCUM_IBIT +#undef ULLACCUM_MIN +#undef ULLACCUM_MAX +#undef ULLACCUM_EPSILON +#define ULLACCUM_FBIT __ULLACCUM_FBIT__ /* GCC extension. */ +#define ULLACCUM_IBIT __ULLACCUM_IBIT__ /* GCC extension. */ +#define ULLACCUM_MIN __ULLACCUM_MIN__ /* GCC extension. */ +#define ULLACCUM_MAX __ULLACCUM_MAX__ /* GCC extension. */ +#define ULLACCUM_EPSILON __ULLACCUM_EPSILON__ /* GCC extension. */ + +#endif /* _STDFIX_H */ Property changes on: trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/stdfix.h ___________________________________________________________________ Added: svn:eol-style + native Added: trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/tgmath.h =================================================================== --- trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/tgmath.h (rev 0) +++ trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/tgmath.h 2009-05-19 14:32:10 UTC (rev 1305) @@ -0,0 +1,171 @@ +/* Copyright (C) 2004, 2005, 2009 Free Software Foundation, Inc. + Contributed by Apple, Inc. + +This file is part of GCC. + +GCC is free software; you can redistribute it and/or modify +it under the terms of the GNU General Public License as published by +the Free Software Foundation; either version 3, or (at your option) +any later version. + +GCC is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the +GNU General Public License for more details. + +Under Section 7 of GPL version 3, you are granted additional +permissions described in the GCC Runtime Library Exception, version +3.1, as published by the Free Software Foundation. + +You should have received a copy of the GNU General Public License and +a copy of the GCC Runtime Library Exception along with this program; +see the files COPYING3 and COPYING.RUNTIME respectively. If not, see +<http://www.gnu.org/licenses/>. */ + +/* + * ISO C Standard: 7.22 Type-generic math <tgmath.h> + */ + +#ifndef _TGMATH_H +#define _TGMATH_H + +#include <math.h> + +#ifndef __cplusplus +#include <complex.h> + +/* Naming convention: generic macros are defining using + __TGMATH_CPLX*, __TGMATH_REAL*, and __TGMATH_CPLX_ONLY. _CPLX + means the generic argument(s) may be real or complex, _REAL means + real only, _CPLX means complex only. If there is no suffix, we are + defining a function of one generic argument. If the suffix is _n + it is a function of n generic arguments. If the suffix is _m_n it + is a function of n arguments, the first m of which are generic. We + only define these macros for values of n and/or m that are needed. */ + +/* The general rules for generic macros are given in 7.22 paragraphs 1 and 2. + If any generic parameter is complex, we use a complex version. Otherwise + we use a real version. If the real part of any generic parameter is long + double, we use the long double version. Otherwise if the real part of any + generic parameter is double or of integer type, we use the double version. + Otherwise we use the float version. */ + +#define __tg_cplx(expr) \ + __builtin_classify_type(expr) == 9 + +#define __tg_ldbl(expr) \ + __builtin_types_compatible_p(__typeof__(expr), long double) + +#define __tg_dbl(expr) \ + (__builtin_types_compatible_p(__typeof__(expr), double) \ + || __builtin_classify_type(expr) == 1) + +#define __tg_choose(x,f,d,l) \ + __builtin_choose_expr(__tg_ldbl(x), l, \ + __builtin_choose_expr(__tg_dbl(x), d, \ + f)) + +#define __tg_choose_2(x,y,f,d,l) \ + __builtin_choose_expr(__tg_ldbl(x) || __tg_ldbl(y), l, \ + __builtin_choose_expr(__tg_dbl(x) || __tg_dbl(y), d, \ + f)) + +#define __tg_choose_3(x,y,z,f,d,l) \ + __builtin_choose_expr(__tg_ldbl(x) || __tg_ldbl(y) || __tg_ldbl(z), l, \ + __builtin_choose_expr(__tg_dbl(x) || __tg_dbl(y) \ + || __tg_dbl(z), d, \ + f)) + +#define __TGMATH_CPLX(z,R,C) \ + __builtin_choose_expr (__tg_cplx(z), \ + __tg_choose (__real__(z), C##f(z), (C)(z), C##l(z)), \ + __tg_choose (z, R##f(z), (R)(z), R##l(z))) + +#define __TGMATH_CPLX_2(z1,z2,R,C) \ + __builtin_choose_expr (__tg_cplx(z1) || __tg_cplx(z2), \ + __tg_choose_2 (__real__(z1), __real__(z2), \ + C##f(z1,z2), (C)(z1,z2), C##l(z1,z2)), \ + __tg_choose_2 (z1, z2, \ + R##f(z1,z2), (R)(z1,z2), R##l(z1,z2))) + +#define __TGMATH_REAL(x,R) \ + __tg_choose (x, R##f(x), (R)(x), R##l(x)) +#define __TGMATH_REAL_2(x,y,R) \ + __tg_choose_2 (x, y, R##f(x,y), (R)(x,y), R##l(x,y)) +#define __TGMATH_REAL_3(x,y,z,R) \ + __tg_choose_3 (x, y, z, R##f(x,y,z), (R)(x,y,z), R##l(x,y,z)) +#define __TGMATH_REAL_1_2(x,y,R) \ + __tg_choose (x, R##f(x,y), (R)(x,y), R##l(x,y)) +#define __TGMATH_REAL_2_3(x,y,z,R) \ + __tg_choose_2 (x, y, R##f(x,y,z), (R)(x,y,z), R##l(x,y,z)) +#define __TGMATH_CPLX_ONLY(z,C) \ + __tg_choose (__real__(z), C##f(z), (C)(z), C##l(z)) + +/* Functions defined in both <math.h> and <complex.h> (7.22p4) */ +#define acos(z) __TGMATH_CPLX(z, acos, cacos) +#define asin(z) __TGMATH_CPLX(z, asin, casin) +#define atan(z) __TGMATH_CPLX(z, atan, catan) +#define acosh(z) __TGMATH_CPLX(z, acosh, cacosh) +#define asinh(z) __TGMATH_CPLX(z, asinh, casinh) +#define atanh(z) __TGMATH_CPLX(z, atanh, catanh) +#define cos(z) __TGMATH_CPLX(z, cos, ccos) +#define sin(z) __TGMATH_CPLX(z, sin, csin) +#define tan(z) __TGMATH_CPLX(z, tan, ctan) +#define cosh(z) __TGMATH_CPLX(z, cosh, ccosh) +#define sinh(z) __TGMATH_CPLX(z, sinh, csinh) +#define tanh(z) __TGMATH_CPLX(z, tanh, ctanh) +#define exp(z) __TGMATH_CPLX(z, exp, cexp) +#define log(z) __TGMATH_CPLX(z, log, clog) +#define pow(z1,z2) __TGMATH_CPLX_2(z1, z2, pow, cpow) +#define sqrt(z) __TGMATH_CPLX(z, sqrt, csqrt) +#define fabs(z) __TGMATH_CPLX(z, fabs, cabs) + +/* Functions defined in <math.h> only (7.22p5) */ +#define atan2(x,y) __TGMATH_REAL_2(x, y, atan2) +#define cbrt(x) __TGMATH_REAL(x, cbrt) +#define ceil(x) __TGMATH_REAL(x, ceil) +#define copysign(x,y) __TGMATH_REAL_2(x, y, copysign) +#define erf(x) __TGMATH_REAL(x, erf) +#define erfc(x) __TGMATH_REAL(x, erfc) +#define exp2(x) __TGMATH_REAL(x, exp2) +#define expm1(x) __TGMATH_REAL(x, expm1) +#define fdim(x,y) __TGMATH_REAL_2(x, y, fdim) +#define floor(x) __TGMATH_REAL(x, floor) +#define fma(x,y,z) __TGMATH_REAL_3(x, y, z, fma) +#define fmax(x,y) __TGMATH_REAL_2(x, y, fmax) +#define fmin(x,y) __TGMATH_REAL_2(x, y, fmin) +#define fmod(x,y) __TGMATH_REAL_2(x, y, fmod) +#define frexp(x,y) __TGMATH_REAL_1_2(x, y, frexp) +#define hypot(x,y) __TGMATH_REAL_2(x, y, hypot) +#define ilogb(x) __TGMATH_REAL(x, ilogb) +#define ldexp(x,y) __TGMATH_REAL_1_2(x, y, ldexp) +#define lgamma(x) __TGMATH_REAL(x, lgamma) +#define llrint(x) __TGMATH_REAL(x, llrint) +#define llround(x) __TGMATH_REAL(x, llround) +#define log10(x) __TGMATH_REAL(x, log10) +#define log1p(x) __TGMATH_REAL(x, log1p) +#define log2(x) __TGMATH_REAL(x, log2) +#define logb(x) __TGMATH_REAL(x, logb) +#define lrint(x) __TGMATH_REAL(x, lrint) +#define lround(x) __TGMATH_REAL(x, lround) +#define nearbyint(x) __TGMATH_REAL(x, nearbyint) +#define nextafter(x,y) __TGMATH_REAL_2(x, y, nextafter) +#define nexttoward(x,y) __TGMATH_REAL_1_2(x, y, nexttoward) +#define remainder(x,y) __TGMATH_REAL_2(x, y, remainder) +#define remquo(x,y,z) __TGMATH_REAL_2_3(x, y, z, remquo) +#define rint(x) __TGMATH_REAL(x, rint) +#define round(x) __TGMATH_REAL(x, round) +#define scalbn(x,y) __TGMATH_REAL_1_2(x, y, scalbn) +#define scalbln(x,y) __TGMATH_REAL_1_2(x, y, scalbln) +#define tgamma(x) __TGMATH_REAL(x, tgamma) +#define trunc(x) __TGMATH_REAL(x, trunc) + +/* Functions defined in <complex.h> only (7.22p6) */ +#define carg(z) __TGMATH_CPLX_ONLY(z, carg) +#define cimag(z) __TGMATH_CPLX_ONLY(z, cimag) +#define conj(z) __TGMATH_CPLX_ONLY(z, conj) +#define cproj(z) __TGMATH_CPLX_ONLY(z, cproj) +#define creal(z) __TGMATH_CPLX_ONLY(z, creal) + +#endif /* __cplusplus */ +#endif /* _TGMATH_H */ Property changes on: trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/tgmath.h ___________________________________________________________________ Added: svn:eol-style + native Added: trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/varargs.h =================================================================== --- trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/varargs.h (rev 0) +++ trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/varargs.h 2009-05-19 14:32:10 UTC (rev 1305) @@ -0,0 +1,7 @@ +#ifndef _VARARGS_H +#define _VARARGS_H + +#error "GCC no longer implements <varargs.h>." +#error "Revise your code to use <stdarg.h>." + +#endif Property changes on: trunk/cegcc/src/gcc-4.4.0/gcc/ginclude/varargs.h ___________________________________________________________________ Added: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-19 14:15:05
|
Revision: 1300 http://cegcc.svn.sourceforge.net/cegcc/?rev=1300&view=rev Author: dannybackx Date: 2009-05-19 13:46:20 +0000 (Tue, 19 May 2009) Log Message: ----------- Update this file Modified Paths: -------------- trunk/cegcc/src/VERSIONS Modified: trunk/cegcc/src/VERSIONS =================================================================== --- trunk/cegcc/src/VERSIONS 2009-05-19 13:16:21 UTC (rev 1299) +++ trunk/cegcc/src/VERSIONS 2009-05-19 13:46:20 UTC (rev 1300) @@ -1,10 +1,10 @@ Versions of the subdirectories below are: -- gcc 4.1.0 from +- gcc 4.4.0 (released April 2009) from - ftp://ftp.gnu.org/pub/gnu/gcc/gcc-4.1.0 - gcc-core-4.1.0.tar.bz2 - gcc-g++-4.1.0.tar.bz2 + ftp://ftp.gnu.org/pub/gnu/gcc/gcc-4.4.0 + gcc-core-4.4.0.tar.bz2 + gcc-g++-4.4.0.tar.bz2 - newlib 1.14.0 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-19 14:14:35
|
Revision: 1301 http://cegcc.svn.sourceforge.net/cegcc/?rev=1301&view=rev Author: dannybackx Date: 2009-05-19 13:49:39 +0000 (Tue, 19 May 2009) Log Message: ----------- Remove libgcc from the build. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/mingwdll/Makefile trunk/cegcc/src/mingwdll/get-version Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2009-05-19 13:46:20 UTC (rev 1300) +++ trunk/cegcc/src/ChangeLog 2009-05-19 13:49:39 UTC (rev 1301) @@ -1,3 +1,10 @@ +2009-05-19 Danny Backx <dan...@us...> + + * gcc-4.4.0 : New import. + * VERSIONS : Updated to reflect gcc-4.4.0 . + * mingwdll : remove libgcc from the build, gcc 4.4 has native support + for a libgcc DLL. + 2009-05-06 Danny Backx <dan...@us...> * mingwdll/lib{gcc,stdc++,supc++}/Makefile : install the lib*.dll.a . Modified: trunk/cegcc/src/mingwdll/Makefile =================================================================== --- trunk/cegcc/src/mingwdll/Makefile 2009-05-19 13:46:20 UTC (rev 1300) +++ trunk/cegcc/src/mingwdll/Makefile 2009-05-19 13:49:39 UTC (rev 1301) @@ -1,4 +1,4 @@ -SUBDIRS= libgcc libstdc++ libsupc++ +SUBDIRS= libstdc++ libsupc++ all:: Modified: trunk/cegcc/src/mingwdll/get-version =================================================================== --- trunk/cegcc/src/mingwdll/get-version 2009-05-19 13:46:20 UTC (rev 1300) +++ trunk/cegcc/src/mingwdll/get-version 2009-05-19 13:49:39 UTC (rev 1301) @@ -1,5 +1,7 @@ #!/bin/sh -#BASE_DIRECTORY=/home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src +if [ "x$BASE_DIRECTORY" = "x" ]; then + BASE_DIRECTORY=/home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src +fi LIBVER=$(grep libtool_VERSION= ${BASE_DIRECTORY}/gcc/libstdc++-v3/configure | sed -e 's/libtool_VERSION=//') LIBVER_c=$(echo $LIBVER | awk -F: '{print $1}') LIBVER_r=$(echo $LIBVER | awk -F: '{print $2}') This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-19 12:55:03
|
Revision: 1298 http://cegcc.svn.sourceforge.net/cegcc/?rev=1298&view=rev Author: dannybackx Date: 2009-05-19 12:54:55 +0000 (Tue, 19 May 2009) Log Message: ----------- Add new ChangeLog. Added Paths: ----------- trunk/cegcc/src/gcc-4.4.0/ChangeLog.ce Added: trunk/cegcc/src/gcc-4.4.0/ChangeLog.ce =================================================================== --- trunk/cegcc/src/gcc-4.4.0/ChangeLog.ce (rev 0) +++ trunk/cegcc/src/gcc-4.4.0/ChangeLog.ce 2009-05-19 12:54:55 UTC (rev 1298) @@ -0,0 +1,4 @@ +2009-05-19 Danny Backx <dan...@us...> + + * gcc-4.4.0/ChangeLog.ce : New file. + * gcc-4.4.0 : Fresh import from gcc-core-4.4.0 and gcc-g++-4.4.0 . This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-18 13:28:16
|
Revision: 1279 http://cegcc.svn.sourceforge.net/cegcc/?rev=1279&view=rev Author: dannybackx Date: 2009-05-18 13:28:08 +0000 (Mon, 18 May 2009) Log Message: ----------- Change definitions of ExitProcess and fileno/_fileno as indicated by Johnny. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/include/stdio.h trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winbase.h Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-05-18 10:57:49 UTC (rev 1278) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2009-05-18 13:28:08 UTC (rev 1279) @@ -1,3 +1,7 @@ +2009-05-18 Danny Backx <dan...@us...> + + * include/stdio.h (fileno, _fileno) : Define as void* instead of int. + 2009-05-14 Danny Backx <dan...@us...> * mingwex/stdio/pformat.c : Work around %f issue by selecting the Modified: trunk/cegcc/src/mingw/include/stdio.h =================================================================== --- trunk/cegcc/src/mingw/include/stdio.h 2009-05-18 10:57:49 UTC (rev 1278) +++ trunk/cegcc/src/mingw/include/stdio.h 2009-05-18 13:28:08 UTC (rev 1279) @@ -561,13 +561,11 @@ _CRTIMP FILE* __cdecl __MINGW_NOTHROW _fsopen (const char*, const char*, int); #endif #ifdef __COREDLL__ -/* We know the Microsoft defines _fileno as returning - a void* (HANDLE), but that is so anoying, that we - define it as returning int, which is ok on arm (32-bit). -_CRTIMP void* __cdecl _fileno (FILE*); */ -_CRTIMP int __cdecl __MINGW_NOTHROW _fileno (FILE*); +/* Define _fileno as a void * which appears to be the sensible thing to do, + * even though MSDN claims otherwise. */ +_CRTIMP void * __cdecl __MINGW_NOTHROW _fileno (FILE*); #else -_CRTIMP int __cdecl __MINGW_NOTHROW _fileno (FILE*); +_CRTIMP void * __cdecl __MINGW_NOTHROW _fileno (FILE*); #endif _CRTIMP int __cdecl __MINGW_NOTHROW _fcloseall (void); #ifdef __MSVCRT__ @@ -590,13 +588,11 @@ #ifndef __COREDLL__ _CRTIMP int __cdecl __MINGW_NOTHROW fgetchar (void); _CRTIMP int __cdecl __MINGW_NOTHROW fputchar (int); -_CRTIMP int __cdecl __MINGW_NOTHROW fileno (FILE*); +_CRTIMP void * __cdecl __MINGW_NOTHROW fileno (FILE*); #else -/* We know the Microsoft defines _fileno as returning - a void* (HANDLE), but that is so anoying, that we - define it as returning int, which is ok on arm (32-bit). -_CRTIMP void* __cdecl __MINGW_NOTHROW fileno (FILE*); */ -_CRTIMP int __cdecl __MINGW_NOTHROW fileno (FILE*); +/* Define fileno as a void * which appears to be the sensible thing to do, + * even though MSDN claims otherwise. */ +_CRTIMP void * __cdecl __MINGW_NOTHROW fileno (FILE*); #endif #endif /* Not _NO_OLDNAMES */ Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2009-05-18 10:57:49 UTC (rev 1278) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2009-05-18 13:28:08 UTC (rev 1279) @@ -1,6 +1,8 @@ 2009-05-18 Danny Backx <dan...@us...> * include/winbase.h (CRITICAL_SECTION) : Define differently for CE. + * include/winbase.h (ExitProcess) : Define as an inline function, not + a macro. 2009-05-15 Pierre Ynard <lin...@ya...> Modified: trunk/cegcc/src/w32api/include/winbase.h =================================================================== --- trunk/cegcc/src/w32api/include/winbase.h 2009-05-18 10:57:49 UTC (rev 1278) +++ trunk/cegcc/src/w32api/include/winbase.h 2009-05-18 13:28:08 UTC (rev 1279) @@ -1415,8 +1415,16 @@ WINBASEAPI BOOL WINAPI EqualSid(PSID,PSID); WINBASEAPI DWORD WINAPI EraseTape(HANDLE,DWORD,BOOL); WINBASEAPI BOOL WINAPI EscapeCommFunction(HANDLE,DWORD); + +WINBASEAPI BOOL WINAPI TerminateProcess(HANDLE,UINT); +#include <kfuncs.h> #ifdef _WIN32_WCE -#define ExitProcess(CODE) do { TerminateProcess(GetCurrentProcess(), CODE); while (1); } while (0) +static inline void ExitProcess(int code) +{ + TerminateProcess(GetCurrentProcess(), code); + while (1); +} +// #define ExitProcess(CODE) do { TerminateProcess(GetCurrentProcess(), CODE); while (1); } while (0) #else DECLSPEC_NORETURN WINBASEAPI void WINAPI ExitProcess(UINT); #endif @@ -2134,7 +2142,6 @@ WINBASEAPI BOOL WINAPI SwitchToThread(void); WINBASEAPI BOOL WINAPI SystemTimeToFileTime(const SYSTEMTIME*,LPFILETIME); WINBASEAPI BOOL WINAPI SystemTimeToTzSpecificLocalTime(LPTIME_ZONE_INFORMATION,LPSYSTEMTIME,LPSYSTEMTIME); -WINBASEAPI BOOL WINAPI TerminateProcess(HANDLE,UINT); WINBASEAPI BOOL WINAPI TerminateThread(HANDLE,DWORD); #ifndef _WIN32_WCE /* In kfuncs.h */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-18 10:57:50
|
Revision: 1278 http://cegcc.svn.sourceforge.net/cegcc/?rev=1278&view=rev Author: dannybackx Date: 2009-05-18 10:57:49 +0000 (Mon, 18 May 2009) Log Message: ----------- Definition for CE for CRITICAL_SECTION taken from http://fpc.freedoors.org/fpc-2.2.0.source/rtl/win/sysosh.inc under LGPL license. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winbase.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2009-05-15 15:19:02 UTC (rev 1277) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2009-05-18 10:57:49 UTC (rev 1278) @@ -1,3 +1,7 @@ +2009-05-18 Danny Backx <dan...@us...> + + * include/winbase.h (CRITICAL_SECTION) : Define differently for CE. + 2009-05-15 Pierre Ynard <lin...@ya...> * include/kfuncs.h (ResetEvent, SetEvent) : Fix definitions that got Modified: trunk/cegcc/src/w32api/include/winbase.h =================================================================== --- trunk/cegcc/src/w32api/include/winbase.h 2009-05-15 15:19:02 UTC (rev 1277) +++ trunk/cegcc/src/w32api/include/winbase.h 2009-05-18 10:57:49 UTC (rev 1278) @@ -807,7 +807,16 @@ DWORD ContentionCount; DWORD Spare [2]; } CRITICAL_SECTION_DEBUG,*PCRITICAL_SECTION_DEBUG; +#ifdef UNDER_CE typedef struct _CRITICAL_SECTION { + DWORD LockCount; // Nesting count on critical section + HANDLE OwnerThread; // Handle of owner thread + HANDLE hCrit; // Handle to this critical section + DWORD needtrap; // Trap in when freeing critical section + DWORD dwContentions; // Count of contentions +} CRITICAL_SECTION,*PCRITICAL_SECTION,*LPCRITICAL_SECTION; +#else +typedef struct _CRITICAL_SECTION { PCRITICAL_SECTION_DEBUG DebugInfo; LONG LockCount; LONG RecursionCount; @@ -815,6 +824,7 @@ HANDLE LockSemaphore; DWORD SpinCount; } CRITICAL_SECTION,*PCRITICAL_SECTION,*LPCRITICAL_SECTION; +#endif typedef struct _SYSTEMTIME { WORD wYear; WORD wMonth; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-15 15:19:05
|
Revision: 1277 http://cegcc.svn.sourceforge.net/cegcc/?rev=1277&view=rev Author: dannybackx Date: 2009-05-15 15:19:02 +0000 (Fri, 15 May 2009) Log Message: ----------- Apply the --host patch on these scripts too Modified Paths: -------------- trunk/cegcc/src/scripts/ChangeLog trunk/cegcc/src/scripts/build-cegcc.sh trunk/cegcc/src/scripts/build-x86.sh Modified: trunk/cegcc/src/scripts/ChangeLog =================================================================== --- trunk/cegcc/src/scripts/ChangeLog 2009-05-15 15:08:07 UTC (rev 1276) +++ trunk/cegcc/src/scripts/ChangeLog 2009-05-15 15:19:02 UTC (rev 1277) @@ -1,3 +1,7 @@ +2009-05-15 Danny Backx <dan...@us...> + + * build-cegcc.sh, build-x86.sh: Apply Geoffroys work on these scripts too. + 2009-05-15 Geoffroy Couprie <ge...@vi...> * build-mingw32ce.sh: Add support for specifying --host. Modified: trunk/cegcc/src/scripts/build-cegcc.sh =================================================================== --- trunk/cegcc/src/scripts/build-cegcc.sh 2009-05-15 15:08:07 UTC (rev 1276) +++ trunk/cegcc/src/scripts/build-cegcc.sh 2009-05-15 15:19:02 UTC (rev 1277) @@ -39,6 +39,7 @@ -h, --help print this help, then exit --prefix=PREFIX install toolchain in PREFIX [$ac_default_prefix] + --host=HOST host on which the toolchain will run [BUILD] -j, --parallelism PARALLELISM Pass PARALLELISM as -jPARALLELISM to make invocations. --components=LIST specify which components to build @@ -97,6 +98,11 @@ -destdir=* | --destdir=* | --destdi=* | --destd=* | --dest=* | --des=* | --de=* | --d=*) destdir=$ac_optarg ;; + --host ) + ac_prev=host ;; + --host=* ) + host=$ac_optarg ;; + -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } @@ -184,6 +190,7 @@ cd binutils ${BASE_DIRECTORY}/binutils/configure \ --prefix=${PREFIX} \ + --host=${HOST} \ --target=${TARGET} \ --disable-nls @@ -217,6 +224,8 @@ --with-gnu-ld \ --with-gnu-as \ --target=${TARGET} \ + --build=${BUILD} \ + --host=${HOST} \ --prefix=${PREFIX} \ --disable-threads \ --disable-nls \ @@ -286,6 +295,8 @@ --with-gnu-ld \ --with-gnu-as \ --target=${TARGET} \ + --build=${BUILD} \ + --host=${HOST} \ --prefix=${PREFIX} \ --enable-threads=win32 \ --disable-nls \ @@ -449,6 +460,12 @@ export BUILD=`sh ${BASE_DIRECTORY}/gcc/config.guess` export PATH=${PREFIX}/bin:${PATH} +if [ "x${host}" != "x" ]; then + export HOST="${host}" +else + export HOST=${BUILD} +fi + echo "Building cegcc:" echo "source: ${BASE_DIRECTORY}" echo "building in: ${BUILD_DIR}" Modified: trunk/cegcc/src/scripts/build-x86.sh =================================================================== --- trunk/cegcc/src/scripts/build-x86.sh 2009-05-15 15:08:07 UTC (rev 1276) +++ trunk/cegcc/src/scripts/build-x86.sh 2009-05-15 15:19:02 UTC (rev 1277) @@ -41,6 +41,7 @@ -h, --help print this help, then exit --prefix=PREFIX install toolchain in PREFIX [$ac_default_prefix] + --host=HOST host on which the toolchain will run [BUILD] -j, --parallelism PARALLELISM Pass PARALLELISM as -jPARALLELISM to make invocations. --components=LIST specify which components to build @@ -94,6 +95,11 @@ | --co=* | --c=*) components=$ac_optarg ;; + --host ) + ac_prev=host ;; + --host=* ) + host=$ac_optarg ;; + -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } @@ -181,6 +187,7 @@ cd binutils ${BASE_DIRECTORY}/binutils/configure \ --prefix=${PREFIX} \ + --host=${HOST} \ --target=${TARGET} \ --disable-nls @@ -200,6 +207,8 @@ --with-gnu-ld \ --with-gnu-as \ --target=${TARGET} \ + --build=${BUILD} \ + --host=${HOST} \ --prefix=${PREFIX} \ --disable-threads \ --disable-nls \ @@ -285,6 +294,8 @@ --with-gnu-ld \ --with-gnu-as \ --target=${TARGET} \ + --build=${BUILD} \ + --host=${HOST} \ --prefix=${PREFIX} \ --enable-threads=win32 \ --disable-nls \ @@ -473,6 +484,12 @@ export BUILD=`sh ${BASE_DIRECTORY}/gcc/config.guess` export PATH=${PREFIX}/bin:${PATH} +if [ "x${host}" != "x" ]; then + export HOST="${host}" +else + export HOST=${BUILD} +fi + echo "Building mingw32ce:" echo "source: ${BASE_DIRECTORY}" echo "building in: ${BUILD_DIR}" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-15 15:08:15
|
Revision: 1276 http://cegcc.svn.sourceforge.net/cegcc/?rev=1276&view=rev Author: dannybackx Date: 2009-05-15 15:08:07 +0000 (Fri, 15 May 2009) Log Message: ----------- Fix mixup from recent commit Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/kfuncs.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2009-05-15 13:35:13 UTC (rev 1275) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2009-05-15 15:08:07 UTC (rev 1276) @@ -1,3 +1,8 @@ +2009-05-15 Pierre Ynard <lin...@ya...> + + * include/kfuncs.h (ResetEvent, SetEvent) : Fix definitions that got + mixed up in recent commit. + 2009-05-13 Danny Backx <dan...@us...> * include/kfuncs.h (PUserKData) : Define as different values for Modified: trunk/cegcc/src/w32api/include/kfuncs.h =================================================================== --- trunk/cegcc/src/w32api/include/kfuncs.h 2009-05-15 13:35:13 UTC (rev 1275) +++ trunk/cegcc/src/w32api/include/kfuncs.h 2009-05-15 15:08:07 UTC (rev 1276) @@ -73,12 +73,12 @@ static inline BOOL ResetEvent (HANDLE x) { - return EventModify(x, EVENT_PULSE); + return EventModify(x, EVENT_RESET); } static inline BOOL SetEvent (HANDLE x) { - return EventModify(x, EVENT_PULSE); + return EventModify(x, EVENT_SET); } /* TLS Constants and Constructs */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2009-05-15 14:01:13
|
Revision: 1275 http://cegcc.svn.sourceforge.net/cegcc/?rev=1275&view=rev Author: pedroalves Date: 2009-05-15 13:35:13 +0000 (Fri, 15 May 2009) Log Message: ----------- 2009-05-15 Geoffroy Couprie <ge...@vi...> * build-mingw32ce.sh: Add support for specifying --host. Modified Paths: -------------- trunk/cegcc/src/scripts/ChangeLog trunk/cegcc/src/scripts/build-mingw32ce.sh Modified: trunk/cegcc/src/scripts/ChangeLog =================================================================== --- trunk/cegcc/src/scripts/ChangeLog 2009-05-15 08:45:41 UTC (rev 1274) +++ trunk/cegcc/src/scripts/ChangeLog 2009-05-15 13:35:13 UTC (rev 1275) @@ -1,3 +1,7 @@ +2009-05-15 Geoffroy Couprie <ge...@vi...> + + * build-mingw32ce.sh: Add support for specifying --host. + 2009-05-15 Danny Backx <dan...@us...> * build-mingw32ce.sh, build-cegcc.sh, build-x86.sh (build_w32api) : Modified: trunk/cegcc/src/scripts/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/scripts/build-mingw32ce.sh 2009-05-15 08:45:41 UTC (rev 1274) +++ trunk/cegcc/src/scripts/build-mingw32ce.sh 2009-05-15 13:35:13 UTC (rev 1275) @@ -41,6 +41,7 @@ -h, --help print this help, then exit --prefix=PREFIX install toolchain in PREFIX [$ac_default_prefix] + --host=HOST host on which the toolchain will run [BUILD] -j, --parallelism PARALLELISM Pass PARALLELISM as -jPARALLELISM to make invocations. --components=LIST specify which components to build @@ -94,6 +95,11 @@ | --co=* | --c=*) components=$ac_optarg ;; + --host) + ac_prev=host ;; + --host=*) + host=$ac_optarg ;; + -*) { echo "$as_me: error: unrecognized option: $ac_option Try \`$0 --help' for more information." >&2 { (exit 1); exit 1; }; } @@ -181,6 +187,7 @@ cd binutils ${BASE_DIRECTORY}/binutils/configure \ --prefix=${PREFIX} \ + --host=${HOST} \ --target=${TARGET} \ --disable-nls @@ -200,6 +207,8 @@ --with-gnu-ld \ --with-gnu-as \ --target=${TARGET} \ + --build=${BUILD} \ + --host=${HOST} \ --prefix=${PREFIX} \ --disable-threads \ --disable-nls \ @@ -284,7 +293,9 @@ --with-gcc \ --with-gnu-ld \ --with-gnu-as \ + --build=${BUILD} \ --target=${TARGET} \ + --host=${HOST} \ --prefix=${PREFIX} \ --enable-threads=win32 \ --disable-nls \ @@ -471,6 +482,12 @@ export TARGET="arm-mingw32ce" #export TARGET="arm-wince-mingw32ce" export BUILD=`sh ${BASE_DIRECTORY}/gcc/config.guess` +if [ "x${host}" != "x" ]; then + export HOST="${host}" +else + export HOST=${BUILD} +fi + export PATH=${PREFIX}/bin:${PATH} echo "Building mingw32ce:" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-15 08:45:49
|
Revision: 1274 http://cegcc.svn.sourceforge.net/cegcc/?rev=1274&view=rev Author: dannybackx Date: 2009-05-15 08:45:41 +0000 (Fri, 15 May 2009) Log Message: ----------- Create a cegcc.h file Modified Paths: -------------- trunk/cegcc/src/scripts/ChangeLog trunk/cegcc/src/scripts/build-cegcc.sh trunk/cegcc/src/scripts/build-mingw32ce.sh trunk/cegcc/src/scripts/build-x86.sh Modified: trunk/cegcc/src/scripts/ChangeLog =================================================================== --- trunk/cegcc/src/scripts/ChangeLog 2009-05-14 06:52:44 UTC (rev 1273) +++ trunk/cegcc/src/scripts/ChangeLog 2009-05-15 08:45:41 UTC (rev 1274) @@ -1,3 +1,8 @@ +2009-05-15 Danny Backx <dan...@us...> + + * build-mingw32ce.sh, build-cegcc.sh, build-x86.sh (build_w32api) : + Create a cegcc.h file. + 2009-02-07 Pedro Alves <ped...@us...> * build-cegcc.sh (BASE_DIRECTORY): Step one level down. Modified: trunk/cegcc/src/scripts/build-cegcc.sh =================================================================== --- trunk/cegcc/src/scripts/build-cegcc.sh 2009-05-14 06:52:44 UTC (rev 1273) +++ trunk/cegcc/src/scripts/build-cegcc.sh 2009-05-15 08:45:41 UTC (rev 1274) @@ -246,6 +246,33 @@ make ${PARALLELISM} make install + # + # Create a cegcc.h file with some sensible input + # Code is copied from the scripts/make_release.sh script. + # This will probably always have "old" numbers + # + # CEGCC_VERSION_MAJOR=`echo $VERSION | awk -F. '{print $1}'` + # CEGCC_VERSION_MINOR=`echo $VERSION | awk -F. '{print $2}'` + # CEGCC_VERSION_PATCHLEVEL=`echo $VERSION | awk -F. '{print $3}'` + # + # Version patchlevel 999 refers to SVN from now on :-) + # + CEGCC_VERSION_MAJOR=0 + CEGCC_VERSION_MINOR=55 + CEGCC_VERSION_PATCHLEVEL=999 + # + INCFILE=${BASE_DIRECTORY}/w32api/include/cegcc.h.in + DESTFILE=${PREFIX}/${TARGET}/include/cegcc.h + # + L1=`grep -s -n "Automatic changes below" ${INCFILE} | awk -F: '{print $1}'` + L2=`grep -s -n "Automatic changes above" ${INCFILE} | awk -F: '{print $1}'` + head -$L1 ${INCFILE} >${DESTFILE} + echo "#define __CEGCC_VERSION_MAJOR__ " $CEGCC_VERSION_MAJOR >> ${DESTFILE} + echo "#define __CEGCC_VERSION_MINOR__ " $CEGCC_VERSION_MINOR >> ${DESTFILE} + echo "#define __CEGCC_VERSION_PATCHLEVEL__ " $CEGCC_VERSION_PATCHLEVEL >> ${DESTFILE} + echo "#define __CEGCC_BUILD_DATE__" `date +%Y%m%d` >> ${DESTFILE} + tail +$L2 ${INCFILE} >>${DESTFILE} + cd ${BUILD_DIR} } Modified: trunk/cegcc/src/scripts/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/scripts/build-mingw32ce.sh 2009-05-14 06:52:44 UTC (rev 1273) +++ trunk/cegcc/src/scripts/build-mingw32ce.sh 2009-05-15 08:45:41 UTC (rev 1274) @@ -229,6 +229,33 @@ make ${PARALLELISM} make install + # + # Create a cegcc.h file with some sensible input + # Code is copied from the scripts/make_release.sh script. + # This will probably always have "old" numbers + # + # CEGCC_VERSION_MAJOR=`echo $VERSION | awk -F. '{print $1}'` + # CEGCC_VERSION_MINOR=`echo $VERSION | awk -F. '{print $2}'` + # CEGCC_VERSION_PATCHLEVEL=`echo $VERSION | awk -F. '{print $3}'` + # + # Version patchlevel 999 refers to SVN from now on :-) + # + CEGCC_VERSION_MAJOR=0 + CEGCC_VERSION_MINOR=55 + CEGCC_VERSION_PATCHLEVEL=999 + # + INCFILE=${BASE_DIRECTORY}/w32api/include/cegcc.h.in + DESTFILE=${PREFIX}/${TARGET}/include/cegcc.h + # + L1=`grep -s -n "Automatic changes below" ${INCFILE} | awk -F: '{print $1}'` + L2=`grep -s -n "Automatic changes above" ${INCFILE} | awk -F: '{print $1}'` + head -$L1 ${INCFILE} >${DESTFILE} + echo "#define __CEGCC_VERSION_MAJOR__ " $CEGCC_VERSION_MAJOR >> ${DESTFILE} + echo "#define __CEGCC_VERSION_MINOR__ " $CEGCC_VERSION_MINOR >> ${DESTFILE} + echo "#define __CEGCC_VERSION_PATCHLEVEL__ " $CEGCC_VERSION_PATCHLEVEL >> ${DESTFILE} + echo "#define __CEGCC_BUILD_DATE__" `date +%Y%m%d` >> ${DESTFILE} + tail +$L2 ${INCFILE} >>${DESTFILE} + cd ${BUILD_DIR} } Modified: trunk/cegcc/src/scripts/build-x86.sh =================================================================== --- trunk/cegcc/src/scripts/build-x86.sh 2009-05-14 06:52:44 UTC (rev 1273) +++ trunk/cegcc/src/scripts/build-x86.sh 2009-05-15 08:45:41 UTC (rev 1274) @@ -229,6 +229,33 @@ make ${PARALLELISM} make install + # + # Create a cegcc.h file with some sensible input + # Code is copied from the scripts/make_release.sh script. + # This will probably always have "old" numbers + # + # CEGCC_VERSION_MAJOR=`echo $VERSION | awk -F. '{print $1}'` + # CEGCC_VERSION_MINOR=`echo $VERSION | awk -F. '{print $2}'` + # CEGCC_VERSION_PATCHLEVEL=`echo $VERSION | awk -F. '{print $3}'` + # + # Version patchlevel 999 refers to SVN from now on :-) + # + CEGCC_VERSION_MAJOR=0 + CEGCC_VERSION_MINOR=55 + CEGCC_VERSION_PATCHLEVEL=999 + # + INCFILE=${BASE_DIRECTORY}/w32api/include/cegcc.h.in + DESTFILE=${PREFIX}/${TARGET}/include/cegcc.h + # + L1=`grep -s -n "Automatic changes below" ${INCFILE} | awk -F: '{print $1}'` + L2=`grep -s -n "Automatic changes above" ${INCFILE} | awk -F: '{print $1}'` + head -$L1 ${INCFILE} >${DESTFILE} + echo "#define __CEGCC_VERSION_MAJOR__ " $CEGCC_VERSION_MAJOR >> ${DESTFILE} + echo "#define __CEGCC_VERSION_MINOR__ " $CEGCC_VERSION_MINOR >> ${DESTFILE} + echo "#define __CEGCC_VERSION_PATCHLEVEL__ " $CEGCC_VERSION_PATCHLEVEL >> ${DESTFILE} + echo "#define __CEGCC_BUILD_DATE__" `date +%Y%m%d` >> ${DESTFILE} + tail +$L2 ${INCFILE} >>${DESTFILE} + cd ${BUILD_DIR} } 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-13 11:31:00
|
Revision: 1272 http://cegcc.svn.sourceforge.net/cegcc/?rev=1272&view=rev Author: dannybackx Date: 2009-05-13 11:30:51 +0000 (Wed, 13 May 2009) Log Message: ----------- Define PUserKData differently on x86 than on ARM. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/kfuncs.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2009-05-09 04:09:42 UTC (rev 1271) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2009-05-13 11:30:51 UTC (rev 1272) @@ -1,3 +1,9 @@ +2009-05-13 Danny Backx <dan...@us...> + + * include/kfuncs.h (PUserKData) : Define as different values for + ARM and other processors. Add references to websites that have this + information. + 2009-04-28 Danny Backx <dan...@us...> * include/winuser.h(GetMenu) : Remove for CE. Modified: trunk/cegcc/src/w32api/include/kfuncs.h =================================================================== --- trunk/cegcc/src/w32api/include/kfuncs.h 2009-05-09 04:09:42 UTC (rev 1271) +++ trunk/cegcc/src/w32api/include/kfuncs.h 2009-05-13 11:30:51 UTC (rev 1272) @@ -13,7 +13,20 @@ #error "_WIN32_WCE is not defined." #endif +/* + * http://hubpages.com/hub/hackingwindowsce : + * "The value of PUserKData is fixed as 0xFFFFC800 on the ARM processor, + * and 0x00005800 on other CPUs." + * http://www.ddj.com/architect/184405459 + * http://andy-embed.blogspot.com/ + * http://arsouyes.org/phrack/phrack63/phrack63_0x06.html + */ +#if defined(__arm__) #define PUserKData ((LPBYTE)0xFFFFC800) +#else +#define PUserKData ((LPBYTE)0x00005800) +#endif + #define SYSHANDLE_OFFSET 0x004 #define SYS_HANDLE_BASE 64 #define SH_WIN32 0 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-09 04:09:57
|
Revision: 1271 http://cegcc.svn.sourceforge.net/cegcc/?rev=1271&view=rev Author: dannybackx Date: 2009-05-09 04:09:42 +0000 (Sat, 09 May 2009) Log Message: ----------- small change Modified Paths: -------------- trunk/cegcc/README Modified: trunk/cegcc/README =================================================================== --- trunk/cegcc/README 2009-05-08 06:19:32 UTC (rev 1270) +++ trunk/cegcc/README 2009-05-09 04:09:42 UTC (rev 1271) @@ -1,4 +1,4 @@ -CeGCC - cross-development tools for Windows CE (PocketPC). +CeGCC - cross-development tools for Windows CE / Windows Mobile. This is the SVN version of CeGCC. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-08 06:19:40
|
Revision: 1270 http://cegcc.svn.sourceforge.net/cegcc/?rev=1270&view=rev Author: dannybackx Date: 2009-05-08 06:19:32 +0000 (Fri, 08 May 2009) Log Message: ----------- Add error checks and a comment Modified Paths: -------------- trunk/cegcc/scripts/linux/rpm-create-source.sh.in trunk/cegcc/scripts/make_release.sh Modified: trunk/cegcc/scripts/linux/rpm-create-source.sh.in =================================================================== --- trunk/cegcc/scripts/linux/rpm-create-source.sh.in 2009-05-08 04:54:00 UTC (rev 1269) +++ trunk/cegcc/scripts/linux/rpm-create-source.sh.in 2009-05-08 06:19:32 UTC (rev 1270) @@ -29,8 +29,8 @@ echo 'cegcc-mingw32ce-'$CEGCC_RELEASE'/src/build-mingw32ce/*' >>/tmp/exclude-$$ echo '*~' >>/tmp/exclude-$$ # -cd $TOP_SRCDIR -ln -s . cegcc-cegcc-$CEGCC_RELEASE +cd $TOP_SRCDIR || exit 1 +ln -s . cegcc-cegcc-$CEGCC_RELEASE || exit 1 tar --exclude-from=/tmp/exclude-$$ \ -cz -f /usr/src/rpm/SOURCES/cegcc-cegcc-src-$CEGCC_RELEASE.tar.gz \ cegcc-cegcc-$CEGCC_RELEASE/NEWS \ @@ -39,8 +39,8 @@ cegcc-cegcc-$CEGCC_RELEASE/docs \ cegcc-cegcc-$CEGCC_RELEASE/website \ cegcc-cegcc-$CEGCC_RELEASE/test \ - cegcc-cegcc-$CEGCC_RELEASE/src -rm cegcc-cegcc-$CEGCC_RELEASE + cegcc-cegcc-$CEGCC_RELEASE/src || exit 1 +rm cegcc-cegcc-$CEGCC_RELEASE || exit 1 # echo "Ready to build with" echo " " @@ -48,7 +48,7 @@ echo " rpmbuild -tb /usr/src/rpm/SOURCES/cegcc-cegcc-src-"$CEGCC_RELEASE".tar.gz" echo "Note : " `ls -l /usr/src/rpm/SOURCES/cegcc-cegcc-src-"$CEGCC_RELEASE".tar.gz` # -ln -s . cegcc-mingw32ce-$CEGCC_RELEASE +ln -s . cegcc-mingw32ce-$CEGCC_RELEASE || exit 1 tar --exclude-from=/tmp/exclude-$$ \ -cz -f /usr/src/rpm/SOURCES/cegcc-mingw32ce-src-$CEGCC_RELEASE.tar.gz \ cegcc-mingw32ce-$CEGCC_RELEASE/NEWS \ @@ -57,8 +57,8 @@ cegcc-mingw32ce-$CEGCC_RELEASE/docs \ cegcc-mingw32ce-$CEGCC_RELEASE/website \ cegcc-mingw32ce-$CEGCC_RELEASE/test \ - cegcc-mingw32ce-$CEGCC_RELEASE/src -rm cegcc-mingw32ce-$CEGCC_RELEASE + cegcc-mingw32ce-$CEGCC_RELEASE/src || exit 1 +rm cegcc-mingw32ce-$CEGCC_RELEASE || exit 1 # # Remove temp file # @@ -90,24 +90,24 @@ fi # # Unpack gdb in /tmp -mkdir /tmp/gdb-$$ -cd /tmp/gdb-$$ -tar xfj $FTP_DIR/$GDB_VERSION$GDB_SUFFIX +mkdir /tmp/gdb-$$ || exit 1 +cd /tmp/gdb-$$ || exit 1 +tar xfj $FTP_DIR/$GDB_VERSION$GDB_SUFFIX || exit 1 # # Apply our patch if it's there # if [ -r $FTP_DIR/gdb-6.8-i386gdbserver.patch ]; then - patch $FTP_DIR/gdb-6.8-i386gdbserver.patch + patch $FTP_DIR/gdb-6.8-i386gdbserver.patch || exit 1 fi # -cp $TOP_SRCDIR/scripts/linux/gdb-mingw32ce-arm.spec $GDB_VERSION -ln -s $GDB_VERSION gdb-mingw32ce-arm-VerSION -tar cfz /usr/src/rpm/SOURCES/gdb-mingw32ce-arm-VerSION-src.tar.gz gdb-mingw32ce-arm-VerSION/* -rm -f $GDB_VERSION/gdb-mingw32ce-arm.spec -cp $TOP_SRCDIR/scripts/linux/gdb-mingw32ce-i386.spec $GDB_VERSION -ln -s $GDB_VERSION gdb-mingw32ce-i386-VerSION -tar cfz /usr/src/rpm/SOURCES/gdb-mingw32ce-i386-VerSION-src.tar.gz gdb-mingw32ce-i386-VerSION/* -cd $TOP_SRCDIR +cp $TOP_SRCDIR/scripts/linux/gdb-mingw32ce-arm.spec $GDB_VERSION || exit 1 +ln -s $GDB_VERSION gdb-mingw32ce-arm-VerSION || exit 1 +tar cfz /usr/src/rpm/SOURCES/gdb-mingw32ce-arm-VerSION-src.tar.gz gdb-mingw32ce-arm-VerSION/* || exit 1 +rm -f $GDB_VERSION/gdb-mingw32ce-arm.spec || exit 1 +cp $TOP_SRCDIR/scripts/linux/gdb-mingw32ce-i386.spec $GDB_VERSION || exit 1 +ln -s $GDB_VERSION gdb-mingw32ce-i386-VerSION || exit 1 +tar cfz /usr/src/rpm/SOURCES/gdb-mingw32ce-i386-VerSION-src.tar.gz gdb-mingw32ce-i386-VerSION/* || exit 1 +cd $TOP_SRCDIR || exit 1 rm -rf /tmp/gdb-$$ # # All done Modified: trunk/cegcc/scripts/make_release.sh =================================================================== --- trunk/cegcc/scripts/make_release.sh 2009-05-08 04:54:00 UTC (rev 1269) +++ trunk/cegcc/scripts/make_release.sh 2009-05-08 06:19:32 UTC (rev 1270) @@ -434,6 +434,9 @@ else echo "Level 57 (Build Mingw32ce gdb)" OK=no + # + # Note : tar.gz file is created on the fly duing rpmbuild + # rpmbuild -tb /usr/src/rpm/SOURCES/gdb-mingw32ce-arm-$VERSION-src.tar.gz && OK=yes if [ $OK = "no" ]; then echo "Build of Mingw32ce gdb failed, exiting ..." @@ -460,6 +463,9 @@ else echo "Level 58 (Build Mingw32ce/i386 gdb)" OK=no + # + # Note : tar.gz file is created on the fly duing rpmbuild + # rpmbuild -tb /usr/src/rpm/SOURCES/gdb-mingw32ce-i386-$VERSION-src.tar.gz && OK=yes if [ $OK = "no" ]; then echo "Build of Mingw32ce gdb failed, exiting ..." This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-08 04:54:06
|
Revision: 1269 http://cegcc.svn.sourceforge.net/cegcc/?rev=1269&view=rev Author: dannybackx Date: 2009-05-08 04:54:00 +0000 (Fri, 08 May 2009) Log Message: ----------- Build the GDB tar files at the same time as the RPM Modified Paths: -------------- trunk/cegcc/scripts/linux/gdb-mingw32ce-arm.spec.in trunk/cegcc/scripts/linux/gdb-mingw32ce-i386.spec.in trunk/cegcc/scripts/make_release.sh Modified: trunk/cegcc/scripts/linux/gdb-mingw32ce-arm.spec.in =================================================================== --- trunk/cegcc/scripts/linux/gdb-mingw32ce-arm.spec.in 2009-05-08 04:17:42 UTC (rev 1268) +++ trunk/cegcc/scripts/linux/gdb-mingw32ce-arm.spec.in 2009-05-08 04:54:00 UTC (rev 1269) @@ -35,8 +35,8 @@ make install DESTDIR=$RPM_BUILD_ROOT || exit 1 cd gdb/gdbserver || exit 1 make install DESTDIR=$RPM_BUILD_ROOT || exit 1 +cd $RPM_BUILD_ROOT && tar cfz /tmp/gdb-mingw32ce-arm-VerSION.tar.gz . - %clean rm -rf $RPM_BUILD_ROOT Modified: trunk/cegcc/scripts/linux/gdb-mingw32ce-i386.spec.in =================================================================== --- trunk/cegcc/scripts/linux/gdb-mingw32ce-i386.spec.in 2009-05-08 04:17:42 UTC (rev 1268) +++ trunk/cegcc/scripts/linux/gdb-mingw32ce-i386.spec.in 2009-05-08 04:54:00 UTC (rev 1269) @@ -35,8 +35,8 @@ make install DESTDIR=$RPM_BUILD_ROOT || exit 1 cd gdb/gdbserver || exit 1 make install DESTDIR=$RPM_BUILD_ROOT || exit 1 +cd $RPM_BUILD_ROOT && tar cfz /tmp/gdb-mingw32ce-i386-VerSION.tar.gz . - %clean rm -rf $RPM_BUILD_ROOT Modified: trunk/cegcc/scripts/make_release.sh =================================================================== --- trunk/cegcc/scripts/make_release.sh 2009-05-08 04:17:42 UTC (rev 1268) +++ trunk/cegcc/scripts/make_release.sh 2009-05-08 04:54:00 UTC (rev 1269) @@ -591,6 +591,8 @@ fi echo "put ${PREFIX}cegcc-cegcc-$VERSION.tar.gz" >>$FTPFILE echo "put ${PREFIX}cegcc-mingw32ce-$VERSION.tar.gz" >>$FTPFILE + echo "put gdb-mingw32ce-arm-$VERSION.tar.gz ${PREFIX}gdb-mingw32ce-arm-$VERSION.tar.gz" >>$FTPFILE + echo "put gdb-mingw32ce-i386-$VERSION.tar.gz ${PREFIX}gdb-mingw32ce-i386-$VERSION.tar.gz" >>$FTPFILE echo "lcd /usr/src/rpm/SOURCES" >>$FTPFILE # # These are a bit big, commenting out. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2009-05-08 04:17:47
|
Revision: 1268 http://cegcc.svn.sourceforge.net/cegcc/?rev=1268&view=rev Author: dannybackx Date: 2009-05-08 04:17:42 +0000 (Fri, 08 May 2009) Log Message: ----------- This should be somewhat complete but only partially tested. Modified Paths: -------------- trunk/cegcc/scripts/linux/rpm-create-source.sh.in trunk/cegcc/scripts/make_release.sh Added Paths: ----------- trunk/cegcc/scripts/linux/gdb-mingw32ce-arm.spec.in trunk/cegcc/scripts/linux/gdb-mingw32ce-i386.spec.in Added: trunk/cegcc/scripts/linux/gdb-mingw32ce-arm.spec.in =================================================================== --- trunk/cegcc/scripts/linux/gdb-mingw32ce-arm.spec.in (rev 0) +++ trunk/cegcc/scripts/linux/gdb-mingw32ce-arm.spec.in 2009-05-08 04:17:42 UTC (rev 1268) @@ -0,0 +1,74 @@ +Summary: GDB for cross-debugging ARM targets +Name: gdb-mingw32ce-arm +%define version VerSION +Version: VerSION +Release: 1 +License: open +Packager: Danny Backx <dan...@us...> +Group: Development/Tools +Prefix: /opt/mingw32ce +# Source: http://sourceforge.net/project/showfiles.php?group_id=173455 +Source: /tmp/gdb-mingw32ce-src-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-buildroot + +%description +CeGCC has removed gdb from its source tree, +but still wants to offer a binary version. + +%prep +%setup -q + +%build +rm -rf $RPM_BUILD_ROOT +export PREFIX=/opt/mingw32ce +./configure --target=arm-mingw32ce --prefix=$PREFIX || exit 1 +make || exit 1 +cd gdb/gdbserver || exit 1 +./configure --host=arm-mingw32ce --prefix=$PREFIX || exit 1 + +%install +# rm -rf $RPM_BUILD_ROOT +# %makeinstall +# rm -rf $RPM_BUILD_ROOT +# make install || exit 1 +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT || exit 1 +cd gdb/gdbserver || exit 1 +make install DESTDIR=$RPM_BUILD_ROOT || exit 1 + + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +/opt/mingw32ce/lib/libarm-mingw32ce-sim.a +/opt/mingw32ce/lib/libiberty.a +/opt/mingw32ce/bin/arm-mingw32ce-gdbtui +/opt/mingw32ce/bin/arm-mingw32ce-gdb +/opt/mingw32ce/bin/arm-mingw32ce-run +/opt/mingw32ce/bin/gdbserver.exe +/opt/mingw32ce/info/dir +/opt/mingw32ce/info/bfd.info +/opt/mingw32ce/info/stabs.info +/opt/mingw32ce/info/gdbint.info-2 +/opt/mingw32ce/info/gdb.info +/opt/mingw32ce/info/annotate.info +/opt/mingw32ce/info/gdb.info-4 +/opt/mingw32ce/info/configure.info +/opt/mingw32ce/info/gdb.info-3 +/opt/mingw32ce/info/gdbint.info +/opt/mingw32ce/info/standards.info +/opt/mingw32ce/info/gdbint.info-1 +/opt/mingw32ce/info/gdb.info-1 +/opt/mingw32ce/info/gdb.info-2 +/opt/mingw32ce/man/man1/arm-mingw32ce-run.1 +/opt/mingw32ce/man/man1/arm-mingw32ce-gdb.1 +/opt/mingw32ce/man/man1/arm-mingw32ce-gdbtui.1 +/opt/mingw32ce/man/man1/gdbserver.1 +/opt/mingw32ce/share/locale/*/LC_MESSAGES/opcodes.mo +/opt/mingw32ce/share/locale/*/LC_MESSAGES/bfd.mo + +%changelog +* Thu Apr 07 2009 Danny Backx <dan...@us...> +- Copy mingw32ce.spec.in into gdb-mingw32ce-arm.spec.in, change it to + build gdb. Property changes on: trunk/cegcc/scripts/linux/gdb-mingw32ce-arm.spec.in ___________________________________________________________________ Added: svn:eol-style + native Added: trunk/cegcc/scripts/linux/gdb-mingw32ce-i386.spec.in =================================================================== --- trunk/cegcc/scripts/linux/gdb-mingw32ce-i386.spec.in (rev 0) +++ trunk/cegcc/scripts/linux/gdb-mingw32ce-i386.spec.in 2009-05-08 04:17:42 UTC (rev 1268) @@ -0,0 +1,74 @@ +Summary: GDB for cross-debugging x86 targets +Name: gdb-mingw32ce-i386 +%define version VerSION +Version: VerSION +Release: 1 +License: open +Packager: Danny Backx <dan...@us...> +Group: Development/Tools +Prefix: /opt/x86mingw32ce +# Source: http://sourceforge.net/project/showfiles.php?group_id=173455 +Source: /tmp/gdb-mingw32ce-src-%{version}.tar.gz +BuildRoot: %{_tmppath}/%{name}-buildroot + +%description +CeGCC has removed gdb from its source tree, +but still wants to offer a binary version. + +%prep +%setup -q + +%build +rm -rf $RPM_BUILD_ROOT +export PREFIX=/opt/x86mingw32ce +./configure --target=i386-mingw32ce --prefix=$PREFIX || exit 1 +make || exit 1 +cd gdb/gdbserver || exit 1 +./configure --host=i386-mingw32ce --prefix=$PREFIX || exit 1 + +%install +# rm -rf $RPM_BUILD_ROOT +# %makeinstall +# rm -rf $RPM_BUILD_ROOT +# make install || exit 1 +rm -rf $RPM_BUILD_ROOT +make install DESTDIR=$RPM_BUILD_ROOT || exit 1 +cd gdb/gdbserver || exit 1 +make install DESTDIR=$RPM_BUILD_ROOT || exit 1 + + +%clean +rm -rf $RPM_BUILD_ROOT + +%files +/opt/x86mingw32ce/lib/libi386-mingw32ce-sim.a +/opt/x86mingw32ce/lib/libiberty.a +/opt/x86mingw32ce/bin/i386-mingw32ce-gdbtui +/opt/x86mingw32ce/bin/i386-mingw32ce-gdb +/opt/x86mingw32ce/bin/i386-mingw32ce-run +/opt/x86mingw32ce/bin/gdbserver.exe +/opt/x86mingw32ce/info/dir +/opt/x86mingw32ce/info/bfd.info +/opt/x86mingw32ce/info/stabs.info +/opt/x86mingw32ce/info/gdbint.info-2 +/opt/x86mingw32ce/info/gdb.info +/opt/x86mingw32ce/info/annotate.info +/opt/x86mingw32ce/info/gdb.info-4 +/opt/x86mingw32ce/info/configure.info +/opt/x86mingw32ce/info/gdb.info-3 +/opt/x86mingw32ce/info/gdbint.info +/opt/x86mingw32ce/info/standards.info +/opt/x86mingw32ce/info/gdbint.info-1 +/opt/x86mingw32ce/info/gdb.info-1 +/opt/x86mingw32ce/info/gdb.info-2 +/opt/x86mingw32ce/man/man1/i386-mingw32ce-run.1 +/opt/x86mingw32ce/man/man1/i386-mingw32ce-gdb.1 +/opt/x86mingw32ce/man/man1/i386-mingw32ce-gdbtui.1 +/opt/x86mingw32ce/man/man1/gdbserver.1 +/opt/x86mingw32ce/share/locale/*/LC_MESSAGES/opcodes.mo +/opt/x86mingw32ce/share/locale/*/LC_MESSAGES/bfd.mo + +%changelog +* Fri May 08 2009 Danny Backx <dan...@us...> +- Copy gdb-mingw32ce-arm.spec.in into gdb-mingw32ce-i386.spec.in, + change arm to i386. Property changes on: trunk/cegcc/scripts/linux/gdb-mingw32ce-i386.spec.in ___________________________________________________________________ Added: svn:eol-style + native Modified: trunk/cegcc/scripts/linux/rpm-create-source.sh.in =================================================================== --- trunk/cegcc/scripts/linux/rpm-create-source.sh.in 2009-05-07 13:44:45 UTC (rev 1267) +++ trunk/cegcc/scripts/linux/rpm-create-source.sh.in 2009-05-08 04:17:42 UTC (rev 1268) @@ -72,6 +72,44 @@ echo "Note : " `ls -l /usr/src/rpm/SOURCES/cegcc-mingw32ce-src-"$CEGCC_RELEASE".tar.gz` echo " " # +# Gdb +# +FTP_DIR=$TOP_SRCDIR/src/ftp +GDB_VERSION=gdb-6.8 +GDB_SUFFIX=.tar.bz2 +GDB_URL="ftp://ftp.gnu.org/pub/gnu/gdb"/$GDB_VERSION$GDB_SUFFIX +# +if [ ! -r $FTP_DIR/$GDB_VERSION$GDB_SUFFIX.ok ]; then + wget -O $FTP_DIR/$GDB_VERSION$GDB_SUFFIX -c $GDB_URL + if [ $? -eq 0 ]; then + touch $FTP_DIR/$GDB_VERSION$GDB_SUFFIX.ok + else + echo "Could not get $GDB_VERSION, exiting" + exit 1 + fi +fi +# +# Unpack gdb in /tmp +mkdir /tmp/gdb-$$ +cd /tmp/gdb-$$ +tar xfj $FTP_DIR/$GDB_VERSION$GDB_SUFFIX +# +# Apply our patch if it's there +# +if [ -r $FTP_DIR/gdb-6.8-i386gdbserver.patch ]; then + patch $FTP_DIR/gdb-6.8-i386gdbserver.patch +fi +# +cp $TOP_SRCDIR/scripts/linux/gdb-mingw32ce-arm.spec $GDB_VERSION +ln -s $GDB_VERSION gdb-mingw32ce-arm-VerSION +tar cfz /usr/src/rpm/SOURCES/gdb-mingw32ce-arm-VerSION-src.tar.gz gdb-mingw32ce-arm-VerSION/* +rm -f $GDB_VERSION/gdb-mingw32ce-arm.spec +cp $TOP_SRCDIR/scripts/linux/gdb-mingw32ce-i386.spec $GDB_VERSION +ln -s $GDB_VERSION gdb-mingw32ce-i386-VerSION +tar cfz /usr/src/rpm/SOURCES/gdb-mingw32ce-i386-VerSION-src.tar.gz gdb-mingw32ce-i386-VerSION/* +cd $TOP_SRCDIR +rm -rf /tmp/gdb-$$ +# # All done # exit 0 Modified: trunk/cegcc/scripts/make_release.sh =================================================================== --- trunk/cegcc/scripts/make_release.sh 2009-05-07 13:44:45 UTC (rev 1267) +++ trunk/cegcc/scripts/make_release.sh 2009-05-08 04:17:42 UTC (rev 1268) @@ -277,6 +277,8 @@ sed -e "s/VerSION/$VERSION/g" <mingw32ce.spec.in >mingw32ce.spec && \ sed -e "s/VerSION/$VERSION/g" <mingw32ce-i386.spec.in >mingw32ce-i386.spec && \ sed -e "s/VerSION/$VERSION/g" <rpm-create-source.sh.in >rpm-create-source.sh && \ + sed -e "s/VerSION/$VERSION/g" <gdb-mingw32ce-arm.spec.in >gdb-mingw32ce-arm.spec && \ + sed -e "s/VerSION/$VERSION/g" <gdb-mingw32ce-i386.spec.in >gdb-mingw32ce-i386.spec && \ OK=yes if [ $OK = "no" ]; then echo "Failed to do file editing, exiting" @@ -337,9 +339,12 @@ report_status # fi -echo Stop -exit 0 # +# +# +#echo Stop +#exit 0 +# # Level 51 # if test $RESTARTED -ge 52 @@ -429,12 +434,16 @@ else echo "Level 57 (Build Mingw32ce gdb)" OK=no -# rm -rf /opt/x86mingw32ce/* && -# rpmbuild -tb /usr/src/rpm/SOURCES/cegcc-mingw32ce-i386-src-$VERSION.tar.gz && OK=yes + rpmbuild -tb /usr/src/rpm/SOURCES/gdb-mingw32ce-arm-$VERSION-src.tar.gz && OK=yes if [ $OK = "no" ]; then echo "Build of Mingw32ce gdb failed, exiting ..." exit 1 fi + if [ ! -r /usr/src/rpm/RPMS/i586/gdb-mingw32ce-arm-$VERSION-1.i586.rpm ]; then + echo "RPM doesn't appear to be there, exiting ..." + echo "ls -l /usr/src/rpm/RPMS/i586/gdb-mingw32ce-arm-$VERSION-1.i586.rpm" + exit 1 + fi # # End level 57 (Build Mingw32ce gdb) # @@ -451,12 +460,16 @@ else echo "Level 58 (Build Mingw32ce/i386 gdb)" OK=no -# rm -rf /opt/x86mingw32ce/* && -# rpmbuild -tb /usr/src/rpm/SOURCES/cegcc-mingw32ce-i386-src-$VERSION.tar.gz && OK=yes + rpmbuild -tb /usr/src/rpm/SOURCES/gdb-mingw32ce-i386-$VERSION-src.tar.gz && OK=yes if [ $OK = "no" ]; then - echo "Build of Mingw32ce/i386 gdb failed, exiting ..." + echo "Build of Mingw32ce gdb failed, exiting ..." exit 1 fi + if [ ! -r /usr/src/rpm/RPMS/i586/gdb-mingw32ce-i386-$VERSION-1.i586.rpm ]; then + echo "RPM doesn't appear to be there, exiting ..." + echo "ls -l /usr/src/rpm/RPMS/i586/gdb-mingw32ce-i386-$VERSION-1.i586.rpm" + exit 1 + fi # # End level 58 (Build Mingw32ce/i386 gdb) # @@ -478,29 +491,49 @@ echo "lcd /usr/src/rpm/RPMS/i586" >>$FTPFILE echo "cd uploads" >>$FTPFILE # + # A prefix + # + if [ "x$LINUXDISTRO" = "x" ]; then + PREFIX="" + else + PREFIX="$LINUXDISTRO-" + fi + # # Cope with potentially different file names generated by rpmbuild. # - LIST=`ls cegcc-cegcc-$VERSION-*.i586.rpm` + LIST=`ls cegcc-cegcc-$VERSION-?.i586.rpm` COUNT=`echo $LIST | wc -w` if [ $COUNT -ne 1 ]; then echo "Unexpected number of RPM files, please clean up before continuing." exit 1 fi - if [ "x$LINUXDISTRO" = "x" ]; then - PREFIX="" - else - PREFIX="$LINUXDISTRO-" + echo "put $LIST $PREFIX$LIST" >>$FTPFILE + LIST=`ls cegcc-mingw32ce-$VERSION-?.i586.rpm` + COUNT=`echo $LIST | wc -w` + if [ $COUNT -ne 1 ]; then + echo "Unexpected number of RPM files, please clean up before continuing." + exit 1 fi - echo "put $LIST -o $PREFIX$LIST" >>$FTPFILE - LIST=`ls cegcc-mingw32ce-$VERSION-*.i586.rpm` + echo "put $LIST $PREFIX$LIST" >>$FTPFILE + # + # Gdb + # + LIST=`ls gdb-mingw32ce-arm-$VERSION-?.i586.rpm` COUNT=`echo $LIST | wc -w` if [ $COUNT -ne 1 ]; then echo "Unexpected number of RPM files, please clean up before continuing." exit 1 fi - echo "put $LIST -o $PREFIX$LIST" >>$FTPFILE + echo "put $LIST $PREFIX$LIST" >>$FTPFILE + LIST=`ls gdb-mingw32ce-i386-$VERSION-?.i586.rpm` + COUNT=`echo $LIST | wc -w` + if [ $COUNT -ne 1 ]; then + echo "Unexpected number of RPM files, please clean up before continuing." + exit 1 + fi + echo "put $LIST $PREFIX$LIST" >>$FTPFILE echo "quit" >>$FTPFILE - sftp -b $FTPFILE dannybackx,ce...@fr... + sftp -b $FTPFILE dan...@fr... # # End level 60 (FTP RPM) # @@ -508,7 +541,8 @@ report_status # fi - +echo Stop +exit 0 # # Level 70 # @@ -565,7 +599,7 @@ # echo "put cegcc-mingw32ce-src-$VERSION.tar.gz" >>$FTPFILE echo "quit" >>$FTPFILE OK=no - sftp -b $FTPFILE dannybackx,ce...@fr... && OK=yes + sftp -b $FTPFILE dan...@fr... && OK=yes if [ $OK = "no" ]; then echo "FTP binary tar failed, exiting..." exit 1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |