From: <dan...@us...> - 2008-03-27 17:22:33
|
Revision: 1154 http://cegcc.svn.sourceforge.net/cegcc/?rev=1154&view=rev Author: dannybackx Date: 2008-03-27 10:22:16 -0700 (Thu, 27 Mar 2008) Log Message: ----------- Add directory structure and Makefiles to replace build-mingw32ce-dlls.sh. Hope this is more portable and better at error handling. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/build-mingw32ce.sh Added Paths: ----------- trunk/cegcc/src/mingwdll/ trunk/cegcc/src/mingwdll/Makefile trunk/cegcc/src/mingwdll/get-version trunk/cegcc/src/mingwdll/libgcc/ trunk/cegcc/src/mingwdll/libgcc/Makefile trunk/cegcc/src/mingwdll/libstdc++/ trunk/cegcc/src/mingwdll/libstdc++/Makefile trunk/cegcc/src/mingwdll/libsupc++/ trunk/cegcc/src/mingwdll/libsupc++/Makefile Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2008-03-27 10:53:39 UTC (rev 1153) +++ trunk/cegcc/src/ChangeLog 2008-03-27 17:22:16 UTC (rev 1154) @@ -1,3 +1,12 @@ +2008-03-27 Danny Backx <dan...@us...> + + * mingwdll: Add new directory structure, containing mostly + Makefiles, to deal with creation of DLL files, to replace + the build-mingw32ce-dlls.sh script. + * build-mingw32ce.sh: Adapt to use mingwdll directory. + * build-mingw32ce.sh: Change order of items in the help text so it + reflects the reality. + 2008-01-02 Danny Backx <dan...@us...> * cegcc/cegccdll/Makefile, cegcc/libstdc++/Makefile: Use "?=" to Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2008-03-27 10:53:39 UTC (rev 1153) +++ trunk/cegcc/src/build-mingw32ce.sh 2008-03-27 17:22:16 UTC (rev 1154) @@ -23,7 +23,7 @@ [$ac_default_prefix] --components=LIST specify which components to build valid components are: all,binutils,bootstrapgcc, - gcc,w32api,mingw, gdb,gdbstub,docs and profile + mingw,w32api,gcc,docs,profile,gdb,gdbstub,dlls [all] Report bugs to <ceg...@li...>. @@ -367,7 +367,7 @@ cd ${BUILD_DIR} } -build_dlls() +obuild_dlls() { echo "" echo "BUILDING DLL libraries --------------------------" @@ -385,6 +385,22 @@ cd ${BUILD_DIR} } +build_dlls() +{ + echo "" + echo "BUILDING DLL libraries --------------------------" + echo "" + echo "" + + cd ${BUILD_DIR} + + cd ${BASE_DIRECTORY}/mingwdll || exit 1 + make || exit 1 + make install || exit 1 + + cd ${BUILD_DIR} +} + build_all() { build_binutils Added: trunk/cegcc/src/mingwdll/Makefile =================================================================== --- trunk/cegcc/src/mingwdll/Makefile (rev 0) +++ trunk/cegcc/src/mingwdll/Makefile 2008-03-27 17:22:16 UTC (rev 1154) @@ -0,0 +1,25 @@ +SUBDIRS= libgcc libstdc++ libsupc++ + + +all:: + for i in ${SUBDIRS}; do \ + cd $$i ; \ + make all || exit 1; \ + cd .. ; \ + done + + +clean:: + for i in ${SUBDIRS}; do \ + cd $$i ; \ + make clean ; \ + cd .. ; \ + done + +install:: + for i in ${SUBDIRS}; do \ + cd $$i ; \ + make install || exit 1; \ + cd .. ; \ + done + Property changes on: trunk/cegcc/src/mingwdll/Makefile ___________________________________________________________________ Name: svn:eol-style + native Added: trunk/cegcc/src/mingwdll/get-version =================================================================== --- trunk/cegcc/src/mingwdll/get-version (rev 0) +++ trunk/cegcc/src/mingwdll/get-version 2008-03-27 17:22:16 UTC (rev 1154) @@ -0,0 +1,8 @@ +#!/bin/sh +#BASE_DIRECTORY=/home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src +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}') +LIBVER_a=$(echo $LIBVER | awk -F: '{print $3}') +LIBSTDCPP_DLLVER=$(($LIBVER_c - $LIBVER_a)) +echo $LIBSTDCPP_DLLVER Property changes on: trunk/cegcc/src/mingwdll/get-version ___________________________________________________________________ Name: svn:executable + * Added: trunk/cegcc/src/mingwdll/libgcc/Makefile =================================================================== --- trunk/cegcc/src/mingwdll/libgcc/Makefile (rev 0) +++ trunk/cegcc/src/mingwdll/libgcc/Makefile 2008-03-27 17:22:16 UTC (rev 1154) @@ -0,0 +1,39 @@ +# +# This Makefile converts a 'static' library into a DLL. +# +# /opt/mingw32ce/lib/gcc/arm-mingw32ce/4.3.0/libgcc.a +# ${PREFIX}/lib/gcc/${TARGET}/${GCC_VERSION}/libgcc.a +# +ME= libgcc +MYDIR= mingwdll/${ME} +#TARGET?= arm-mingw32ce +#BUILD_DIR?= /home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src/build-mingw32ce +#PREFIX?= /opt/mingw32ce +DLLVERSION= 0.55.2 +DLL_DIR= ${PREFIX}/${TARGET}/lib +DEVICE_DIR= ${PREFIX}/${TARGET}/lib/device + +DLL_LIBS= # -lws2 + +GCC_VERSION= `${TARGET}-gcc --version | head -1 | awk '{print $$3;}'` + +all:: + mkdir -p ${BUILD_DIR}/${MYDIR} + ${TARGET}-dlltool --output-def ${BUILD_DIR}/${MYDIR}/${ME}.def \ + --export-all ${PREFIX}/lib/gcc/${TARGET}/${GCC_VERSION}/${ME}.a + cd ${BUILD_DIR}/${MYDIR}; ${TARGET}-gcc --shared \ + -o ${BUILD_DIR}/${MYDIR}/${ME}-${DLLVERSION}.dll \ + -Wl,--out-implib,${ME}.dll.a ${BUILD_DIR}/${MYDIR}/${ME}.def \ + ${PREFIX}/lib/gcc/${TARGET}/${GCC_VERSION}/${ME}.a ${DLL-LIBS} + -rm -f ${BUILD_DIR}/${MYDIR}/${ME}-${DLLVERSION}.dll.stripped + cp ${BUILD_DIR}/${MYDIR}/${ME}-${DLLVERSION}.dll ${BUILD_DIR}/${MYDIR}/${ME}-${DLLVERSION}.dll.stripped + ${TARGET}-strip ${BUILD_DIR}/${MYDIR}/${ME}-${DLLVERSION}.dll.stripped + +clean:: + -rm -f ${BUILD_DIR}/${MYDIR}/*.o + -rm -f ${BUILD_DIR}/${MYDIR}/${ME}* + +install:: + mkdir -p ${DLL_DIR} + cp ${BUILD_DIR}/${MYDIR}/${ME}.def ${DLL_DIR} + cp ${BUILD_DIR}/${MYDIR}/${ME}-${DLLVERSION}.dll ${DLL_DIR} Property changes on: trunk/cegcc/src/mingwdll/libgcc/Makefile ___________________________________________________________________ Name: svn:eol-style + native Added: trunk/cegcc/src/mingwdll/libstdc++/Makefile =================================================================== --- trunk/cegcc/src/mingwdll/libstdc++/Makefile (rev 0) +++ trunk/cegcc/src/mingwdll/libstdc++/Makefile 2008-03-27 17:22:16 UTC (rev 1154) @@ -0,0 +1,49 @@ +# +# This Makefile converts a 'static' library into a DLL. +# +# /opt/mingw32ce/arm-mingw32ce/lib/libstdc++.a +# ${PREFIX}/${TARGET}/lib/libstdc++.a +# +ME= libstdc++ +MYDIR= mingwdll/${ME} +#TARGET?= arm-mingw32ce +#BUILD_DIR?= /home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src/build-mingw32ce +#PREFIX?= /opt/mingw32ce +#BASE_DIRECTORY?=/home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src +DLL_DIR= ${PREFIX}/${TARGET}/lib +DEVICE_DIR= ${PREFIX}/${TARGET}/lib/device + +DLLVERSION= `${BASE_DIRECTORY}/mingwdll/get-version` + +DLL_LIBS= # -lws2 + +GCC_VERSION= `${TARGET}-gcc --version | head -1 | awk '{print $$3;}'` + +all:: + mkdir -p ${BUILD_DIR}/${MYDIR} + ${TARGET}-dlltool --output-def ${BUILD_DIR}/${MYDIR}/${ME}.def \ + --export-all ${PREFIX}/${TARGET}/lib/${ME}.a + cd ${BUILD_DIR}/${MYDIR}; ${TARGET}-gcc --shared \ + -o ${BUILD_DIR}/${MYDIR}/${ME}-${DLLVERSION}.dll \ + -Wl,--out-implib,${ME}.dll.a ${BUILD_DIR}/${MYDIR}/${ME}.def \ + ${PREFIX}/${TARGET}/lib/${ME}.a ${DLL-LIBS} + -rm -f ${BUILD_DIR}/${MYDIR}/${ME}-${DLLVERSION}.dll.stripped + cp ${BUILD_DIR}/${MYDIR}/${ME}-${DLLVERSION}.dll ${BUILD_DIR}/${MYDIR}/${ME}-${DLLVERSION}.dll.stripped + ${TARGET}-strip ${BUILD_DIR}/${MYDIR}/${ME}-${DLLVERSION}.dll.stripped + sed \ + -e "s/^dlname=.*\$$/dlname='${ME}-${DLLVERSION}.dll'/" \ + -e "s/^library_names=.*\$$/library_names='${ME}.dll.a'/" \ + <${PREFIX}/${TARGET}/lib/${ME}.la \ + >${BUILD_DIR}/${MYDIR}/${ME}.la + +clean:: + -rm -f ${BUILD_DIR}/${MYDIR}/*.o + -rm -f ${BUILD_DIR}/${MYDIR}/${ME}* + +install:: + mkdir -p ${DLL_DIR} ${DEVICE_DIR} + cp ${BUILD_DIR}/${MYDIR}/${ME}.def ${DLL_DIR} + cp ${BUILD_DIR}/${MYDIR}/${ME}-${DLLVERSION}.dll ${DLL_DIR} + cp ${BUILD_DIR}/${MYDIR}/${ME}-${DLLVERSION}.dll.stripped ${DEVICE_DIR} + rm -f ${DLL_DIR}/${ME}.la + cp ${BUILD_DIR}/${MYDIR}/${ME}.la ${DLL_DIR}/${ME}.la Property changes on: trunk/cegcc/src/mingwdll/libstdc++/Makefile ___________________________________________________________________ Name: svn:eol-style + native Added: trunk/cegcc/src/mingwdll/libsupc++/Makefile =================================================================== --- trunk/cegcc/src/mingwdll/libsupc++/Makefile (rev 0) +++ trunk/cegcc/src/mingwdll/libsupc++/Makefile 2008-03-27 17:22:16 UTC (rev 1154) @@ -0,0 +1,48 @@ +# +# This Makefile converts a 'static' library into a DLL. +# +# /opt/mingw32ce/arm-mingw32ce/lib/libsupc++.a +# ${PREFIX}/${TARGET}/lib/libsupc++.a +# +ME= libsupc++ +MYDIR= mingwdll/${ME} +#TARGET?= arm-mingw32ce +#BUILD_DIR?= /home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src/build-mingw32ce +#PREFIX?= /opt/mingw32ce +#BASE_DIRECTORY?=/home/danny/src/cegcc/svn.sf.net/cegcc/trunk/cegcc/src +DLL_DIR= ${PREFIX}/${TARGET}/lib +DEVICE_DIR= ${PREFIX}/${TARGET}/lib/device + +DLLVERSION= `${BASE_DIRECTORY}/mingwdll/get-version` + +DLL_LIBS= # -lws2 + +GCC_VERSION= `${TARGET}-gcc --version | head -1 | awk '{print $$3;}'` + +all:: + mkdir -p ${BUILD_DIR}/${MYDIR} + ${TARGET}-dlltool --output-def ${BUILD_DIR}/${MYDIR}/${ME}.def \ + --export-all ${PREFIX}/${TARGET}/lib/${ME}.a + cd ${BUILD_DIR}/${MYDIR}; ${TARGET}-gcc --shared \ + -o ${BUILD_DIR}/${MYDIR}/${ME}-${DLLVERSION}.dll \ + -Wl,--out-implib,${ME}.dll.a ${BUILD_DIR}/${MYDIR}/${ME}.def \ + ${PREFIX}/${TARGET}/lib/${ME}.a ${DLL-LIBS} + -rm -f ${BUILD_DIR}/${MYDIR}/${ME}-${DLLVERSION}.dll.stripped + cp ${BUILD_DIR}/${MYDIR}/${ME}-${DLLVERSION}.dll ${BUILD_DIR}/${MYDIR}/${ME}-${DLLVERSION}.dll.stripped + ${TARGET}-strip ${BUILD_DIR}/${MYDIR}/${ME}-${DLLVERSION}.dll.stripped + sed \ + -e "s/^dlname=.*\$$/dlname='${ME}-${DLLVERSION}.dll'/" \ + -e "s/^library_names=.*\$$/library_names='${ME}.dll.a'/" \ + <${PREFIX}/${TARGET}/lib/${ME}.la \ + >${BUILD_DIR}/${MYDIR}/${ME}.la + +clean:: + -rm -f ${BUILD_DIR}/${MYDIR}/*.o + -rm -f ${BUILD_DIR}/${MYDIR}/${ME}* + +install:: + mkdir -p ${DLL_DIR} ${DEVICE_DIR} + cp ${BUILD_DIR}/${MYDIR}/${ME}-${DLLVERSION}.dll ${DEVICE_DIR} + cp ${BUILD_DIR}/${MYDIR}/${ME}-${DLLVERSION}.dll.stripped ${DEVICE_DIR} + rm -f ${DLL_DIR}/${ME}.la + cp ${BUILD_DIR}/${MYDIR}/${ME}.la ${DLL_DIR}/${ME}.la Property changes on: trunk/cegcc/src/mingwdll/libsupc++/Makefile ___________________________________________________________________ Name: 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...> - 2008-06-21 12:51:40
|
Revision: 1165 http://cegcc.svn.sourceforge.net/cegcc/?rev=1165&view=rev Author: dannybackx Date: 2008-06-20 11:04:30 -0700 (Fri, 20 Jun 2008) Log Message: ----------- Stuff from Eric House, and an additional include from me. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/cegcc/importlibs/defs/aygshell.def trunk/cegcc/src/w32api/ChangeLog.ce trunk/cegcc/src/w32api/include/aygshell.h trunk/cegcc/src/w32api/libce/aygshell.def Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2008-06-20 17:55:25 UTC (rev 1164) +++ trunk/cegcc/src/ChangeLog 2008-06-20 18:04:30 UTC (rev 1165) @@ -1,3 +1,9 @@ +2008-06-20 Eric House <ee...@ee...> + + * cegcc/importlibs/defs/aygshell.def, w32api/include/aygshell.h, + w32api/libce/aygshell.def (SHSendBackToFocusWindow, SHMBOF_NODEFAULT, + SHMBOF_NOTIFY, SHCMBM_OVERRIDEKEY, VK_TBACK) : Define. + 2008-06-20 Danny Backx <dan...@us...> * build-mingw32ce.sh: Export BASE_DIRECTORY, the mingwdll build stuff Modified: trunk/cegcc/src/cegcc/importlibs/defs/aygshell.def =================================================================== --- trunk/cegcc/src/cegcc/importlibs/defs/aygshell.def 2008-06-20 17:55:25 UTC (rev 1164) +++ trunk/cegcc/src/cegcc/importlibs/defs/aygshell.def 2008-06-20 18:04:30 UTC (rev 1165) @@ -87,6 +87,7 @@ ; SHHandleWMSettingChange @83 NONAME ; described as NONAME on MSDN SHHandleWMActivate @84 NONAME ; described as NONAME on MSDN +SHSendBackToFocusWindow @97 NONAME ; http://groups.google.hu/group/microsoft.public.windowsce.embedded/msg/e407143ac07929b9 gives ordinal 97 for SHSendBackToFocusWindow ; ; These are described by MinGW to be in aygshell.lib but are not published by name ; in the DLL, nor do we have confirmation of their ordinal. @@ -208,7 +209,6 @@ ; SHSavePWWarning ; SHScanBuffer ; SHScanFile -; SHSendBackToFocusWindow ; SHSetAsWatermark ; SHSetBack ; SHSetBubbleRegion Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2008-06-20 17:55:25 UTC (rev 1164) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2008-06-20 18:04:30 UTC (rev 1165) @@ -1,3 +1,13 @@ +2008-06-20 Danny Backx <dan...@us...> + + * include/aygshell.h: Include prsht.h. + +2008-06-20 Eric House <ee...@ee...> + + * cegcc/importlibs/defs/aygshell.def, w32api/include/aygshell.h, + w32api/libce/aygshell.def (SHSendBackToFocusWindow, SHMBOF_NODEFAULT, + SHMBOF_NOTIFY, SHCMBM_OVERRIDEKEY, VK_TBACK) : Define. + 2008-05-22 Danny Backx <dan...@us...> * include/projects.h: Add. Modified: trunk/cegcc/src/w32api/include/aygshell.h =================================================================== --- trunk/cegcc/src/w32api/include/aygshell.h 2008-06-20 17:55:25 UTC (rev 1164) +++ trunk/cegcc/src/w32api/include/aygshell.h 2008-06-20 18:04:30 UTC (rev 1165) @@ -15,6 +15,7 @@ #include <basetyps.h> /* Make sure we have a CLSID definition */ #include <shellapi.h> /* for WINSHELLAPI */ #include <sipapi.h> +#include <prsht.h> /* * Menu Bar @@ -223,6 +224,14 @@ #define SHCMBM_SETSUBMENU 0x0590 #define SHCMBM_GETSUBMENU 0x0591 #define SHCMBM_GETMENU 0x0592 + +/* from http://forums.microsoft.com/MSDN/ShowPost.aspx?PostID=1733046&SiteID=1 */ +#define SHMBOF_NODEFAULT 0x00000001 +#define SHMBOF_NOTIFY 0x00000002 +#define SHCMBM_OVERRIDEKEY (WM_USER + 403) +#define VK_TBACK VK_ESCAPE + +void SHSendBackToFocusWindow(UINT,WPARAM,LPARAM); #endif /* _WIN32_WCE */ #if (_WIN32_WCE >= 0x0400) Modified: trunk/cegcc/src/w32api/libce/aygshell.def =================================================================== --- trunk/cegcc/src/w32api/libce/aygshell.def 2008-06-20 17:55:25 UTC (rev 1164) +++ trunk/cegcc/src/w32api/libce/aygshell.def 2008-06-20 18:04:30 UTC (rev 1165) @@ -87,6 +87,7 @@ ; SHHandleWMSettingChange @83 NONAME ; described as NONAME on MSDN SHHandleWMActivate @84 NONAME ; described as NONAME on MSDN +SHSendBackToFocusWindow @97 NONAME ; http://groups.google.hu/group/microsoft.public.windowsce.embedded/msg/e407143ac07929b9 ; ; These are described by MinGW to be in aygshell.lib but are not published by name ; in the DLL, nor do we have confirmation of their ordinal. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2008-06-22 08:16:13
|
Revision: 1164 http://cegcc.svn.sourceforge.net/cegcc/?rev=1164&view=rev Author: dannybackx Date: 2008-06-20 10:55:25 -0700 (Fri, 20 Jun 2008) Log Message: ----------- Export BASE_DIRECTORY, required for mingwdll build. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/build-mingw32ce.sh Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2008-06-10 21:48:19 UTC (rev 1163) +++ trunk/cegcc/src/ChangeLog 2008-06-20 17:55:25 UTC (rev 1164) @@ -1,3 +1,8 @@ +2008-06-20 Danny Backx <dan...@us...> + + * build-mingw32ce.sh: Export BASE_DIRECTORY, the mingwdll build stuff + requires it. + 2008-03-27 Danny Backx <dan...@us...> * mingwdll: Add new directory structure, containing mostly Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2008-06-10 21:48:19 UTC (rev 1163) +++ trunk/cegcc/src/build-mingw32ce.sh 2008-06-20 17:55:25 UTC (rev 1164) @@ -1,7 +1,7 @@ #!/bin/sh -BASE_DIRECTORY=`dirname $0` -BASE_DIRECTORY=`(cd ${BASE_DIRECTORY}; pwd)` +export BASE_DIRECTORY=`dirname $0` +export BASE_DIRECTORY=`(cd ${BASE_DIRECTORY}; pwd)` ME=`basename $0` # @@ -434,6 +434,7 @@ done export TARGET="arm-mingw32ce" +#export TARGET="arm-wince-mingw32ce" export BUILD=`sh ${BASE_DIRECTORY}/gcc/config.guess` export PATH=${PREFIX}/bin:${PATH} This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2008-06-22 18:03:03
|
Revision: 1166 http://cegcc.svn.sourceforge.net/cegcc/?rev=1166&view=rev Author: dannybackx Date: 2008-06-22 11:03:00 -0700 (Sun, 22 Jun 2008) Log Message: ----------- Remove the function keyword for POSIX compliance. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/build-cegcc.sh Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2008-06-20 18:04:30 UTC (rev 1165) +++ trunk/cegcc/src/ChangeLog 2008-06-22 18:03:00 UTC (rev 1166) @@ -1,3 +1,8 @@ +2008-06-22 Danny Backx <dan...@so...> + + * build-cegcc.sh : Remove all instances of the function keyword for + POSIX compliance. Based on info by Mosfet, see the mailing list. + 2008-06-20 Eric House <ee...@ee...> * cegcc/importlibs/defs/aygshell.def, w32api/include/aygshell.h, Modified: trunk/cegcc/src/build-cegcc.sh =================================================================== --- trunk/cegcc/src/build-cegcc.sh 2008-06-20 18:04:30 UTC (rev 1165) +++ trunk/cegcc/src/build-cegcc.sh 2008-06-22 18:03:00 UTC (rev 1166) @@ -32,7 +32,7 @@ mkdir -p ${BUILD_DIR} || exit 1 mkdir -p ${PREFIX} || exit 1 -function build_binutils() +build_binutils() { echo "" echo "BUILDING BINUTILS --------------------------" @@ -53,7 +53,7 @@ cd ${BASE_DIRECTORY} || exit 1 } -function build_import_libs() +build_import_libs() { echo "" echo "Building import libs. --------------------------" @@ -68,7 +68,7 @@ } -function copy_w32api_headers() +copy_w32api_headers() { echo "" echo "Copying w32api headers. ----------------------" @@ -82,7 +82,7 @@ cp -fp ${BASE_DIRECTORY}/w32api/include/ddk/*.h ${PREFIX}/${TARGET}/include/w32api/ddk || exit 1 } -function build_dummy_cegccdll() +build_dummy_cegccdll() { echo "" echo "Building dummy libcegcc.dll.a ----------------------" @@ -94,7 +94,7 @@ popd || exit 1 } -function build_bootstrap_gcc() +build_bootstrap_gcc() { echo "" echo "Building bootstrap gcc. ----------------------" @@ -124,7 +124,7 @@ cd ${BASE_DIRECTORY} || exit 1 } -function build_newlib() +build_newlib() { echo "" echo "Building newlib. --------------------------" @@ -144,7 +144,7 @@ cd ${BASE_DIRECTORY} || exit 1 } -function build_gcc() +build_gcc() { echo "" echo "Building full gcc. --------------------------" @@ -189,7 +189,7 @@ popd || exit 1 } -function build_cegccdll() +build_cegccdll() { echo "" echo "Building cegcc.dll --------------------------" @@ -201,7 +201,7 @@ make install || exit 1 } -function build_cegccthrddll() +build_cegccthrddll() { echo "" echo "Building cegccthrd.dll --------------------------" @@ -213,7 +213,7 @@ make install || exit 1 } -function build_libstdcppdll() +build_libstdcppdll() { echo "" echo "Building libstdc++.dll --------------------------" @@ -225,7 +225,7 @@ make install || exit 1 } -function build_gdb() +build_gdb() { echo "" echo "BUILDING GDB --------------------------" @@ -257,7 +257,7 @@ make install || exit 1 } -function build_gdbstub() +build_gdbstub() { echo "" echo "BUILDING GDB stub --------------------------" @@ -281,7 +281,7 @@ cd ${BASE_DIRECTORY} || exit 1 } -function build_profile() +build_profile() { echo "" echo "BUILDING profiling libraries --------------------------" @@ -302,7 +302,7 @@ make install || exit 1 } -function build_docs() +build_docs() { echo "" echo "INSTALLING documentation --------------------------" @@ -324,7 +324,7 @@ cp src/binutils/COPYING.NEWLIB ${PREFIX} || exit 1 } -function build_all() +build_all() { build_binutils build_import_libs This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |