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...> - 2006-11-25 08:00:19
|
Revision: 822 http://svn.sourceforge.net/cegcc/?rev=822&view=rev Author: dannybackx Date: 2006-11-25 00:00:16 -0800 (Sat, 25 Nov 2006) Log Message: ----------- Describe msvcrt Modified Paths: -------------- branches/danny/cegcc/docs/structure.html Modified: branches/danny/cegcc/docs/structure.html =================================================================== --- branches/danny/cegcc/docs/structure.html 2006-11-22 19:58:22 UTC (rev 821) +++ branches/danny/cegcc/docs/structure.html 2006-11-25 08:00:16 UTC (rev 822) @@ -77,5 +77,23 @@ Our implementation of newlib is itself augmented with some Windows CE specific stuff. The idea is to document this stuff in <A HREF="layer.html">the unix-like layer provided by CeGCC</A>. +<H1>Comparison to other libraries and modules</H1> +<H2>MSVCRT</H2> +<P> +This might be the Microsoft Visual C RunTime library. +MSDN describes msvcrt.dll +<A HREF="http://search.msdn.microsoft.com/search/Redirect.aspx?title=C+Run-Time+Libraries+(CRT)+&url=http://msdn2.microsoft.com/en-us/library/abx4dbyh(VS.80).aspx">here</A> +as a multi-threaded dynamic link library (aka DLL). +In <A HREF="http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vclib/html/_crt_c_run.2d.time_libraries.asp">this page</A> +it is further described as a system library that is intended for use by Windows itself, +but that you're allowed to use in applications. +<P> +This is not something we have on Windows CE. +<P> +A source of confusion might be that there are MSVCRT replacement libraries in MingW, +which you might be tempted to port. +These are incompatible with the two other sets of libraries that we do use, +COREDLL (Windows CE's standard library), +and newlib (a more unix-like library). </BODY> </HTML> This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-11-22 19:58:23
|
Revision: 821 http://svn.sourceforge.net/cegcc/?rev=821&view=rev Author: dannybackx Date: 2006-11-22 11:58:22 -0800 (Wed, 22 Nov 2006) Log Message: ----------- Fix the type of one of the fields in CHOOSECOLOR as described in http://msdn2.microsoft.com/en-us/library/ms959872.aspx : the type of the hInstance field is strangely defined to be HWND in other versions of Windows, on CE it looks right. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/commdlg.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-21 23:01:51 UTC (rev 820) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-22 19:58:22 UTC (rev 821) @@ -1,3 +1,10 @@ +2006-11-22 Danny Backx <dan...@us...> + + * include/commdlg.h (CHOOSECOLOR) : Fix type of hInstance field as + described in http://msdn2.microsoft.com/en-us/library/ms959872.aspx . + This field appears to have an inconsistent type definition in other + versions of Windows. + 2006-11-19 Kevin O'Connor <ke...@ko...> * include/tlhelp32.h (PROCESSENTRY32, THREADENTRY32, Modified: trunk/cegcc/src/w32api/include/commdlg.h =================================================================== --- trunk/cegcc/src/w32api/include/commdlg.h 2006-11-21 23:01:51 UTC (rev 820) +++ trunk/cegcc/src/w32api/include/commdlg.h 2006-11-22 19:58:22 UTC (rev 821) @@ -252,7 +252,11 @@ typedef struct tagCHOOSECOLORW { DWORD lStructSize; HWND hwndOwner; +#if (_WIN32_WCE >= 0x0200) + HINSTANCE hInstance; +#else HWND hInstance; +#endif COLORREF rgbResult; COLORREF* lpCustColors; DWORD Flags; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-11-21 23:01:55
|
Revision: 820 http://svn.sourceforge.net/cegcc/?rev=820&view=rev Author: dannybackx Date: 2006-11-21 15:01:51 -0800 (Tue, 21 Nov 2006) Log Message: ----------- Most of this is written by Pedro and somewhat reformatted by me. I need to find time to make this more complete. Added Paths: ----------- branches/danny/cegcc/docs/structure.html Added: branches/danny/cegcc/docs/structure.html =================================================================== --- branches/danny/cegcc/docs/structure.html (rev 0) +++ branches/danny/cegcc/docs/structure.html 2006-11-21 23:01:51 UTC (rev 820) @@ -0,0 +1,81 @@ +<HTML> +<HEAD> +<TITLE>CeGCC directory and module structure</TITLE> +<img src="../images/banner1.png" alt="CeGCC cross compiler for PocketPC"> +</HEAD> +<BODY> +<P> +This document describes the structure of the CeGCC directory tree +and of the CeGCC modules. +By <i>modules</i> we mean the different softwares or their components, +which we assemble to create CeGCC. +<P> +<H1>Directory structure - src/</H1> +<H2>src/mingw</H2> +This directory's primary purpose is to hold the necessary startup code +and needed static code +to be able to use coredll.dll as only runtime. +You can consider src/mingw a gcc replacement for corelibc.lib +in other development tools. +Added to that, there are some other goodies. +<H3>src/mingw/mingwex</H3> +Mingwex are the MinGW added extensions to add support for C99 and some POSIX functionality not found in MSVCRT. +See <A HREF="http://www.mingw.org/MinGWiki/index.php/mingwex">http://www.mingw.org/MinGWiki/index.php/mingwex</A> +Please don't just add stubs there. +Those are more harmful that good, +because if you do, an app using autoconf's AC_CHECK_FUNC will find it, +and instead of providing a proper replacement, will call the stubbed +one, which won't work obviously. +<H3>src/mingw/profile</H3> +<H3>src/mingw/wince</H3> +Then there is the new mingw/wince dir, where one place wince code that +doesn't fit in the other dirs, because +the desktop versions of mingw doesn't need it. Keep in mind, that the +less we diverge from the upstream versions, +the easiest we can pull from updates they have. +<H3>src/mingw/include</H3> +The headers in mingw/include correspond to the std c part of coredll.dll +(stdio.h, stdlib.h, etc, etc.). +This contrasts with src/w32api/include which holds headers corresponding to +win32 api definitions, there is no std c runtime stuff there. +The arm-wince-mingw32ce toolset uses only the Windows CE DLLs, +the arm-wince-cegcc uses newlib, so it uses the corresponding newlib headers. +You can't (shouldn't) mix headers from newlib, and from mingw/include. +<P> +Take a look, there are headers with the same name, +for instance, there is a stdio.h in newlib, +and a stdio.h too in mingw/include, but they are incompatible. Usually +the headers from newlib are more complete, but +so is the c runtime support in newlib. The danger in mixing the two sets +is in that some (many/most) constants +and structures are completely different in the two. +<P> +Take for instance the stdio functions. The FILE struct (think fprintf, +fwrite, etc) is totally incompatible in the two. Sure, struct FILE +is (mostly) an opaque structure, but there are cases where an inline +function accesses its members directly. Take stdout for instance, +in newlib, it maps to something like '_impure_ptr->_stdout' (from heart, +so the names may be wrong), while in +mingw/include (mingw32ce), it maps to '_getstdfilex(1)'. +<P> +Now imagine a cegcc app, calling newlib's version of fprintf like so: +<PRE> +fprintf (stdout, "Look ma, I can crash!\n"); +</PRE> +which after preprocessing, maps to: +<PRE> +fprintf (_getstdfilex(1), "Look ma, I can crash!\n"); +</PRE> +If that doesn't crash, it will be pure luck. +<H3>src/w32api/include</H3> +This holds headers corresponding to +win32 api definitions, there is no std c runtime stuff there. +<H2>src/newlib</H2> +Newlib is a portable C library implementation. +We're using it to augment the arm-wince-cegcc toolset with a UNIX-like environment. +<H3>src/newlib/newlib/libc/sys/wince</H3> +Our implementation of newlib is itself augmented with some Windows CE specific stuff. +The idea is to document this stuff in +<A HREF="layer.html">the unix-like layer provided by CeGCC</A>. +</BODY> +</HTML> Property changes on: branches/danny/cegcc/docs/structure.html ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-19 05:16:03
|
Revision: 819 http://svn.sourceforge.net/cegcc/?rev=819&view=rev Author: pedroalves Date: 2006-11-18 21:16:00 -0800 (Sat, 18 Nov 2006) Log Message: ----------- Set svn:eol-style native. Property Changed: ---------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/VERSIONS Property changes on: trunk/cegcc/src/ChangeLog ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/cegcc/src/VERSIONS ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-19 05:11:39
|
Revision: 818 http://svn.sourceforge.net/cegcc/?rev=818&view=rev Author: pedroalves Date: 2006-11-18 21:11:38 -0800 (Sat, 18 Nov 2006) Log Message: ----------- Set svn:eol-style native. Property Changed: ---------------- trunk/cegcc/src/gcc/gcc/ChangeLog.ce trunk/cegcc/src/gcc/libstdc++-v3/ChangeLog.ce Property changes on: trunk/cegcc/src/gcc/gcc/ChangeLog.ce ___________________________________________________________________ Name: svn:eol-style + native Property changes on: trunk/cegcc/src/gcc/libstdc++-v3/ChangeLog.ce ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-19 05:07:40
|
Revision: 817 http://svn.sourceforge.net/cegcc/?rev=817&view=rev Author: pedroalves Date: 2006-11-18 21:07:39 -0800 (Sat, 18 Nov 2006) Log Message: ----------- Setting svn:eol-style native. Property Changed: ---------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce Property changes on: trunk/cegcc/src/mingw/ChangeLog.mingw32ce ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-19 05:05:57
|
Revision: 816 http://svn.sourceforge.net/cegcc/?rev=816&view=rev Author: pedroalves Date: 2006-11-18 21:05:55 -0800 (Sat, 18 Nov 2006) Log Message: ----------- Darn, this missed the svn:eol-style native. Fixed. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce Property Changed: ---------------- trunk/cegcc/src/w32api/ChangeLog.ce Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-19 04:54:28 UTC (rev 815) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-19 05:05:55 UTC (rev 816) @@ -1,98 +1,98 @@ -2006-11-19 Kevin O'Connor <ke...@ko...> - - * include/tlhelp32.h (PROCESSENTRY32, THREADENTRY32, - MODULEENTRY32): Update fields. - -2006-11-18 Danny Backx <dan...@us...> - - * include/winbase.h (lstrcpy) : Fix typo. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/winuser.h (GetSystemMenu): Implement as macro. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/winuser.h (DrawIcon): Implement in terms of DrawIconEx. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/wingdi.h (GetTextExtentPoint32, GetTextExtentPointW): - Implement in terms of GetTextExtentExPointW. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/shlobj.h (SHGetSpecialFolderPath): In Windows CE it is declared ... - * include/shellapi.h (SHGetSpecialFolderPath): ... here. - (SHGetShortcutTarget, SHCreateShortcut): Declare. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/winnt.h (GetCurrentFiber, GetFiberData, - GetCurrentFiber, GetFiberData, NtCurrentTeb): There is no Fiber - support in Windows CE. Hide the functions. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/commctrl.h (IMAGELISTDRAWPARAMS): There are no fState, - Frame or crEffect members in CE version. - (ImageList_Duplicate, ImageList_SetImageCount, ImageList_Copy, - ImageList_DrawIndirect): Enable on Windows CE >= 2. - -2006-11-12 Kevin O'Connor <ke...@ko...> - - * include/winuser.h (SPI_GETOEMINFO, SPI_GETPLATFORMTYPE): Define. - -2006-11-12 Kevin O'Connor <ke...@ko...> - - * include/tlhelp32.h (CloseToolhelp32Snapshot): Define. - CE's Toolhelp functions/structures although wide, don't take the - W suffix. Adapt. - * include/winnt.h (PAGE_PHYSICAL): Define. - * include/winbase.h (GetStoreInformation, CeSetThreadQuantum, - LockResource): Define. - * include/winuser.h (CheckDlgButton): Define in terms of - SendDlgItemMessage. - (CreateDialogParamW): Define using CreateDialogIndirectParamW. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/winnt.h (_M_ARM, ARM): Translate from gcc target defines. - * include/windows.h (_M_ARM, ARM): Likewise. - -2006-11-11 Danny Backx <dan...@us...> - - * include/aygshell.h (WC_SIPPREF): Define. - * include/todaycmn.h : Clear the contents of this file, - it was tainted. We must do clean work to create a file - such as this one, so I'm leaving the (empty) file as a placeholder. - -2006-11-06 Pedro Alves <ped...@po...> - - * include/commctrl.h (LVCF_IMAGE, LVCF_ORDER) : Also declare on - Windows CE >= 2. - (LVCOLUMNW) : Use the version with iImage and iOrder - on Windows CE >= 2. - -2006-11-02 Kevin O'Connor <ke...@ko...> - - * include/winuser.h (DialogBoxParamW) : Implement on terms of - DialogBoxIndirectParamW. - -2006-11-01 Danny Backx <dan...@us...> - - * include/todaycmn.h : Add file. - -2006-11-01 Danny Backx <dan...@us...> - - * include/winbase.h (lstrcpy, lstrcat, lstrlen) : Add includes - to define these. - -2006-10-29 Danny Backx <dan...@us...> - - * include/winuser.h (WS_EX_NODRAG) : Define. - -2006-10-16 Pedro Alves <ped...@po...> - - * include/kfuncs.h (EventModify) : Declare. - (TlsCall) : Add WINBASEAPI and WINAPI to declaration. +2006-11-19 Kevin O'Connor <ke...@ko...> + + * include/tlhelp32.h (PROCESSENTRY32, THREADENTRY32, + MODULEENTRY32): Update fields. + +2006-11-18 Danny Backx <dan...@us...> + + * include/winbase.h (lstrcpy) : Fix typo. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/winuser.h (GetSystemMenu): Implement as macro. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/winuser.h (DrawIcon): Implement in terms of DrawIconEx. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/wingdi.h (GetTextExtentPoint32, GetTextExtentPointW): + Implement in terms of GetTextExtentExPointW. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/shlobj.h (SHGetSpecialFolderPath): In Windows CE it is declared ... + * include/shellapi.h (SHGetSpecialFolderPath): ... here. + (SHGetShortcutTarget, SHCreateShortcut): Declare. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/winnt.h (GetCurrentFiber, GetFiberData, + GetCurrentFiber, GetFiberData, NtCurrentTeb): There is no Fiber + support in Windows CE. Hide the functions. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/commctrl.h (IMAGELISTDRAWPARAMS): There are no fState, + Frame or crEffect members in CE version. + (ImageList_Duplicate, ImageList_SetImageCount, ImageList_Copy, + ImageList_DrawIndirect): Enable on Windows CE >= 2. + +2006-11-12 Kevin O'Connor <ke...@ko...> + + * include/winuser.h (SPI_GETOEMINFO, SPI_GETPLATFORMTYPE): Define. + +2006-11-12 Kevin O'Connor <ke...@ko...> + + * include/tlhelp32.h (CloseToolhelp32Snapshot): Define. + CE's Toolhelp functions/structures although wide, don't take the + W suffix. Adapt. + * include/winnt.h (PAGE_PHYSICAL): Define. + * include/winbase.h (GetStoreInformation, CeSetThreadQuantum, + LockResource): Define. + * include/winuser.h (CheckDlgButton): Define in terms of + SendDlgItemMessage. + (CreateDialogParamW): Define using CreateDialogIndirectParamW. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/winnt.h (_M_ARM, ARM): Translate from gcc target defines. + * include/windows.h (_M_ARM, ARM): Likewise. + +2006-11-11 Danny Backx <dan...@us...> + + * include/aygshell.h (WC_SIPPREF): Define. + * include/todaycmn.h : Clear the contents of this file, + it was tainted. We must do clean work to create a file + such as this one, so I'm leaving the (empty) file as a placeholder. + +2006-11-06 Pedro Alves <ped...@po...> + + * include/commctrl.h (LVCF_IMAGE, LVCF_ORDER) : Also declare on + Windows CE >= 2. + (LVCOLUMNW) : Use the version with iImage and iOrder + on Windows CE >= 2. + +2006-11-02 Kevin O'Connor <ke...@ko...> + + * include/winuser.h (DialogBoxParamW) : Implement on terms of + DialogBoxIndirectParamW. + +2006-11-01 Danny Backx <dan...@us...> + + * include/todaycmn.h : Add file. + +2006-11-01 Danny Backx <dan...@us...> + + * include/winbase.h (lstrcpy, lstrcat, lstrlen) : Add includes + to define these. + +2006-10-29 Danny Backx <dan...@us...> + + * include/winuser.h (WS_EX_NODRAG) : Define. + +2006-10-16 Pedro Alves <ped...@po...> + + * include/kfuncs.h (EventModify) : Declare. + (TlsCall) : Add WINBASEAPI and WINAPI to declaration. Property changes on: trunk/cegcc/src/w32api/ChangeLog.ce ___________________________________________________________________ Name: svn:eol-style + native This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-19 04:54:34
|
Revision: 815 http://svn.sourceforge.net/cegcc/?rev=815&view=rev Author: pedroalves Date: 2006-11-18 20:54:28 -0800 (Sat, 18 Nov 2006) Log Message: ----------- * include/tlhelp32.h (PROCESSENTRY32, THREADENTRY32, MODULEENTRY32): Update fields. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/tlhelp32.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-19 04:34:22 UTC (rev 814) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-19 04:54:28 UTC (rev 815) @@ -1,93 +1,98 @@ -2006-11-18 Danny Backx <dan...@us...> - - * include/winbase.h (lstrcpy) : Fix typo. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/winuser.h (GetSystemMenu): Implement as macro. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/winuser.h (DrawIcon): Implement in terms of DrawIconEx. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/wingdi.h (GetTextExtentPoint32, GetTextExtentPointW): - Implement in terms of GetTextExtentExPointW. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/shlobj.h (SHGetSpecialFolderPath): In Windows CE it is declared ... - * include/shellapi.h (SHGetSpecialFolderPath): ... here. - (SHGetShortcutTarget, SHCreateShortcut): Declare. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/winnt.h (GetCurrentFiber, GetFiberData, - GetCurrentFiber, GetFiberData, NtCurrentTeb): There is no Fiber - support in Windows CE. Hide the functions. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/commctrl.h (IMAGELISTDRAWPARAMS): There are no fState, - Frame or crEffect members in CE version. - (ImageList_Duplicate, ImageList_SetImageCount, ImageList_Copy, - ImageList_DrawIndirect): Enable on Windows CE >= 2. - -2006-11-12 Kevin O'Connor <ke...@ko...> - - * include/winuser.h (SPI_GETOEMINFO, SPI_GETPLATFORMTYPE): Define. - -2006-11-12 Kevin O'Connor <ke...@ko...> - - * include/tlhelp32.h (CloseToolhelp32Snapshot): Define. - CE's Toolhelp functions/structures although wide, don't take the - W suffix. Adapt. - * include/winnt.h (PAGE_PHYSICAL): Define. - * include/winbase.h (GetStoreInformation, CeSetThreadQuantum, - LockResource): Define. - * include/winuser.h (CheckDlgButton): Define in terms of - SendDlgItemMessage. - (CreateDialogParamW): Define using CreateDialogIndirectParamW. - -2006-11-12 Pedro Alves <ped...@po...> - - * include/winnt.h (_M_ARM, ARM): Translate from gcc target defines. - * include/windows.h (_M_ARM, ARM): Likewise. - -2006-11-11 Danny Backx <dan...@us...> - - * include/aygshell.h (WC_SIPPREF): Define. - * include/todaycmn.h : Clear the contents of this file, - it was tainted. We must do clean work to create a file - such as this one, so I'm leaving the (empty) file as a placeholder. - -2006-11-06 Pedro Alves <ped...@po...> - - * include/commctrl.h (LVCF_IMAGE, LVCF_ORDER) : Also declare on - Windows CE >= 2. - (LVCOLUMNW) : Use the version with iImage and iOrder - on Windows CE >= 2. - -2006-11-02 Kevin O'Connor <ke...@ko...> - - * include/winuser.h (DialogBoxParamW) : Implement on terms of - DialogBoxIndirectParamW. - -2006-11-01 Danny Backx <dan...@us...> - - * include/todaycmn.h : Add file. - -2006-11-01 Danny Backx <dan...@us...> - - * include/winbase.h (lstrcpy, lstrcat, lstrlen) : Add includes - to define these. - -2006-10-29 Danny Backx <dan...@us...> - - * include/winuser.h (WS_EX_NODRAG) : Define. - -2006-10-16 Pedro Alves <ped...@po...> - - * include/kfuncs.h (EventModify) : Declare. - (TlsCall) : Add WINBASEAPI and WINAPI to declaration. +2006-11-19 Kevin O'Connor <ke...@ko...> + + * include/tlhelp32.h (PROCESSENTRY32, THREADENTRY32, + MODULEENTRY32): Update fields. + +2006-11-18 Danny Backx <dan...@us...> + + * include/winbase.h (lstrcpy) : Fix typo. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/winuser.h (GetSystemMenu): Implement as macro. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/winuser.h (DrawIcon): Implement in terms of DrawIconEx. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/wingdi.h (GetTextExtentPoint32, GetTextExtentPointW): + Implement in terms of GetTextExtentExPointW. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/shlobj.h (SHGetSpecialFolderPath): In Windows CE it is declared ... + * include/shellapi.h (SHGetSpecialFolderPath): ... here. + (SHGetShortcutTarget, SHCreateShortcut): Declare. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/winnt.h (GetCurrentFiber, GetFiberData, + GetCurrentFiber, GetFiberData, NtCurrentTeb): There is no Fiber + support in Windows CE. Hide the functions. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/commctrl.h (IMAGELISTDRAWPARAMS): There are no fState, + Frame or crEffect members in CE version. + (ImageList_Duplicate, ImageList_SetImageCount, ImageList_Copy, + ImageList_DrawIndirect): Enable on Windows CE >= 2. + +2006-11-12 Kevin O'Connor <ke...@ko...> + + * include/winuser.h (SPI_GETOEMINFO, SPI_GETPLATFORMTYPE): Define. + +2006-11-12 Kevin O'Connor <ke...@ko...> + + * include/tlhelp32.h (CloseToolhelp32Snapshot): Define. + CE's Toolhelp functions/structures although wide, don't take the + W suffix. Adapt. + * include/winnt.h (PAGE_PHYSICAL): Define. + * include/winbase.h (GetStoreInformation, CeSetThreadQuantum, + LockResource): Define. + * include/winuser.h (CheckDlgButton): Define in terms of + SendDlgItemMessage. + (CreateDialogParamW): Define using CreateDialogIndirectParamW. + +2006-11-12 Pedro Alves <ped...@po...> + + * include/winnt.h (_M_ARM, ARM): Translate from gcc target defines. + * include/windows.h (_M_ARM, ARM): Likewise. + +2006-11-11 Danny Backx <dan...@us...> + + * include/aygshell.h (WC_SIPPREF): Define. + * include/todaycmn.h : Clear the contents of this file, + it was tainted. We must do clean work to create a file + such as this one, so I'm leaving the (empty) file as a placeholder. + +2006-11-06 Pedro Alves <ped...@po...> + + * include/commctrl.h (LVCF_IMAGE, LVCF_ORDER) : Also declare on + Windows CE >= 2. + (LVCOLUMNW) : Use the version with iImage and iOrder + on Windows CE >= 2. + +2006-11-02 Kevin O'Connor <ke...@ko...> + + * include/winuser.h (DialogBoxParamW) : Implement on terms of + DialogBoxIndirectParamW. + +2006-11-01 Danny Backx <dan...@us...> + + * include/todaycmn.h : Add file. + +2006-11-01 Danny Backx <dan...@us...> + + * include/winbase.h (lstrcpy, lstrcat, lstrlen) : Add includes + to define these. + +2006-10-29 Danny Backx <dan...@us...> + + * include/winuser.h (WS_EX_NODRAG) : Define. + +2006-10-16 Pedro Alves <ped...@po...> + + * include/kfuncs.h (EventModify) : Declare. + (TlsCall) : Add WINBASEAPI and WINAPI to declaration. Modified: trunk/cegcc/src/w32api/include/tlhelp32.h =================================================================== --- trunk/cegcc/src/w32api/include/tlhelp32.h 2006-11-19 04:34:22 UTC (rev 814) +++ trunk/cegcc/src/w32api/include/tlhelp32.h 2006-11-19 04:54:28 UTC (rev 815) @@ -72,6 +72,8 @@ DWORD dwFlags; #ifdef _WIN32_WCE WCHAR szExeFile[MAX_PATH]; + DWORD th32MemoryBase; + DWORD th32AccessKey; #else CHAR szExeFile[MAX_PATH]; #endif @@ -84,6 +86,10 @@ LONG tpBasePri; LONG tpDeltaPri; DWORD dwFlags; +#ifdef _WIN32_WCE + DWORD th32AccessKey; + DWORD th32CurrentProcessID; +#endif } THREADENTRY32,*PTHREADENTRY32,*LPTHREADENTRY32; typedef struct tagMODULEENTRY32W { DWORD dwSize; @@ -109,6 +115,7 @@ #ifdef _WIN32_WCE WCHAR szModule[MAX_MODULE_NAME32 + 1]; WCHAR szExePath[MAX_PATH]; + DWORD dwFlags; #else CHAR szModule[MAX_MODULE_NAME32 + 1]; CHAR szExePath[MAX_PATH]; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-19 04:34:23
|
Revision: 814 http://svn.sourceforge.net/cegcc/?rev=814&view=rev Author: pedroalves Date: 2006-11-18 20:34:22 -0800 (Sat, 18 Nov 2006) Log Message: ----------- * include/stdio.h (rmtmp): Fix typo. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/include/stdio.h Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2006-11-19 04:30:44 UTC (rev 813) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2006-11-19 04:34:22 UTC (rev 814) @@ -1,5 +1,9 @@ 2006-11-19 Pedro Alves <ped...@po...> + * include/stdio.h (rmtmp): Fix typo. + +2006-11-19 Pedro Alves <ped...@po...> + * mingwex/wince/unlink.c (unlink): New function, implementing an alias for the underscored version. * mingwex/wince/read.c (read): Likewise. Modified: trunk/cegcc/src/mingw/include/stdio.h =================================================================== --- trunk/cegcc/src/mingw/include/stdio.h 2006-11-19 04:30:44 UTC (rev 813) +++ trunk/cegcc/src/mingw/include/stdio.h 2006-11-19 04:34:22 UTC (rev 814) @@ -215,7 +215,7 @@ #ifndef NO_OLDNAMES _CRTIMP char* __cdecl tempnam (const char*, const char*); #ifndef __COREDLL__ -CRTIMP int __cdecl rmtmp(void); +_CRTIMP int __cdecl rmtmp(void); #endif /* __COREDLL__ */ #endif /* NO_OLDNAMES */ #endif /* __STRICT_ANSI__ */ This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-19 04:30:46
|
Revision: 813 http://svn.sourceforge.net/cegcc/?rev=813&view=rev Author: pedroalves Date: 2006-11-18 20:30:44 -0800 (Sat, 18 Nov 2006) Log Message: ----------- * mingwex/wince/unlink.c (unlink): New function, implementing an alias for the underscored version. * mingwex/wince/read.c (read): Likewise. * mingwex/wince/write.c (write): Likewise. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/mingwex/wince/read.c trunk/cegcc/src/mingw/mingwex/wince/unlink.c trunk/cegcc/src/mingw/mingwex/wince/write.c Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2006-11-18 15:01:40 UTC (rev 812) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2006-11-19 04:30:44 UTC (rev 813) @@ -1,3 +1,10 @@ +2006-11-19 Pedro Alves <ped...@po...> + + * mingwex/wince/unlink.c (unlink): New function, implementing an + alias for the underscored version. + * mingwex/wince/read.c (read): Likewise. + * mingwex/wince/write.c (write): Likewise. + 2006-11-16 Pedro Alves <ped...@po...> * moldname.def.in (open, lseek, read, write): Don't export on @@ -8,8 +15,6 @@ * mingwex/wince/lseek.c (lseek): New function, implementing an alias for the underscored version. * mingwex/wince/fdopen.c (fdopen): Likewise. - * mingwex/wince/read.c (read): Likewise. - * mingwex/wince/write.c (write): Likewise. 2006-11-13 Pedro Alves <ped...@po...> Modified: trunk/cegcc/src/mingw/mingwex/wince/read.c =================================================================== --- trunk/cegcc/src/mingw/mingwex/wince/read.c 2006-11-18 15:01:40 UTC (rev 812) +++ trunk/cegcc/src/mingw/mingwex/wince/read.c 2006-11-19 04:30:44 UTC (rev 813) @@ -11,3 +11,9 @@ return -1; return (int) NumberOfBytesRead; } + +int +read (int fildes, void *buf, unsigned int bufsize) +{ + return _read (fildes, buf, bufsize); +} Modified: trunk/cegcc/src/mingw/mingwex/wince/unlink.c =================================================================== --- trunk/cegcc/src/mingw/mingwex/wince/unlink.c 2006-11-18 15:01:40 UTC (rev 812) +++ trunk/cegcc/src/mingw/mingwex/wince/unlink.c 2006-11-19 04:30:44 UTC (rev 813) @@ -10,3 +10,9 @@ return 0; return -1; } + +int +unlink (const char *file) +{ + return _unlink (file); +} Modified: trunk/cegcc/src/mingw/mingwex/wince/write.c =================================================================== --- trunk/cegcc/src/mingw/mingwex/wince/write.c 2006-11-18 15:01:40 UTC (rev 812) +++ trunk/cegcc/src/mingw/mingwex/wince/write.c 2006-11-19 04:30:44 UTC (rev 813) @@ -11,3 +11,9 @@ return -1; return (int) NumberOfBytesWritten; } + +int +write (int fildes, const void *buf, unsigned int bufsize) +{ + return _write (fildes, buf, bufsize); +} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-11-18 15:01:42
|
Revision: 812 http://svn.sourceforge.net/cegcc/?rev=812&view=rev Author: dannybackx Date: 2006-11-18 07:01:40 -0800 (Sat, 18 Nov 2006) Log Message: ----------- Work around gcc build system bug. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/build-cegcc.sh trunk/cegcc/src/build-mingw32ce.sh Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2006-11-18 14:53:36 UTC (rev 811) +++ trunk/cegcc/src/ChangeLog 2006-11-18 15:01:40 UTC (rev 812) @@ -1,3 +1,8 @@ +2006-11-18 Danny Backx <dan...@us...> + + * build-mingw32ce.sh, build-cegcc.sh (build_gcc) : Work around + gcc build system bug. + 2006-10-27 Pedro Alves <ped...@po...> * build-mingw32ce.sh : Remove duplicated build_all function. @@ -12,6 +17,7 @@ (build_gcc) : Switch to pushd/popd. 2006-10-10 Danny Backx <dan...@us...> + * w32api-3.7 : Remove. It is still possible to recover it from SVN by using the svn versioning mechanisms, e.g. by referring to version 708. Modified: trunk/cegcc/src/build-cegcc.sh =================================================================== --- trunk/cegcc/src/build-cegcc.sh 2006-11-18 14:53:36 UTC (rev 811) +++ trunk/cegcc/src/build-cegcc.sh 2006-11-18 15:01:40 UTC (rev 812) @@ -167,7 +167,19 @@ --enable-checking \ || exit 1 + + # + # Below, the first "make" followed by a file removal, are a workaround + # for a gcc build bug. The existence of the script causes the first + # make to fail, the second one should succeed. Therefore, not checking + # the error code of the first make is intentional. + # + make + rm -f gcc/as make || exit 1 + # + # End workaround + # make install || exit 1 popd || exit 1 Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2006-11-18 14:53:36 UTC (rev 811) +++ trunk/cegcc/src/build-mingw32ce.sh 2006-11-18 15:01:40 UTC (rev 812) @@ -165,7 +165,18 @@ # --disable-clocale \ + # + # Below, the first "make" followed by a file removal, are a workaround + # for a gcc build bug. The existence of the script causes the first + # make to fail, the second one should succeed. Therefore, not checking + # the error code of the first make is intentional. + # + make + rm -f gcc/as make || exit 1 + # + # End workaround + # make install || exit 1 cd ${BASE_DIRECTORY} || exit 1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-11-18 14:53:37
|
Revision: 811 http://svn.sourceforge.net/cegcc/?rev=811&view=rev Author: dannybackx Date: 2006-11-18 06:53:36 -0800 (Sat, 18 Nov 2006) Log Message: ----------- Rolling back the function prototypes, Pedro's remark was correct. 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 2006-11-18 07:54:09 UTC (rev 810) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-18 14:53:36 UTC (rev 811) @@ -1,7 +1,5 @@ 2006-11-18 Danny Backx <dan...@us...> - * include/winbase.h (lstrcpy, lstrcat, lstrlen) : Add prototypes - for the functions pointed to. * include/winbase.h (lstrcpy) : Fix typo. 2006-11-12 Pedro Alves <ped...@po...> Modified: trunk/cegcc/src/w32api/include/winbase.h =================================================================== --- trunk/cegcc/src/w32api/include/winbase.h 2006-11-18 07:54:09 UTC (rev 810) +++ trunk/cegcc/src/w32api/include/winbase.h 2006-11-18 14:53:36 UTC (rev 811) @@ -2463,10 +2463,6 @@ #define lstrcatW wcscat #define lstrlenW wcslen -wchar_t *wcscpy(wchar_t *dest, const wchar_t *src); -wchar_t *wcscat(wchar_t *dest, const wchar_t *src); -size_t wcslen(const wchar_t *string); - #endif #ifdef __cplusplus This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-11-18 07:54:10
|
Revision: 810 http://svn.sourceforge.net/cegcc/?rev=810&view=rev Author: dannybackx Date: 2006-11-17 23:54:09 -0800 (Fri, 17 Nov 2006) Log Message: ----------- Proposed fix to the build functions. This copies the fix I've built in the scripts/linux build to work around a build problem in gcc. Not everyone appears to bump into this problem, but people building other cross compilers have reported the same. The bug appears to be that an invalid flag -Qy is passed from gcc to the assembler. Removing a script created by the gcc configuration fixes the problem. I've reported this to the gcc crowd. Pedro, is this ok for inclusion in trunk ? Modified Paths: -------------- branches/danny/cegcc/src/build-cegcc.sh branches/danny/cegcc/src/build-mingw32ce.sh Modified: branches/danny/cegcc/src/build-cegcc.sh =================================================================== --- branches/danny/cegcc/src/build-cegcc.sh 2006-11-18 07:45:23 UTC (rev 809) +++ branches/danny/cegcc/src/build-cegcc.sh 2006-11-18 07:54:09 UTC (rev 810) @@ -167,6 +167,8 @@ --enable-checking \ || exit 1 + make + rm -f gcc/as make || exit 1 make install || exit 1 Modified: branches/danny/cegcc/src/build-mingw32ce.sh =================================================================== --- branches/danny/cegcc/src/build-mingw32ce.sh 2006-11-18 07:45:23 UTC (rev 809) +++ branches/danny/cegcc/src/build-mingw32ce.sh 2006-11-18 07:54:09 UTC (rev 810) @@ -165,6 +165,8 @@ # --disable-clocale \ + make + rm -f gcc/as make || exit 1 make install || exit 1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-11-18 07:45:24
|
Revision: 809 http://svn.sourceforge.net/cegcc/?rev=809&view=rev Author: dannybackx Date: 2006-11-17 23:45:23 -0800 (Fri, 17 Nov 2006) Log Message: ----------- Fix typo and missing prototypes; this now enables the mingw compiler to correctly build the ctlview application from the Boling book. 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 2006-11-16 14:25:37 UTC (rev 808) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-18 07:45:23 UTC (rev 809) @@ -1,3 +1,9 @@ +2006-11-18 Danny Backx <dan...@us...> + + * include/winbase.h (lstrcpy, lstrcat, lstrlen) : Add prototypes + for the functions pointed to. + * include/winbase.h (lstrcpy) : Fix typo. + 2006-11-12 Pedro Alves <ped...@po...> * include/winuser.h (GetSystemMenu): Implement as macro. Modified: trunk/cegcc/src/w32api/include/winbase.h =================================================================== --- trunk/cegcc/src/w32api/include/winbase.h 2006-11-16 14:25:37 UTC (rev 808) +++ trunk/cegcc/src/w32api/include/winbase.h 2006-11-18 07:45:23 UTC (rev 809) @@ -2459,10 +2459,14 @@ #ifdef _WIN32_WCE #include <kfuncs.h> -#define lstrcpyW wscpy +#define lstrcpyW wcscpy #define lstrcatW wcscat #define lstrlenW wcslen +wchar_t *wcscpy(wchar_t *dest, const wchar_t *src); +wchar_t *wcscat(wchar_t *dest, const wchar_t *src); +size_t wcslen(const wchar_t *string); + #endif #ifdef __cplusplus This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-16 14:27:53
|
Revision: 808 http://svn.sourceforge.net/cegcc/?rev=808&view=rev Author: pedroalves Date: 2006-11-16 06:25:37 -0800 (Thu, 16 Nov 2006) Log Message: ----------- * moldname.def.in (open, lseek, read, write): Don't export on coredll.dll. * mingwex/wince/open.c (vopen): Rename from _open, and made static. * mingwex/wince/open.c (open, _open): New functions. * mingwex/wince/lseek.c (lseek): New function, implementing an alias for the underscored version. * mingwex/wince/fdopen.c (fdopen): Likewise. * mingwex/wince/read.c (read): Likewise. * mingwex/wince/write.c (write): Likewise. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/mingwex/wince/close.c trunk/cegcc/src/mingw/mingwex/wince/fdopen.c trunk/cegcc/src/mingw/mingwex/wince/lseek.c trunk/cegcc/src/mingw/mingwex/wince/open.c trunk/cegcc/src/mingw/moldname.def.in Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2006-11-14 17:48:31 UTC (rev 807) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2006-11-16 14:25:37 UTC (rev 808) @@ -1,3 +1,16 @@ +2006-11-16 Pedro Alves <ped...@po...> + + * moldname.def.in (open, lseek, read, write): Don't export on + coredll.dll. + * mingwex/wince/open.c (vopen): Rename from _open, and made + static. + * mingwex/wince/open.c (open, _open): New functions. + * mingwex/wince/lseek.c (lseek): New function, implementing an + alias for the underscored version. + * mingwex/wince/fdopen.c (fdopen): Likewise. + * mingwex/wince/read.c (read): Likewise. + * mingwex/wince/write.c (write): Likewise. + 2006-11-13 Pedro Alves <ped...@po...> * profile/profile.h: Use __arm__ instead of ARM. Modified: trunk/cegcc/src/mingw/mingwex/wince/close.c =================================================================== --- trunk/cegcc/src/mingw/mingwex/wince/close.c 2006-11-14 17:48:31 UTC (rev 807) +++ trunk/cegcc/src/mingw/mingwex/wince/close.c 2006-11-16 14:25:37 UTC (rev 808) @@ -8,3 +8,9 @@ return 0; return -1; } + +int +close (int fildes) +{ + return _close (fildes); +} Modified: trunk/cegcc/src/mingw/mingwex/wince/fdopen.c =================================================================== --- trunk/cegcc/src/mingw/mingwex/wince/fdopen.c 2006-11-14 17:48:31 UTC (rev 807) +++ trunk/cegcc/src/mingw/mingwex/wince/fdopen.c 2006-11-16 14:25:37 UTC (rev 808) @@ -15,3 +15,9 @@ f = _wfdopen (fildes, wmode); return f; } + +FILE * +fdopen (int fildes, const char *mode) +{ + return _fdopen (fildes, mode); +} Modified: trunk/cegcc/src/mingw/mingwex/wince/lseek.c =================================================================== --- trunk/cegcc/src/mingw/mingwex/wince/lseek.c 2006-11-14 17:48:31 UTC (rev 807) +++ trunk/cegcc/src/mingw/mingwex/wince/lseek.c 2006-11-16 14:25:37 UTC (rev 808) @@ -17,8 +17,14 @@ mode = FILE_END; break; default: - /* Specify an invalid mode so SetFilePointer catches it. */ + /* Specify an invalid mode so SetFilePointer catches it. */ mode = (DWORD)-1; } return (long) SetFilePointer ((HANDLE) fildes, offset, NULL, mode); } + +long +lseek (int fildes, long offset, int whence) +{ + return _lseek (fildes, offset, whence); +} Modified: trunk/cegcc/src/mingw/mingwex/wince/open.c =================================================================== --- trunk/cegcc/src/mingw/mingwex/wince/open.c 2006-11-14 17:48:31 UTC (rev 807) +++ trunk/cegcc/src/mingw/mingwex/wince/open.c 2006-11-16 14:25:37 UTC (rev 808) @@ -2,8 +2,8 @@ #include <unistd.h> #include <fcntl.h> -int -_open (const char *path, int oflag, ...) +static int +vopen (const char *path, int oflag, va_list ap) { wchar_t wpath[MAX_PATH]; DWORD fileaccess; @@ -72,3 +72,25 @@ return (int) hnd; } + +int +_open (const char *path, int oflag, ...) +{ + va_list ap; + int ret; + va_start (ap, oflag); + ret = vopen (path, oflag, ap); + va_end (ap); + return ret; +} + +int +open (const char *path, int oflag, ...) +{ + va_list ap; + int ret; + va_start (ap, oflag); + ret = vopen (path, oflag, ap); + va_end (ap); + return ret; +} Modified: trunk/cegcc/src/mingw/moldname.def.in =================================================================== --- trunk/cegcc/src/mingw/moldname.def.in 2006-11-14 17:48:31 UTC (rev 807) +++ trunk/cegcc/src/mingw/moldname.def.in 2006-11-16 14:25:37 UTC (rev 808) @@ -29,9 +29,7 @@ chdir chmod chsize -#endif /* __COREDLL__ */ close -#ifndef __COREDLL__ creat cwait #endif /* __COREDLL__ */ @@ -85,25 +83,21 @@ kbhit lfind lsearch -#endif /* __COREDLL__ */ lseek +#endif /* __COREDLL__ */ ltoa memccpy memicmp #ifndef __COREDLL__ mkdir mktemp -#endif /* __COREDLL__ */ open -#ifndef __COREDLL__ pclose popen putch putenv putw -#endif /* __COREDLL__ */ read -#ifndef __COREDLL__ rmdir rmtmp searchenv @@ -166,7 +160,9 @@ #if (__MSVCRT__) wpopen #endif +#ifndef __COREDLL__ write +#endif ; non-ANSI functions declared in math.h j0 j1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-11-14 17:48:40
|
Revision: 807 http://svn.sourceforge.net/cegcc/?rev=807&view=rev Author: dannybackx Date: 2006-11-14 09:48:31 -0800 (Tue, 14 Nov 2006) Log Message: ----------- Save work in progress on standalone version of profiling support. Modified Paths: -------------- branches/danny/cegcc/scripts/linux/build-mingw.sh branches/danny/cegcc/scripts/linux/install-mingw.sh branches/danny/cegcc/src/mingw/ChangeLog.mingw32ce branches/danny/cegcc/src/mingw/configure branches/danny/cegcc/src/mingw/configure.in branches/danny/cegcc/src/mingw/mingwex/configure branches/danny/cegcc/src/mingw/profile/Makefile.in branches/danny/cegcc/src/mingw/profile/gmon.c branches/danny/cegcc/test/profile/Makefile Modified: branches/danny/cegcc/scripts/linux/build-mingw.sh =================================================================== --- branches/danny/cegcc/scripts/linux/build-mingw.sh 2006-11-13 15:35:20 UTC (rev 806) +++ branches/danny/cegcc/scripts/linux/build-mingw.sh 2006-11-14 17:48:31 UTC (rev 807) @@ -20,13 +20,10 @@ mkdir -p $BUILD_DIR/profile || exit 1 cd $BUILD_DIR/profile || exit 1 # -$TOP_SRCDIR/src/mingw/configure \ +$TOP_SRCDIR/src/mingw/profile/configure \ --prefix=$PREFIX \ --target=$TGT_ARCH --host=$TGT_ARCH --build=$MY_HOST_ARCH || exit 1 # -if [ $TGT_ARCH = arm-wince-cegcc ]; then - make CFLAGS="-D__COREDLL__ -DNO_UNDERSCORES" || exit 1 -else - make CFLAGS="-DNO_UNDERSCORES" || exit 1 -fi +# make CFLAGS="-D__COREDLL__ -DNO_UNDERSCORES" || exit 1 # cegcc +make CFLAGS="-DNO_UNDERSCORES" || exit 1 # mingw exit 0 Modified: branches/danny/cegcc/scripts/linux/install-mingw.sh =================================================================== --- branches/danny/cegcc/scripts/linux/install-mingw.sh 2006-11-13 15:35:20 UTC (rev 806) +++ branches/danny/cegcc/scripts/linux/install-mingw.sh 2006-11-14 17:48:31 UTC (rev 807) @@ -11,19 +11,7 @@ fi # # -if [ $TGT_ARCH = "arm-wince-mingw32ce" ]; then - cd $BUILD_DIR/profile || exit 1 - make install || exit 1 -else +cd $BUILD_DIR/profile || exit 1 +make install || exit 1 # -# Too risky to run the $BUILD_DIR/profile "make install" -# because it'll install incompatible stuff in arm-wince-cegcc. -# -# Take only what we really need. -# - cd $BUILD_DIR/profile/profile || exit 1 - cp libgmon.a gcrt3.o ${PREFIX}/${TGT_ARCH}/lib - ${TGT_ARCH}-ranlib ${PREFIX}/${TGT_ARCH}/lib/libgmon.a -fi -# exit 0 Modified: branches/danny/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- branches/danny/cegcc/src/mingw/ChangeLog.mingw32ce 2006-11-13 15:35:20 UTC (rev 806) +++ branches/danny/cegcc/src/mingw/ChangeLog.mingw32ce 2006-11-14 17:48:31 UTC (rev 807) @@ -1,3 +1,13 @@ +2006-11-12 Danny Backx <dan...@us...> + + * configure.in : Remove profile subdirectory. + * profile/Makefile.in : Modify to allow standalone use. + This cleans up both build and installation. Build is now more + sure to use the right set of include files, install works + so no workaround is needed in calling scripts. + This version shouldn't be fed back to the MingW folks. + All of this is both for arm-wince-cegcc and arm-wince-mingw32ce. + 2006-11-11 Pedro Alves <ped...@po...> * mingwex/Makefile.in (WINCE_DISTFILES): Add fdopen.c, read.c, write.c, Modified: branches/danny/cegcc/src/mingw/configure =================================================================== --- branches/danny/cegcc/src/mingw/configure 2006-11-13 15:35:20 UTC (rev 806) +++ branches/danny/cegcc/src/mingw/configure 2006-11-14 17:48:31 UTC (rev 807) @@ -272,7 +272,7 @@ PACKAGE_BUGREPORT= ac_unique_file="dllmain.c" -ac_subdirs_all="$ac_subdirs_all profile mingwex" +ac_subdirs_all="$ac_subdirs_all mingwex" ac_subst_vars='SHELL PATH_SEPARATOR PACKAGE_NAME PACKAGE_TARNAME PACKAGE_VERSION PACKAGE_STRING PACKAGE_BUGREPORT exec_prefix prefix program_transform_name bindir sbindir libexecdir datadir sysconfdir sharedstatedir localstatedir libdir includedir oldincludedir infodir mandir build_alias host_alias target_alias DEFS ECHO_C ECHO_N ECHO_T LIBS CC ac_ct_CC CFLAGS LDFLAGS CPPFLAGS EXEEXT OBJEXT all_dlls_host install_dlls_host AR ac_ct_AR AS ac_ct_AS RANLIB ac_ct_RANLIB LD ac_ct_LD DLLTOOL ac_ct_DLLTOOL DLLWRAP ac_ct_DLLWRAP WINDRES ac_ct_WINDRES ALLOCA CPP EGREP build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os subdirs MKINSTALLDIRS MNO_CYGWIN THREAD_DLL LIBM_A LIBGMON_A HEADER_SUBDIR W32API_INCLUDE DLL_ENTRY MINGWEX_DIR INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBOBJS LTLIBOBJS' ac_subst_files='' @@ -906,7 +906,7 @@ else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi - cd "$ac_popdir" + cd $ac_popdir done fi @@ -1903,7 +1903,8 @@ cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -1961,7 +1962,8 @@ cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2077,7 +2079,8 @@ cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2131,7 +2134,8 @@ cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2176,7 +2180,8 @@ cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -2220,7 +2225,8 @@ cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3122,7 +3128,8 @@ cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3203,7 +3210,8 @@ cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3344,7 +3352,8 @@ cat conftest.err >&5 echo "$as_me:$LINENO: \$? = $ac_status" >&5 (exit $ac_status); } && - { ac_try='test -z "$ac_c_werror_flag" || test ! -s conftest.err' + { ac_try='test -z "$ac_c_werror_flag" + || test ! -s conftest.err' { (eval echo "$as_me:$LINENO: \"$ac_try\"") >&5 (eval $ac_try) 2>&5 ac_status=$? @@ -3564,7 +3573,7 @@ -subdirs="$subdirs profile mingwex" +subdirs="$subdirs mingwex" case "$target_os" in @@ -4533,6 +4542,11 @@ *) ac_INSTALL=$ac_top_builddir$INSTALL ;; esac + if test x"$ac_file" != x-; then + { echo "$as_me:$LINENO: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ @@ -4571,12 +4585,6 @@ fi;; esac done` || { (exit 1); exit 1; } - - if test x"$ac_file" != x-; then - { echo "$as_me:$LINENO: creating $ac_file" >&5 -echo "$as_me: creating $ac_file" >&6;} - rm -f "$ac_file" - fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub @@ -4809,7 +4817,7 @@ { (exit 1); exit 1; }; } fi - cd "$ac_popdir" + cd $ac_popdir done fi Modified: branches/danny/cegcc/src/mingw/configure.in =================================================================== --- branches/danny/cegcc/src/mingw/configure.in 2006-11-13 15:35:20 UTC (rev 806) +++ branches/danny/cegcc/src/mingw/configure.in 2006-11-14 17:48:31 UTC (rev 807) @@ -54,7 +54,7 @@ W32API_INCLUDE='-I $(srcdir)/../w32api/include' -AC_CONFIG_SUBDIRS(profile mingwex) +AC_CONFIG_SUBDIRS(mingwex) case "$target_os" in *cygwin*) Modified: branches/danny/cegcc/src/mingw/mingwex/configure =================================================================== --- branches/danny/cegcc/src/mingw/mingwex/configure 2006-11-13 15:35:20 UTC (rev 806) +++ branches/danny/cegcc/src/mingw/mingwex/configure 2006-11-14 17:48:31 UTC (rev 807) @@ -873,7 +873,7 @@ else echo "$as_me: WARNING: no configuration information is in $ac_dir" >&2 fi - cd "$ac_popdir" + cd $ac_popdir done fi @@ -2265,6 +2265,11 @@ *) ac_INSTALL=$ac_top_builddir$INSTALL ;; esac + if test x"$ac_file" != x-; then + { echo "$as_me:$LINENO: creating $ac_file" >&5 +echo "$as_me: creating $ac_file" >&6;} + rm -f "$ac_file" + fi # Let's still pretend it is `configure' which instantiates (i.e., don't # use $as_me), people would be surprised to read: # /* config.h. Generated by config.status. */ @@ -2303,12 +2308,6 @@ fi;; esac done` || { (exit 1); exit 1; } - - if test x"$ac_file" != x-; then - { echo "$as_me:$LINENO: creating $ac_file" >&5 -echo "$as_me: creating $ac_file" >&6;} - rm -f "$ac_file" - fi _ACEOF cat >>$CONFIG_STATUS <<_ACEOF sed "$ac_vpsub Modified: branches/danny/cegcc/src/mingw/profile/Makefile.in =================================================================== --- branches/danny/cegcc/src/mingw/profile/Makefile.in 2006-11-13 15:35:20 UTC (rev 806) +++ branches/danny/cegcc/src/mingw/profile/Makefile.in 2006-11-14 17:48:31 UTC (rev 807) @@ -1,4 +1,10 @@ # +# This is a Makefile.in for very limited use : only create and install +# the profiling runtime for cegcc (arm-wince-cegcc and arm-wince-mingw32ce). +# +# This should NOT be fed back to the MingW project as is, it doesn't fit +# nicely into their sources. +# # mingw/profile/Makefile.in: This file is part of Mingw runtime. # # This makefile requires GNU make. @@ -28,41 +34,20 @@ DISTFILES = Makefile.in configure configure.in gcrt0.c gmon.c gmon.h mcount.c \ profil.c profil.h profile.h CYGWIN_LICENSE COPYING -CC = @CC@ -# FIXME: Which is it, CC or CC_FOR_TARGET? -CC_FOR_TARGET = $(CC) -AS_FOR_TARGET = $(AS) -CFLAGS = @CFLAGS@ -CXXFLAGS = @CXXFLAGS@ +CC = ${target_alias}-gcc +CFLAGS = -D__COREDLL__ -DNO_UNDERSCORES +# CFLAGS = -DNO_UNDERSCORES -# compiling with Cygwin? -MNO_CYGWIN = @MNO_CYGWIN@ - # Either crtdll (CRT_ID 1), msvcrt (CRT_ID 2) or coredll (CRT_ID 3). RUNTIME = @RUNTIME@ CRT_ID = @CRT_ID@ -# Needed for threading dll. -THREAD_DLL = @THREAD_DLL@ -THREAD_DLL_VERSION = 10 -THREAD_DLL_NAME = $(THREAD_DLL)$(THREAD_DLL_VERSION).dll - -W32API_INCLUDE = @W32API_INCLUDE@ -INCLUDES = -I$(srcdir) -I$(srcdir)/../include \ - -nostdinc \ - -iwithprefixbefore include +INCLUDES = -I$(srcdir) ALL_CFLAGS = $(CFLAGS) $(W32API_INCLUDE) $(INCLUDES) $(MNO_CYGWIN) -ALL_CXXFLAGS = $(CXXFLAGS) $(W32API_INCLUDE) $(INCLUDES) -nostdinc++ $(MNO_CYGWIN) -AS = @AS@ -AR = @AR@ -LD = @LD@ +AR = $(target_alias)-@AR@ AR_FLAGS = rcv -RANLIB = @RANLIB@ -DLLTOOL = @DLLTOOL@ -DLLTOOLFLAGS = -DLLTOOL_FOR_TARGET = $(DLLTOOL) -DLLTOOL_FLAGS = --as $(AS_FOR_TARGET) +RANLIB = $(target_alias)-@RANLIB@ LIBGMON_A = @LIBGMON_A@ LIBGMON_OBJS = gmon.o mcount.o profil.o @@ -70,7 +55,6 @@ ALL_CRT0S = gcrt0.o gcrt1.o gcrt2.o gcrt3.o LIBS = $(LIBGMON_A) -DLLS = all: $(LIBGMON_A) @@ -93,16 +77,16 @@ $(CC) -D__COREDLL__ -c -o $@ $(CPPFLAGS) $(ALL_CFLAGS) $? # -# Dependancies +# Dependencies # -gmon.o: gmon.c gmon.h profile.h profil.h -mcount.o: mcount.c gmon.h profile.h -profil.o: profil.c profil.h +gmon.o: $(srcdir)/gmon.c $(srcdir)/gmon.h $(srcdir)/profile.h $(srcdir)/profil.h +mcount.o: $(srcdir)/mcount.c $(srcdir)/gmon.h $(srcdir)/profile.h +profil.o: $(srcdir)/profil.c $(srcdir)/profil.h -Makefile: Makefile.in config.status configure +Makefile: $(srcdir)/Makefile.in config.status $(srcdir)/configure $(SHELL) config.status -config.status: configure +config.status: $(srcdir)/configure $(SHELL) config.status --recheck info: @@ -112,19 +96,14 @@ install-info: info install: all - $(mkinstalldirs) $(inst_libdir) + $(mkinstalldirs) $(tooldir)/lib for i in $(LIBS); do \ - $(INSTALL_DATA) $$i $(inst_libdir)/$$i ; \ + $(INSTALL_DATA) $$i $(tooldir)/lib/$$i ; \ + $(RANLIB) $(tooldir)/lib/$$i ; \ done for i in $(CRT0S); do \ - $(INSTALL_DATA) $$i $(inst_libdir)/$$i ; \ + $(INSTALL_DATA) $$i $(tooldir)/lib/$$i ; \ done - for sub in . ; do \ - $(mkinstalldirs) $(inst_includedir)/$$sub ; \ - for i in $(srcdir)/$$sub/*.h ; do \ - $(INSTALL_DATA) $$i $(inst_includedir)/$$sub/`basename $$i` ; \ - done ; \ - done clean: -rm -f $(LIBGMON_OBJS) $(ALL_CRT0S) $(LIBGMON_A) @@ -142,4 +121,3 @@ @for i in $(DISTFILES); do\ cp -p $(srcdir)/$$i $(distdir)/profile/$$i ; \ done - Modified: branches/danny/cegcc/src/mingw/profile/gmon.c =================================================================== --- branches/danny/cegcc/src/mingw/profile/gmon.c 2006-11-13 15:35:20 UTC (rev 806) +++ branches/danny/cegcc/src/mingw/profile/gmon.c 2006-11-14 17:48:31 UTC (rev 807) @@ -1,3 +1,4 @@ +#undef DDEBUG /*- * Copyright (c) 1983, 1992, 1993 * The Regents of the University of California. All rights reserved. @@ -92,7 +93,7 @@ char *cp; struct gmonparam *p = &_gmonparam; -#if 0 +#ifdef DDEBUG MessageBoxW(0, L"monstartup", L"Hello", 0); #endif @@ -180,7 +181,7 @@ char dbuf[200]; #endif -#if 0 +#ifdef DDEBUG MessageBoxW(0, L"_mcleanup", L"Hello", 0); #endif @@ -352,6 +353,9 @@ { struct gmonparam *p = &_gmonparam; +#ifdef DDEBUG + MessageBoxW(0, L"moncontrol", L"Hello", 0); +#endif if (mode) { /* start */ profil((char *)p->kcount, p->kcountsize, p->lowpc, Modified: branches/danny/cegcc/test/profile/Makefile =================================================================== --- branches/danny/cegcc/test/profile/Makefile 2006-11-13 15:35:20 UTC (rev 806) +++ branches/danny/cegcc/test/profile/Makefile 2006-11-14 17:48:31 UTC (rev 807) @@ -1,7 +1,10 @@ MCC= arm-wince-mingw32ce-gcc ${CFLAGS} CEGCC= arm-wince-cegcc-gcc ${CFLAGS} -CFLAGS= -pg +CFLAGS= -pg ${DEBUG} ${VERBOSE} +DEBUG= -g +# VERBOSE= -v + .SUFFIXES: .c .mexe .cexe .co .mo .c.mexe: @@ -51,6 +54,7 @@ sleep 10 pcp ":/storage card/devel/m1c.gmo" m1c.gmon.out prm ":/storage card/devel/m1c.gmo" + prm ":/storage card/devel/m1c.exe" m1m.gmon.out: m1.mexe pcp m1.mexe ":/storage card/devel/m1m.exe" @@ -58,6 +62,7 @@ sleep 10 pcp ":/storage card/devel/m1m.gmo" m1m.gmon.out prm ":/storage card/devel/m1m.gmo" + prm ":/storage card/devel/m1m.exe" m2c.gmon.out: m2.cexe pcp m2.cexe ":/storage card/devel/m2c.exe" @@ -65,6 +70,7 @@ sleep 10 pcp ":/storage card/devel/m2c.gmo" m2c.gmon.out prm ":/storage card/devel/m2c.gmo" + prm ":/storage card/devel/m2c.exe" m2m.gmon.out: m2.mexe pcp m2.mexe ":/storage card/devel/m2m.exe" @@ -72,3 +78,4 @@ sleep 10 pcp ":/storage card/devel/m2m.gmo" m2m.gmon.out prm ":/storage card/devel/m2m.gmo" + prm ":/storage card/devel/m2m.exe" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-13 15:35:46
|
Revision: 806 http://svn.sourceforge.net/cegcc/?rev=806&view=rev Author: pedroalves Date: 2006-11-13 07:35:20 -0800 (Mon, 13 Nov 2006) Log Message: ----------- * profile/profile.h: Use __arm__ instead of ARM. * profile/profil.c: Likewise. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce trunk/cegcc/src/mingw/profile/profil.c trunk/cegcc/src/mingw/profile/profile.h Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2006-11-12 22:47:54 UTC (rev 805) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2006-11-13 15:35:20 UTC (rev 806) @@ -1,3 +1,8 @@ +2006-11-13 Pedro Alves <ped...@po...> + + * profile/profile.h: Use __arm__ instead of ARM. + * profile/profil.c: Likewise. + 2006-11-12 Pedro Alves <ped...@po...> * include/unistd.h: Hide ftruncate. Modified: trunk/cegcc/src/mingw/profile/profil.c =================================================================== --- trunk/cegcc/src/mingw/profile/profil.c 2006-11-12 22:47:54 UTC (rev 805) +++ trunk/cegcc/src/mingw/profile/profil.c 2006-11-13 15:35:20 UTC (rev 806) @@ -42,7 +42,7 @@ return (u_long) - 1; ctx.ContextFlags = CONTEXT_CONTROL | CONTEXT_INTEGER; pc = (u_long) - 1; -#ifdef ARM +#ifdef __arm__ if (GetThreadContext (thr, &ctx)) pc = ctx.Pc; #else @@ -117,7 +117,7 @@ GetCurrentProcess (), &p->targthr, 0, FALSE, DUPLICATE_SAME_ACCESS)) { -#ifndef ARM +#ifndef __arm__ errno = ESRCH; #endif return -1; @@ -135,7 +135,7 @@ { CloseHandle (p->targthr); p->targthr = 0; -#ifndef ARM +#ifndef __arm__ errno = EAGAIN; #endif return -1; @@ -163,7 +163,7 @@ if (scale > 65536) { -#ifndef ARM +#ifndef __arm__ errno = EINVAL; #endif return -1; Modified: trunk/cegcc/src/mingw/profile/profile.h =================================================================== --- trunk/cegcc/src/mingw/profile/profile.h 2006-11-12 22:47:54 UTC (rev 805) +++ trunk/cegcc/src/mingw/profile/profile.h 2006-11-13 15:35:20 UTC (rev 806) @@ -35,7 +35,7 @@ * @(#)profile.h 8.1 (Berkeley) 6/11/93 */ -#ifdef ARM +#ifdef __arm__ /* Machine-dependent definitions for profiling support. ARM version. * Copyright (C) 1996, 1997, 1998 Free Software Foundation, Inc. * This file is part of the GNU C Library. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-12 22:48:21
|
Revision: 805 http://svn.sourceforge.net/cegcc/?rev=805&view=rev Author: pedroalves Date: 2006-11-12 14:47:54 -0800 (Sun, 12 Nov 2006) Log Message: ----------- * include/winuser.h (WM_HIBERNATE): Put in alphabetical order. Modified Paths: -------------- trunk/cegcc/src/w32api/include/winuser.h Modified: trunk/cegcc/src/w32api/include/winuser.h =================================================================== --- trunk/cegcc/src/w32api/include/winuser.h 2006-11-12 22:39:37 UTC (rev 804) +++ trunk/cegcc/src/w32api/include/winuser.h 2006-11-12 22:47:54 UTC (rev 805) @@ -1396,6 +1396,9 @@ #define WM_HANDHELDFIRST 856 #define WM_HANDHELDLAST 863 #define WM_HELP 83 +#ifdef _WIN32_WCE +#define WM_HIBERNATE 1023 +#endif #define WM_HOTKEY 786 #define WM_HSCROLL 276 #define WM_HSCROLLCLIPBOARD 782 @@ -4392,11 +4395,6 @@ #endif /* UNICODE */ #endif /* RC_INVOKED */ -/* - * This appears to be an addition for Win CE - */ -#define WM_HIBERNATE 0x03FF - #ifdef __cplusplus } #endif This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-12 22:39:51
|
Revision: 804 http://svn.sourceforge.net/cegcc/?rev=804&view=rev Author: pedroalves Date: 2006-11-12 14:39:37 -0800 (Sun, 12 Nov 2006) Log Message: ----------- * include/winuser.h (GetSystemMenu): Implement as macro. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winuser.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 22:21:06 UTC (rev 803) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 22:39:37 UTC (rev 804) @@ -1,5 +1,9 @@ 2006-11-12 Pedro Alves <ped...@po...> + * include/winuser.h (GetSystemMenu): Implement as macro. + +2006-11-12 Pedro Alves <ped...@po...> + * include/winuser.h (DrawIcon): Implement in terms of DrawIconEx. 2006-11-12 Pedro Alves <ped...@po...> Modified: trunk/cegcc/src/w32api/include/winuser.h =================================================================== --- trunk/cegcc/src/w32api/include/winuser.h 2006-11-12 22:21:06 UTC (rev 803) +++ trunk/cegcc/src/w32api/include/winuser.h 2006-11-12 22:39:37 UTC (rev 804) @@ -3675,7 +3675,11 @@ WINUSERAPI DWORD WINAPI GetSysColor(int); WINUSERAPI HBRUSH WINAPI GetSysColorBrush(int); #define GetSysModalWindow() (NULL) +#ifndef _WIN32_WCE WINUSERAPI HMENU WINAPI GetSystemMenu(HWND,BOOL); +#else +# define GetSystemMenu(hwnd, revert) ((revert)?NULL:(HMENU)(hwnd)) +#endif WINUSERAPI int WINAPI GetSystemMetrics(int); WINUSERAPI DWORD WINAPI GetTabbedTextExtentA(HDC,LPCSTR,int,int,LPINT); WINUSERAPI DWORD WINAPI GetTabbedTextExtentW(HDC,LPCWSTR,int,int,LPINT); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-12 22:21:19
|
Revision: 803 http://svn.sourceforge.net/cegcc/?rev=803&view=rev Author: pedroalves Date: 2006-11-12 14:21:06 -0800 (Sun, 12 Nov 2006) Log Message: ----------- * include/winuser.h (DrawIcon): Implement in terms of DrawIconEx. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winuser.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 22:04:27 UTC (rev 802) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 22:21:06 UTC (rev 803) @@ -1,5 +1,9 @@ 2006-11-12 Pedro Alves <ped...@po...> + * include/winuser.h (DrawIcon): Implement in terms of DrawIconEx. + +2006-11-12 Pedro Alves <ped...@po...> + * include/wingdi.h (GetTextExtentPoint32, GetTextExtentPointW): Implement in terms of GetTextExtentExPointW. Modified: trunk/cegcc/src/w32api/include/winuser.h =================================================================== --- trunk/cegcc/src/w32api/include/winuser.h 2006-11-12 22:04:27 UTC (rev 802) +++ trunk/cegcc/src/w32api/include/winuser.h 2006-11-12 22:21:06 UTC (rev 803) @@ -3505,7 +3505,11 @@ WINUSERAPI BOOL WINAPI DrawEdge(HDC,LPRECT,UINT,UINT); WINUSERAPI BOOL WINAPI DrawFocusRect(HDC,LPCRECT); WINUSERAPI BOOL WINAPI DrawFrameControl(HDC,LPRECT,UINT,UINT); +#ifndef _WIN32_WCE WINUSERAPI BOOL WINAPI DrawIcon(HDC,int,int,HICON); +#else +#define DrawIcon(hdc,x,y,hicon) DrawIconEx(hdc,x,y,hicon,0,0,0,NULL,DI_NORMAL) +#endif WINUSERAPI BOOL WINAPI DrawIconEx(HDC,int,int,HICON,int,int,UINT,HBRUSH,UINT); WINUSERAPI BOOL WINAPI DrawMenuBar(HWND); WINUSERAPI BOOL WINAPI DrawStateA(HDC,HBRUSH,DRAWSTATEPROC,LPARAM,WPARAM,int,int,int,int,UINT); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-12 22:04:56
|
Revision: 802 http://svn.sourceforge.net/cegcc/?rev=802&view=rev Author: pedroalves Date: 2006-11-12 14:04:27 -0800 (Sun, 12 Nov 2006) Log Message: ----------- This is how I should have committed before. SHGetSpecialFolderPath is was already defined in shlobj.h, but in WinCE it should be defined in shellapi.h. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/shlobj.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 21:37:58 UTC (rev 801) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 22:04:27 UTC (rev 802) @@ -5,8 +5,9 @@ 2006-11-12 Pedro Alves <ped...@po...> - * include/shellapi.h (SHGetSpecialFolderPath, - SHGetShortcutTarget, SHCreateShortcut): Declare. + * include/shlobj.h (SHGetSpecialFolderPath): In Windows CE it is declared ... + * include/shellapi.h (SHGetSpecialFolderPath): ... here. + (SHGetShortcutTarget, SHCreateShortcut): Declare. 2006-11-12 Pedro Alves <ped...@po...> Modified: trunk/cegcc/src/w32api/include/shlobj.h =================================================================== --- trunk/cegcc/src/w32api/include/shlobj.h 2006-11-12 21:37:58 UTC (rev 801) +++ trunk/cegcc/src/w32api/include/shlobj.h 2006-11-12 22:04:27 UTC (rev 802) @@ -1431,10 +1431,12 @@ #endif HRESULT WINAPI SHGetSpecialFolderLocation(HWND,int,LPITEMIDLIST*); HRESULT WINAPI SHLoadInProc(REFCLSID); +#ifndef _WIN32_WCE #if (_WIN32_IE >= 0x0400) BOOL WINAPI SHGetSpecialFolderPathA(HWND,LPSTR,int,BOOL); BOOL WINAPI SHGetSpecialFolderPathW(HWND,LPWSTR,int,BOOL); #endif +#endif /* SHGetFolderPath in shfolder.dll on W9x, NT4, also in shell32.dll on W2K */ HRESULT WINAPI SHGetFolderPathA(HWND,int,HANDLE,DWORD,LPSTR); HRESULT WINAPI SHGetFolderPathW(HWND,int,HANDLE,DWORD,LPWSTR); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-12 21:38:12
|
Revision: 801 http://svn.sourceforge.net/cegcc/?rev=801&view=rev Author: pedroalves Date: 2006-11-12 13:37:58 -0800 (Sun, 12 Nov 2006) Log Message: ----------- * include/wingdi.h (GetTextExtentPoint32, GetTextExtentPointW): Implement in terms of GetTextExtentExPointW. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/wingdi.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 21:05:34 UTC (rev 800) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 21:37:58 UTC (rev 801) @@ -1,5 +1,10 @@ 2006-11-12 Pedro Alves <ped...@po...> + * include/wingdi.h (GetTextExtentPoint32, GetTextExtentPointW): + Implement in terms of GetTextExtentExPointW. + +2006-11-12 Pedro Alves <ped...@po...> + * include/shellapi.h (SHGetSpecialFolderPath, SHGetShortcutTarget, SHCreateShortcut): Declare. Modified: trunk/cegcc/src/w32api/include/wingdi.h =================================================================== --- trunk/cegcc/src/w32api/include/wingdi.h 2006-11-12 21:05:34 UTC (rev 800) +++ trunk/cegcc/src/w32api/include/wingdi.h 2006-11-12 21:37:58 UTC (rev 801) @@ -2877,15 +2877,17 @@ WINGDIAPI COLORREF WINAPI GetTextColor(HDC); WINGDIAPI BOOL WINAPI GetTextExtentExPointA(HDC,LPCSTR,int,int,LPINT,LPINT,LPSIZE); WINGDIAPI BOOL WINAPI GetTextExtentExPointW( HDC,LPCWSTR,int,int,LPINT,LPINT,LPSIZE ); +#ifndef _WIN32_WCE WINGDIAPI BOOL WINAPI GetTextExtentPointA(HDC,LPCSTR,int,LPSIZE); WINGDIAPI BOOL WINAPI GetTextExtentPointW(HDC,LPCWSTR,int,LPSIZE); -#ifdef _WIN32_WCE -extern BOOL GetTextExtentPoint32A(HDC,LPCSTR,int,LPSIZE); -extern BOOL GetTextExtentPoint32W( HDC,LPCWSTR,int,LPSIZE); -#else WINGDIAPI BOOL WINAPI GetTextExtentPoint32A(HDC,LPCSTR,int,LPSIZE); WINGDIAPI BOOL WINAPI GetTextExtentPoint32W( HDC,LPCWSTR,int,LPSIZE); +#else +#if (_WIN32_WCE >= 0x200) +#define GetTextExtentPointW(hdc,cstr,len,size) GetTextExtentExPointW(hdc,cstr,len,0,NULL,NULL,size) +#define GetTextExtentPoint32W GetTextExtentPointW #endif +#endif WINGDIAPI int WINAPI GetTextFaceA(HDC,int,LPSTR); WINGDIAPI int WINAPI GetTextFaceW(HDC,int,LPWSTR); WINGDIAPI BOOL WINAPI GetTextMetricsA(HDC,LPTEXTMETRICA); This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-12 21:06:20
|
Revision: 800 http://svn.sourceforge.net/cegcc/?rev=800&view=rev Author: pedroalves Date: 2006-11-12 13:05:34 -0800 (Sun, 12 Nov 2006) Log Message: ----------- * include/shellapi.h (SHGetSpecialFolderPath, SHGetShortcutTarget, SHCreateShortcut): Declare. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/shellapi.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 20:44:45 UTC (rev 799) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 21:05:34 UTC (rev 800) @@ -1,5 +1,10 @@ 2006-11-12 Pedro Alves <ped...@po...> + * include/shellapi.h (SHGetSpecialFolderPath, + SHGetShortcutTarget, SHCreateShortcut): Declare. + +2006-11-12 Pedro Alves <ped...@po...> + * include/winnt.h (GetCurrentFiber, GetFiberData, GetCurrentFiber, GetFiberData, NtCurrentTeb): There is no Fiber support in Windows CE. Hide the functions. Modified: trunk/cegcc/src/w32api/include/shellapi.h =================================================================== --- trunk/cegcc/src/w32api/include/shellapi.h 2006-11-12 20:44:45 UTC (rev 799) +++ trunk/cegcc/src/w32api/include/shellapi.h 2006-11-12 21:05:34 UTC (rev 800) @@ -311,6 +311,15 @@ HRESULT WINAPI SHEmptyRecycleBinA(HWND,LPCSTR,DWORD); HRESULT WINAPI SHEmptyRecycleBinW(HWND,LPCWSTR,DWORD); +#if (_WIN32_WCE >= 0x300) +BOOL WINAPI SHGetSpecialFolderPath(HWND,LPWSTR,int,BOOL); +#endif + +#ifdef _WIN32_WCE +BOOL WINAPI SHGetShortcutTarget(LPCTSTR,LPTSTR,int); +BOOL WINAPI SHCreateShortcut(LPTSTR,LPTSTR); +#endif + #ifdef UNICODE typedef NOTIFYICONDATAW NOTIFYICONDATA,*PNOTIFYICONDATA; typedef SHELLEXECUTEINFOW SHELLEXECUTEINFO,*LPSHELLEXECUTEINFO; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-12 20:45:27
|
Revision: 799 http://svn.sourceforge.net/cegcc/?rev=799&view=rev Author: pedroalves Date: 2006-11-12 12:44:45 -0800 (Sun, 12 Nov 2006) Log Message: ----------- * include/winnt.h (GetCurrentFiber, GetFiberData, GetCurrentFiber, GetFiberData, NtCurrentTeb): There is no Fiber support in Windows CE. Hide the functions. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/winnt.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 20:35:31 UTC (rev 798) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 20:44:45 UTC (rev 799) @@ -1,5 +1,11 @@ 2006-11-12 Pedro Alves <ped...@po...> + * include/winnt.h (GetCurrentFiber, GetFiberData, + GetCurrentFiber, GetFiberData, NtCurrentTeb): There is no Fiber + support in Windows CE. Hide the functions. + +2006-11-12 Pedro Alves <ped...@po...> + * include/commctrl.h (IMAGELISTDRAWPARAMS): There are no fState, Frame or crEffect members in CE version. (ImageList_Duplicate, ImageList_SetImageCount, ImageList_Copy, Modified: trunk/cegcc/src/w32api/include/winnt.h =================================================================== --- trunk/cegcc/src/w32api/include/winnt.h 2006-11-12 20:35:31 UTC (rev 798) +++ trunk/cegcc/src/w32api/include/winnt.h 2006-11-12 20:44:45 UTC (rev 799) @@ -3833,6 +3833,7 @@ (TypeBitMask), (ComparisonType))) #endif +#ifndef _WIN32_WCE PVOID GetCurrentFiber(void); PVOID GetFiberData(void); @@ -3924,6 +3925,7 @@ #endif /* __GNUC__ */ #endif /* _X86_ */ +#endif /* _WIN32_WCE */ #ifdef _WIN32_WCE typedef unsigned int size_t; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2006-11-12 20:35:47
|
Revision: 798 http://svn.sourceforge.net/cegcc/?rev=798&view=rev Author: pedroalves Date: 2006-11-12 12:35:31 -0800 (Sun, 12 Nov 2006) Log Message: ----------- This should have been committed before. Windows.h and winnt.h must be synchronized as the headers say. Modified Paths: -------------- trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/windows.h Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 20:30:41 UTC (rev 797) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2006-11-12 20:35:31 UTC (rev 798) @@ -24,6 +24,7 @@ 2006-11-12 Pedro Alves <ped...@po...> * include/winnt.h (_M_ARM, ARM): Translate from gcc target defines. + * include/windows.h (_M_ARM, ARM): Likewise. 2006-11-11 Danny Backx <dan...@us...> Modified: trunk/cegcc/src/w32api/include/windows.h =================================================================== --- trunk/cegcc/src/w32api/include/windows.h 2006-11-12 20:30:41 UTC (rev 797) +++ trunk/cegcc/src/w32api/include/windows.h 2006-11-12 20:35:31 UTC (rev 798) @@ -27,6 +27,30 @@ #elif defined(__i386__) && !defined(_M_IX86) #define _M_IX86 300 #endif + +#if !defined(_M_ARM) +#if defined (__ARM_ARCH_4__) || defined (__ARM_ARCH_4T__) +#define _M_ARM 4 +#elif defined (__ARM_ARCH_5__) || defined (__ARM_ARCH_5T__) \ + || defined (__ARM_ARCH_5TE__) || defined (__ARM_ARCH_5TEJ__) +#define _M_ARM 5 +#elif defined (__ARM_ARCH_6J__) || defined (__ARM_ARCH_6ZK__) \ + || defined (__ARM_ARCH_6K__) +#define _M_ARM 6 +#endif +#endif /* !defined(_M_ARM) */ + +#if !defined(_M_ARMT) +#if defined (__ARM_ARCH_4T__) +#define _M_ARMT 4 +#elif defined (__ARM_ARCH_5T__) || defined (__ARM_ARCH_5TE__) || defined (__ARM_ARCH_5TEJ__) +#define _M_ARMT 5 +#elif defined (__ARM_ARCH_6J__) || defined (__ARM_ARCH_6ZK__) \ + || defined (__ARM_ARCH_6K__) +#define _M_ARMT 6 +#endif +#endif /* !defined(_M_ARMT) */ + #if defined(_M_IX86) && !defined(_X86_) #define _X86_ #elif defined(_M_ALPHA) && !defined(_ALPHA_) @@ -37,6 +61,8 @@ #define _MIPS_ #elif defined(_M_M68K) && !defined(_68K_) #define _68K_ +#elif defined(_M_ARM) && !defined(ARM) +#define ARM #endif #ifdef RC_INVOKED This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |