From: <dan...@us...> - 2006-12-30 11:29:15
|
Revision: 854 http://svn.sourceforge.net/cegcc/?rev=854&view=rev Author: dannybackx Date: 2006-12-30 03:29:13 -0800 (Sat, 30 Dec 2006) Log Message: ----------- New file; take a note in both that the copy happened. Modified Paths: -------------- trunk/cegcc/src/mingw/ChangeLog.mingw32ce Added Paths: ----------- trunk/cegcc/src/profile/ChangeLog.mingw32ce Modified: trunk/cegcc/src/mingw/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2006-12-30 11:25:16 UTC (rev 853) +++ trunk/cegcc/src/mingw/ChangeLog.mingw32ce 2006-12-30 11:29:13 UTC (rev 854) @@ -1,3 +1,8 @@ +2006-12-30 Danny Backx <dan...@us...> + + * profile : Create a profile/profile tree as a copy of the + mingw/profile tree. + 2006-12-19 Pedro Alves <ped...@po...> * dllmain.c: Call DisableThreadLibraryCalls on DLL_PROCESS_ATTACH. Added: trunk/cegcc/src/profile/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/profile/ChangeLog.mingw32ce (rev 0) +++ trunk/cegcc/src/profile/ChangeLog.mingw32ce 2006-12-30 11:29:13 UTC (rev 854) @@ -0,0 +1,233 @@ +2006-12-30 Danny Backx <dan...@us...> + + * profile : Create a profile/profile tree as a copy of the + mingw/profile tree. + * profile/gmon.c : Rewrite to avoid stdio, use native WinCE I/O + instead. Stdio doesn't work reliably in these conditions (maybe due to + the use of an atexit handler). + +2006-12-19 Pedro Alves <ped...@po...> + + * dllmain.c: Call DisableThreadLibraryCalls on DLL_PROCESS_ATTACH. + +2006-11-27 Pedro Alves <ped...@po...> + + * Makefile.in: Adjust so mingw32ce uses crt3.o and dllcrt3.o. + * dllcrt1.c: Remove extra space in comment. + * crt3.c: Rename from crt1_ce.c. + +2006-11-27 Kevin O'Connor <ke...@ko...> + + * crt1_ce.c: New file. Implement WinMainCRTStartup for CE + programs in its own CE specific file. + * winmain_ce.c: New file. Implement a WinMain function that calls + main, for those CE programs that define main instead of WinMain. + * Makefile.in: Modify so that these two new CE specific files are + only built for mingw32ce. + * crt1.c, init.c, main.c: Revert them back to their x86 MinGW + originals. + +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. + * mingwex/wince/write.c (write): Likewise. + +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. + +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. + +2006-11-12 Pedro Alves <ped...@po...> + + * mingwex/wince/lseek.c: Handle invalid whence. + +2006-11-12 Pedro Alves <ped...@po...> + + * mingwex/wince/close.c: New file. + * mingwex/Makefile.in (WINCE_DISTFILES): Add close.c. + (WINCE_OBJS): Add close.o. + +2006-11-11 Pedro Alves <ped...@po...> + + * mingwex/wince/open.c (open): Rename to _open. + * mingwex/wince/lseek.c (lseek): Rename to _lseek. + * mingwex/wince/fdopen.c (fdopen): Rename to _fdopen. + * mingwex/wince/read.c (read): Rename to _read. + * mingwex/wince/write.c (write): Rename to _write. + * include/fcntl.h: Enable file. + * include/io.h (_open, open, lseek, _lseek, + read, _read, write, _write): Unhide. + * include/stdio.h (fdopen, _fdopen): Unhide. + * include/unistd.h: Enable file. + * moldname.def.in (open, lseek, read, write): Unhide. + +2006-11-11 Pedro Alves <ped...@po...> + + * mingwex/Makefile.in (WINCE_DISTFILES): Add fdopen.c, read.c, write.c, + open.c and lseek.c. + (WINCE_OBJS): Add fdopen.o, read.o, write.o, open.o and lseek.o. + * mingwex/wince/open.c: New file. + * mingwex/wince/lseek.c: New file. + * mingwex/wince/fdopen.c: New file. + * mingwex/wince/read.c: New file. + * mingwex/wince/write.c: New file. + +2006-11-03 Danny Backx <dan...@us...> + + * profile/gmon.c : Use the executable file name under CE to cook up + the file name that we put monitoring information in. This used to + be just "gmon.out", now if you run /apps/m1.exe it'll be /apps/m1.gmo + + * atexit.c, include/wctype.h, include/stdio.h, include/ctype.h, + profile/configure, profile/gmon.c, profile/configure.in, + profile/profile.h : Port this code to both arm-wince-mingw32ce and + arm-wince-cegcc . + +2006-10-22 Pedro Alves <ped...@po...> + + * configure.in [AC_CONFIG_SUBDIRS]: Add mingwex. + * configure : Regenerate. + * mingwex/Makefile.in (VPATH): Add wince subdir. + (WINCE_DISTFILES): New. + (WINCE_OBJS): New. + (LIB_OBJS): Special case for wince. Build WINCE_OBJS. + (dist): Install WINCE_DISTFILES. + * mingwex/wince: New subdir. + * mingwex/wince/time.c: New file. + * mingwex/wince/freopen.c: New file. + * mingwex/wince/unlink.c: New file. + * mingwex/wince/tempnam.c: New file. + * mingwex/wince/wcsftime.c: New file. + * mingwex/wince/gmtime.c: New file. + * mingwex/wince/asctime.c: New file. + * mingwex/wince/mktime.c: New file. + * mingwex/wince/localtime.c: New file. + * mingwex/wince/strftime.c: New file. + * include/time.h (time, mktime, asctime, + ctime, gmtime, localtime, strftime, wcsftime): Expose on __COREDLL__. + * include/stdio.h (freopen, _tempnam, + tempnam, _wtempnam): Likewise. + * include/io.h: Expose the header. Needed for unlink. + (_unlink, unlink): Expose functions on __COREDLL__. + +2006-10-22 Pedro Alves <ped...@po...> + + * test_headers.c: Adapt to __COREDLL__. + +2006-10-22 Pedro Alves <ped...@po...> + + * include/stdio.h (puts) [__COREDLL__]: Add missing return. + +2006-10-19 Pedro Alves <ped...@po...> + + * include/setjmp.h (_JBLEN) : Set to 11 on ARM. + +2006-10-18 Pedro Alves <ped...@po...> + + * include/setjmp.h (setjmp) : Coredll.dll has setjmp not _setjmp. + * include/stdio.h : Minor cleanup. + +2006-10-18 Pedro Alves <ped...@po...> + + * include/stdio.h : Expose fileno. We have it on libceoldname. + +2006-10-17 Pedro Alves <ped...@po...> + + * __dllonexit : Delete. Code merged into ... + * atexit.c : ... this. + Fix filename comment. + Don't include __dllonexit.c. + (__atexit_first) : New function. + (__atexit_init): New function. + (proc_exit_chain) : Delete. + (__dllexit) : New function, copied from crt1.c. + (__dllonexit) : New function. + (_cexit) : Call __dllexit. + * Makefile.in (dllcrt1.o, dllcrt2.o, atexit.o) : Remove + dependency on __dllonexit.c. + * dllcrt1.c : Don't implement a private atexit list on + __COREDLL__, since the atexit implementation there is already + image private. + (DllMainCRTStartup) : Call __atexit_init. Use __atexit_first to + get to the private first_atexit. + (__dll_exit) : Hide on __COREDLL__. + Don't include __dllonexit.c. + * crt1.c (MainCRTStartup) : Call __atexit_init. + +2006-10-17 Pedro Alves <ped...@po...> + + * include/fcntl.h : Hide the file. + * include/direct.h : Hide the file. + +2006-10-17 Pedro Alves <ped...@po...> + + * profile/gcrt0.c : Remove __COREDLL__ hack. + * profile/gmon.c : Don't include fcnctl.h on mingw32ce. + * profile/Makefile.in : Add comment about coredll being CRT_ID 3. + (ALL_CRT0S) : Add gcrt3.o. + (gcrt3.o) : Add build rule. + * profile/configure.in : Handle mingw32ce. + * profile/configure : Regenerate. + +2006-10-16 Pedro Alves <ped...@po...> + + * include/io.h : Hide the file. + * include/signal.h : Hide the file better. + * include/errno.h : Likewise. + * include/stdio.h (_fileno) : Return void* instead of int, as reported + by MSVC warning logs, and as hinted here (mind the line break): + http://msdn.microsoft.com/library/default.asp?url=/library/en-us/\ + dv_wcecrt4/html/erlrfusfileno.asp : + (Return Values + _fileno returns the file handle.) + Notice the wording: file *handle*, not file descriptor. + * atexit.c : Don't include io.h. + * __dllonexit.c : Likewise. + * dllcrt1.c : Don't include io.h on __COREDLL__. + * crt1.c : Likewise. + +2006-10-15 Danny Backx <dan...@so...> + * configure.in: always configure profile subdirectory. + * configure: regenerated due to configure.in changes. + * profile/gcrt0.c profile/gmon.c profile/profil.h + profile/gmon.h profile/profil.c : changes to get this + to compile in our environments. Use only the existing + macros UNDER_CE, ARM. Don't use __COREDLL__ except in + one place where we needed to undefine it. + +2006-10-06 Pedro Alves <ped...@po...> + + * configure.in (DLL_ENTRY, MINGWEX_DIR) : Remove, not needed anymore. + * Makefile.in (MINGWEX_DIR) : Revert to using -Lmingwex. + * configure : Regenerate. + +2006-10-05 Pedro Alves <ped...@po...> + + * include/_mingw.h (__CRT_INLINE): Use __attribute__ ((__always_inline__)) + on Windows CE. + +2006-10-05 Pedro Alves <ped...@po...> + + * include/ctype.h: Always use the inline versions of is* + on Windows CE. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-12-30 11:41:21
|
Revision: 857 http://svn.sourceforge.net/cegcc/?rev=857&view=rev Author: dannybackx Date: 2006-12-30 03:41:19 -0800 (Sat, 30 Dec 2006) Log Message: ----------- Part of the profiling patch. 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-12-30 11:32:26 UTC (rev 856) +++ trunk/cegcc/src/ChangeLog 2006-12-30 11:41:19 UTC (rev 857) @@ -1,3 +1,9 @@ +2006-12-24 Danny Backx <dan...@us...> + + * build-mingw32ce.sh, build-cegcc.sh (build_profile) : Add. + * build-mingw32ce.sh, build-cegcc.sh (build_gcc) : Add --with-headers + option so -Dinhibit_libc isn't triggered. + 2006-12-19 Pedro Alves <ped...@po...> * build-mingw32ce.sh (build-w32api): New function. Modified: trunk/cegcc/src/build-cegcc.sh =================================================================== --- trunk/cegcc/src/build-cegcc.sh 2006-12-30 11:32:26 UTC (rev 856) +++ trunk/cegcc/src/build-cegcc.sh 2006-12-30 11:41:19 UTC (rev 857) @@ -165,6 +165,7 @@ --disable-interwork \ --without-newlib \ --enable-checking \ + --with-headers \ || exit 1 @@ -277,6 +278,30 @@ cd ${BASE_DIRECTORY} || exit 1 } +function build_profile() +{ + echo "" + echo "BUILDING profiling libraries --------------------------" + echo "" + echo "" + + mkdir -p ${BUILD_DIR}/profile || exit 1 + cd ${BUILD_DIR}/profile || exit 1 + + PREV_CFLAGS=${CFLAGS} + export CFLAGS="-DNO_UNDERSCORES" + + ${BASE_DIRECTORY}/profile/configure \ + --host=${TARGET} \ + --prefix=${PREFIX} \ + || exit + + export CFLAGS=${PREV_CFLAGS} + + make || exit 1 + make install || exit 1 +} + function build_docs() { echo "" @@ -293,7 +318,7 @@ tar cf - images | (cd ${PREFIX}/share; tar xf -) || exit 1 } -function buildall() +function build_all() { build_binutils build_import_libs @@ -305,9 +330,10 @@ build_cegccdll build_cegccthrddll build_libstdcppdll + build_profile + build_docs build_gdb build_gdbstub - build_docs } case $BUILD_OPT in @@ -328,7 +354,8 @@ gdb) build_gdb ;; gdbstub) build_gdbstub ;; docs) build_docs ;; - all) buildall ;; + profile) build_profile ;; + all) build_all ;; *) echo "Please enter a valid build option." ;; esac Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2006-12-30 11:32:26 UTC (rev 856) +++ trunk/cegcc/src/build-mingw32ce.sh 2006-12-30 11:41:19 UTC (rev 857) @@ -180,6 +180,7 @@ --disable-interwork \ --without-newlib \ --enable-checking \ + --with-headers \ || exit # we build libstdc++ as dll, so we don't need this. @@ -271,6 +272,30 @@ tar cf - images | (cd ${PREFIX}/share; tar xf -) || exit 1 } +function build_profile() +{ + echo "" + echo "BUILDING profiling libraries --------------------------" + echo "" + echo "" + + mkdir -p ${BUILD_DIR}/profile || exit 1 + cd ${BUILD_DIR}/profile || exit 1 + + PREV_CFLAGS=${CFLAGS} + export CFLAGS="-DNO_UNDERSCORES" + + ${BASE_DIRECTORY}/profile/configure \ + --host=${TARGET} \ + --prefix=${PREFIX} \ + || exit + + export CFLAGS=${PREV_CFLAGS} + + make || exit 1 + make install || exit 1 +} + function build_all { build_binutils @@ -280,9 +305,10 @@ build_bootstrap_gcc build_mingw_runtime build_gcc + build_docs + build_profile build_gdb build_gdbstub - build_docs } case $BUILD_OPT in @@ -301,6 +327,7 @@ gdb) build_gdb ;; gdbstub) build_gdbstub ;; docs) build_docs ;; + profile) build_profile ;; all) build_all ;; *) echo "Please enter a valid build option." ;; esac This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-12-30 15:58:29
|
Revision: 859 http://svn.sourceforge.net/cegcc/?rev=859&view=rev Author: dannybackx Date: 2006-12-30 07:58:27 -0800 (Sat, 30 Dec 2006) Log Message: ----------- Avoid the use of CFLAGS to pass -DNO_UNDERSCORES, as Pedro pointed out. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/build-cegcc.sh trunk/cegcc/src/build-mingw32ce.sh trunk/cegcc/src/profile/ChangeLog.mingw32ce trunk/cegcc/src/profile/configure trunk/cegcc/src/profile/configure.in trunk/cegcc/src/profile/profile/Makefile.in trunk/cegcc/src/profile/profile/configure trunk/cegcc/src/profile/profile/configure.in Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2006-12-30 15:37:30 UTC (rev 858) +++ trunk/cegcc/src/ChangeLog 2006-12-30 15:58:27 UTC (rev 859) @@ -1,3 +1,9 @@ +2006-12-30 Danny Backx <dan...@us...> + + * build-mingw32ce.sh, build-cegcc.sh (build_profile) : Change the + approach to deal with -DNO_UNDERSCORES so we keep CFLAGS free for use + by the command line. + 2006-12-24 Danny Backx <dan...@us...> * build-mingw32ce.sh, build-cegcc.sh (build_profile) : Add. Modified: trunk/cegcc/src/build-cegcc.sh =================================================================== --- trunk/cegcc/src/build-cegcc.sh 2006-12-30 15:37:30 UTC (rev 858) +++ trunk/cegcc/src/build-cegcc.sh 2006-12-30 15:58:27 UTC (rev 859) @@ -288,16 +288,11 @@ mkdir -p ${BUILD_DIR}/profile || exit 1 cd ${BUILD_DIR}/profile || exit 1 - PREV_CFLAGS=${CFLAGS} - export CFLAGS="-DNO_UNDERSCORES" - ${BASE_DIRECTORY}/profile/configure \ --host=${TARGET} \ --prefix=${PREFIX} \ || exit - export CFLAGS=${PREV_CFLAGS} - make || exit 1 make install || exit 1 } Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2006-12-30 15:37:30 UTC (rev 858) +++ trunk/cegcc/src/build-mingw32ce.sh 2006-12-30 15:58:27 UTC (rev 859) @@ -282,16 +282,11 @@ mkdir -p ${BUILD_DIR}/profile || exit 1 cd ${BUILD_DIR}/profile || exit 1 - PREV_CFLAGS=${CFLAGS} - export CFLAGS="-DNO_UNDERSCORES" - ${BASE_DIRECTORY}/profile/configure \ --host=${TARGET} \ --prefix=${PREFIX} \ || exit - export CFLAGS=${PREV_CFLAGS} - make || exit 1 make install || exit 1 } Modified: trunk/cegcc/src/profile/ChangeLog.mingw32ce =================================================================== --- trunk/cegcc/src/profile/ChangeLog.mingw32ce 2006-12-30 15:37:30 UTC (rev 858) +++ trunk/cegcc/src/profile/ChangeLog.mingw32ce 2006-12-30 15:58:27 UTC (rev 859) @@ -1,5 +1,10 @@ 2006-12-30 Danny Backx <dan...@us...> + * configure.in profile/Makefile.in profile/configure.in : Avoid use of + CFLAGS to pass -DNO_UNDERSCORES. + +2006-12-30 Danny Backx <dan...@us...> + * profile : Create a profile/profile tree as a copy of the mingw/profile tree. * profile/gmon.c : Rewrite to avoid stdio, use native WinCE I/O Modified: trunk/cegcc/src/profile/configure =================================================================== --- trunk/cegcc/src/profile/configure 2006-12-30 15:37:30 UTC (rev 858) +++ trunk/cegcc/src/profile/configure 2006-12-30 15:58:27 UTC (rev 859) @@ -2277,6 +2277,7 @@ + if test -n "$ac_tool_prefix"; then # Extract the first word of "${ac_tool_prefix}ar", so it can be a program name with args. set dummy ${ac_tool_prefix}ar; ac_word=$2 Modified: trunk/cegcc/src/profile/configure.in =================================================================== --- trunk/cegcc/src/profile/configure.in 2006-12-30 15:37:30 UTC (rev 858) +++ trunk/cegcc/src/profile/configure.in 2006-12-30 15:58:27 UTC (rev 859) @@ -25,6 +25,7 @@ ""|*cygwin*) all_dlls_host='all_dlls_host' install_dlls_host='install_dlls_host';; esac + AC_SUBST(all_dlls_host) AC_SUBST(install_dlls_host) Modified: trunk/cegcc/src/profile/profile/Makefile.in =================================================================== --- trunk/cegcc/src/profile/profile/Makefile.in 2006-12-30 15:37:30 UTC (rev 858) +++ trunk/cegcc/src/profile/profile/Makefile.in 2006-12-30 15:58:27 UTC (rev 859) @@ -18,6 +18,7 @@ datadir = @datadir@ infodir = @infodir@ includedir = @includedir@ +UNDERSCORES = @UNDERSCORES@ SHELL = /bin/sh @@ -49,12 +50,8 @@ INCLUDES= -I$(srcdir) -# W32API_INCLUDE = @W32API_INCLUDE@ -# INCLUDES = -I$(srcdir) -I$(srcdir)/../include \ -# -nostdinc \ -# -iwithprefixbefore include -ALL_CFLAGS = $(CFLAGS) $(W32API_INCLUDE) $(INCLUDES) $(MNO_CYGWIN) -ALL_CXXFLAGS = $(CXXFLAGS) $(W32API_INCLUDE) $(INCLUDES) -nostdinc++ $(MNO_CYGWIN) +ALL_CFLAGS = $(CFLAGS) $(UNDERSCORES) $(W32API_INCLUDE) $(INCLUDES) $(MNO_CYGWIN) +ALL_CXXFLAGS = $(CXXFLAGS) $(UNDERSCORES) $(W32API_INCLUDE) $(INCLUDES) -nostdinc++ $(MNO_CYGWIN) AS = @AS@ AR = @AR@ Modified: trunk/cegcc/src/profile/profile/configure =================================================================== --- trunk/cegcc/src/profile/profile/configure 2006-12-30 15:37:30 UTC (rev 858) +++ trunk/cegcc/src/profile/profile/configure 2006-12-30 15:58:27 UTC (rev 859) @@ -272,7 +272,7 @@ PACKAGE_BUGREPORT= ac_unique_file="gcrt0.c" -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 AS AR LD RANLIB DLLTOOL DLLWRAP build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CRT_ID RUNTIME MNO_CYGWIN LIBGMON_A CRT0S W32API_INCLUDE INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBOBJS LTLIBOBJS' +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 AS AR LD RANLIB DLLTOOL DLLWRAP build build_cpu build_vendor build_os host host_cpu host_vendor host_os target target_cpu target_vendor target_os CRT_ID RUNTIME MNO_CYGWIN LIBGMON_A CRT0S W32API_INCLUDE UNDERSCORES INSTALL_PROGRAM INSTALL_SCRIPT INSTALL_DATA LIBOBJS LTLIBOBJS' ac_subst_files='' # Initialize some variables set by options. @@ -1351,12 +1351,14 @@ MNO_CYGWIN= RUNTIME=crtdll CRT0S="gcrt1.o gcrt2.o" + UNDERSCORES="" ;; *cygwin*) CRT_ID=2 MNO_CYGWIN=-mno-cygwin RUNTIME=msvcrt CRT0S=gcrt0.o + UNDERSCORES="" # Do not build libm.a when building under Cygwin winsup. Otherwise, it'll # overwrite Cygwin's one. Likewise for libgmon.a. ;; @@ -1365,6 +1367,7 @@ MNO_CYGWIN= RUNTIME=coredll CRT0S="gcrt3.o" + UNDERSCORES=-DNO_UNDERSCORES ;; *) # Build it for MSVCRT by default. @@ -1372,6 +1375,7 @@ MNO_CYGWIN= RUNTIME=msvcrt CRT0S="gcrt1.o gcrt2.o" + UNDERSCORES="" ;; esac @@ -1384,6 +1388,7 @@ + # Find a good install program. We prefer a C program (faster), # so one script is as good as another. But avoid the broken or # incompatible versions: @@ -2124,6 +2129,7 @@ s,@LIBGMON_A@,$LIBGMON_A,;t t s,@CRT0S@,$CRT0S,;t t s,@W32API_INCLUDE@,$W32API_INCLUDE,;t t +s,@UNDERSCORES@,$UNDERSCORES,;t t s,@INSTALL_PROGRAM@,$INSTALL_PROGRAM,;t t s,@INSTALL_SCRIPT@,$INSTALL_SCRIPT,;t t s,@INSTALL_DATA@,$INSTALL_DATA,;t t Modified: trunk/cegcc/src/profile/profile/configure.in =================================================================== --- trunk/cegcc/src/profile/profile/configure.in 2006-12-30 15:37:30 UTC (rev 858) +++ trunk/cegcc/src/profile/profile/configure.in 2006-12-30 15:58:27 UTC (rev 859) @@ -43,12 +43,14 @@ MNO_CYGWIN= RUNTIME=crtdll CRT0S="gcrt1.o gcrt2.o" + UNDERSCORES="" ;; *cygwin*) CRT_ID=2 MNO_CYGWIN=-mno-cygwin RUNTIME=msvcrt CRT0S=gcrt0.o + UNDERSCORES="" # Do not build libm.a when building under Cygwin winsup. Otherwise, it'll # overwrite Cygwin's one. Likewise for libgmon.a. ;; @@ -57,6 +59,7 @@ MNO_CYGWIN= RUNTIME=coredll CRT0S="gcrt3.o" + UNDERSCORES=-DNO_UNDERSCORES ;; *) # Build it for MSVCRT by default. @@ -64,6 +67,7 @@ MNO_CYGWIN= RUNTIME=msvcrt CRT0S="gcrt1.o gcrt2.o" + UNDERSCORES="" ;; esac @@ -75,6 +79,7 @@ AC_SUBST(LIBGMON_A) AC_SUBST(CRT0S) AC_SUBST(W32API_INCLUDE) +AC_SUBST(UNDERSCORES) AC_PROG_INSTALL AC_OUTPUT(Makefile) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2006-12-31 13:00:48
|
Revision: 863 http://svn.sourceforge.net/cegcc/?rev=863&view=rev Author: dannybackx Date: 2006-12-31 05:00:44 -0800 (Sun, 31 Dec 2006) Log Message: ----------- Pass the right parameters to trigger the code that Pedro pointed to in the src/mingw/Makefile.in which I had already copied to src/profile/Makefile.in . 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-12-31 12:53:21 UTC (rev 862) +++ trunk/cegcc/src/ChangeLog 2006-12-31 13:00:44 UTC (rev 863) @@ -1,3 +1,9 @@ +2006-12-31 Danny Backx <dan...@us...> + + * build-mingw32ce.sh, build-cegcc.sh (build_profile) : Copy the + options from the mingw_runtime build, so src/profile/Makefile.in gets + the right parameters and install stuff in the right place. + 2006-12-30 Danny Backx <dan...@us...> * build-mingw32ce.sh, build-cegcc.sh (build_profile) : Change the Modified: trunk/cegcc/src/build-cegcc.sh =================================================================== --- trunk/cegcc/src/build-cegcc.sh 2006-12-31 12:53:21 UTC (rev 862) +++ trunk/cegcc/src/build-cegcc.sh 2006-12-31 13:00:44 UTC (rev 863) @@ -289,8 +289,10 @@ cd ${BUILD_DIR}/profile || exit 1 ${BASE_DIRECTORY}/profile/configure \ - --host=${TARGET} \ - --prefix=${PREFIX} \ + --build=${BUILD} \ + --host=${TARGET} \ + --target=${TARGET} \ + --prefix=${PREFIX} \ || exit make || exit 1 Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2006-12-31 12:53:21 UTC (rev 862) +++ trunk/cegcc/src/build-mingw32ce.sh 2006-12-31 13:00:44 UTC (rev 863) @@ -283,8 +283,10 @@ cd ${BUILD_DIR}/profile || exit 1 ${BASE_DIRECTORY}/profile/configure \ - --host=${TARGET} \ - --prefix=${PREFIX} \ + --build=${BUILD} \ + --host=${TARGET} \ + --target=${TARGET} \ + --prefix=${PREFIX} \ || exit make || exit 1 This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2007-01-18 17:33:07
|
Revision: 867 http://svn.sourceforge.net/cegcc/?rev=867&view=rev Author: dannybackx Date: 2007-01-18 09:32:56 -0800 (Thu, 18 Jan 2007) Log Message: ----------- Add definition for mmtimer. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/cegcc/importlibs/build.sh Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2007-01-13 17:03:35 UTC (rev 866) +++ trunk/cegcc/src/ChangeLog 2007-01-18 17:32:56 UTC (rev 867) @@ -1,3 +1,7 @@ +2007-01-18 Danny Backx <dan...@us...> + + * cegcc/importlibs/build.sh : add definition for mmtimer DLL. + 2006-12-31 Danny Backx <dan...@us...> * build-mingw32ce.sh, build-cegcc.sh (build_profile) : Copy the @@ -3,4 +7,6 @@ options from the mingw_runtime build, so src/profile/Makefile.in gets the right parameters and install stuff in the right place. + * build-mingw32ce.sh, build-cegcc.sh (build_docs) : Copy + some additional files that need to make it into an RPM. 2006-12-30 Danny Backx <dan...@us...> Modified: trunk/cegcc/src/cegcc/importlibs/build.sh =================================================================== --- trunk/cegcc/src/cegcc/importlibs/build.sh 2007-01-13 17:03:35 UTC (rev 866) +++ trunk/cegcc/src/cegcc/importlibs/build.sh 2007-01-18 17:32:56 UTC (rev 867) @@ -14,5 +14,6 @@ ./mkimport.sh $defdir/ceshell.def $outputdir || exit ./mkimport.sh $defdir/winsock.def $outputdir || exit ./mkimport.sh $defdir/ws2.def $outputdir || exit +./mkimport.sh $defdir/mmtimer.def $outputdir || exit #./winsock.sh $defdir $outputdir || exit #./ws2.sh $defdir $outputdir This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2007-02-01 20:46:31
|
Revision: 872 http://svn.sourceforge.net/cegcc/?rev=872&view=rev Author: dannybackx Date: 2007-02-01 12:46:29 -0800 (Thu, 01 Feb 2007) Log Message: ----------- Add help text to explain command line build options. 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 2007-02-01 19:42:30 UTC (rev 871) +++ trunk/cegcc/src/ChangeLog 2007-02-01 20:46:29 UTC (rev 872) @@ -1,3 +1,8 @@ +2007-02-01 Danny Backx <dan...@us...> + + * build-mingw32ce.sh, build-cegcc.sh : Add help text to explain + command line build options. + 2007-01-20 Danny Backx <dan...@us...> * build-mingw32ce.sh, build-cegcc.sh (build_docs) : Copy Modified: trunk/cegcc/src/build-cegcc.sh =================================================================== --- trunk/cegcc/src/build-cegcc.sh 2007-02-01 19:42:30 UTC (rev 871) +++ trunk/cegcc/src/build-cegcc.sh 2007-02-01 20:46:29 UTC (rev 872) @@ -343,6 +343,10 @@ --help) echo "usage:" echo "$0 [source dir] [build directory] [prefix dir] [build_opt]" + echo " " + echo "Valid build options : binutils importlibs w32api dummy_cegccdll" + echo " bootstrapgcc newlib gcc cegccdll cegccthrd libstdc++ gdb" + echo " gdbstub docs profile all" ;; binutils) build_binutils ;; importlibs) build_import_libs ;; Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2007-02-01 19:42:30 UTC (rev 871) +++ trunk/cegcc/src/build-mingw32ce.sh 2007-02-01 20:46:29 UTC (rev 872) @@ -318,6 +318,9 @@ --help) echo "usage:" echo "$0 [source dir] [build directory] [prefix dir] [build_opt]" + echo " " + echo "Valid build options : binutils importlibs headers fakecrt bootstrapgcc" + echo " w32api crt gcc gdb gdbstub docs profile all" ;; binutils) build_binutils ;; importlibs) build_import_libs ;; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2007-02-04 14:28:21
|
Revision: 879 http://svn.sourceforge.net/cegcc/?rev=879&view=rev Author: dannybackx Date: 2007-02-04 06:28:12 -0800 (Sun, 04 Feb 2007) Log Message: ----------- Copy include files in subdirectories too. 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 2007-02-04 03:03:53 UTC (rev 878) +++ trunk/cegcc/src/ChangeLog 2007-02-04 14:28:12 UTC (rev 879) @@ -1,3 +1,10 @@ +2007-02-04 Danny Backx <dan...@us...> + + * build-mingw32ce.sh (copy_headers) : Copy includes from the sys + subdirectory too. + * build-cegcc.sh (copy_w32api_headers) : Copy includes from the GL, + directx, ddk subdirectories too. + 2007-02-01 Danny Backx <dan...@us...> * build-mingw32ce.sh, build-cegcc.sh : Add help text to explain Modified: trunk/cegcc/src/build-cegcc.sh =================================================================== --- trunk/cegcc/src/build-cegcc.sh 2007-02-04 03:03:53 UTC (rev 878) +++ trunk/cegcc/src/build-cegcc.sh 2007-02-04 14:28:12 UTC (rev 879) @@ -75,8 +75,11 @@ echo "" echo "" - mkdir -p ${PREFIX}/${TARGET}/include/w32api - cp -rf ${BASE_DIRECTORY}/w32api/include/*.h ${PREFIX}/${TARGET}/include/w32api || exit 1 + mkdir -p ${PREFIX}/${TARGET}/include/w32api/{GL,directx,ddk} + cp -fp ${BASE_DIRECTORY}/w32api/include/*.h ${PREFIX}/${TARGET}/include/w32api || exit 1 + cp -fp ${BASE_DIRECTORY}/w32api/include/GL/*.h ${PREFIX}/${TARGET}/include/w32api/GL || exit 1 + cp -fp ${BASE_DIRECTORY}/w32api/include/directx/*.h ${PREFIX}/${TARGET}/include/w32api/directx || exit 1 + cp -fp ${BASE_DIRECTORY}/w32api/include/ddk/*.h ${PREFIX}/${TARGET}/include/w32api/ddk || exit 1 } function build_dummy_cegccdll() Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2007-02-04 03:03:53 UTC (rev 878) +++ trunk/cegcc/src/build-mingw32ce.sh 2007-02-04 14:28:12 UTC (rev 879) @@ -83,9 +83,10 @@ echo "" echo "" - mkdir -p ${PREFIX}/${TARGET}/include/ - cp -rfp ${BASE_DIRECTORY}/mingw/include/*.h ${PREFIX}/${TARGET}/include/ || exit 1 - cp -rfp ${BASE_DIRECTORY}/w32api/include/*.h ${PREFIX}/${TARGET}/include/ || exit 1 + mkdir -p ${PREFIX}/${TARGET}/include/sys + cp -fp ${BASE_DIRECTORY}/mingw/include/*.h ${PREFIX}/${TARGET}/include/ || exit 1 + cp -fp ${BASE_DIRECTORY}/mingw/include/sys/*.h ${PREFIX}/${TARGET}/include/sys || exit 1 + cp -fp ${BASE_DIRECTORY}/w32api/include/*.h ${PREFIX}/${TARGET}/include/ || exit 1 } function build_bootstrap_gcc() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2007-02-12 10:14:29
|
Revision: 899 http://svn.sourceforge.net/cegcc/?rev=899&view=rev Author: pedroalves Date: 2007-02-12 02:13:40 -0800 (Mon, 12 Feb 2007) Log Message: ----------- * VERSIONS : Update w32api and mingw versions. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/VERSIONS Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2007-02-07 01:56:19 UTC (rev 898) +++ trunk/cegcc/src/ChangeLog 2007-02-12 10:13:40 UTC (rev 899) @@ -1,3 +1,7 @@ +2006-12-19 Pedro Alves <ped...@po...> + + * VERSIONS : Update w32api and mingw versions. + 2007-02-04 Danny Backx <dan...@us...> * build-mingw32ce.sh (copy_headers) : Copy includes from the sys Modified: trunk/cegcc/src/VERSIONS =================================================================== --- trunk/cegcc/src/VERSIONS 2007-02-07 01:56:19 UTC (rev 898) +++ trunk/cegcc/src/VERSIONS 2007-02-12 10:13:40 UTC (rev 899) @@ -17,8 +17,8 @@ binutils that works for arm-wince-pe target. cvs -d :pserver:an...@so...:/cvs/src ... -- w32api from cvs, 10 August 2006 +- w32api from cvs, 5 February 2007 cvs -d :pserver:an...@cy...:/cvs/src/winsup/w32api ... -- mingw from cvs, 3 August 2006 +- mingw from cvs, 5 February 2007 cvs -d :pserver:an...@cy...:/cvs/src/winsup/mingw ... This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2007-03-26 23:20:43
|
Revision: 915 http://svn.sourceforge.net/cegcc/?rev=915&view=rev Author: pedroalves Date: 2007-03-26 16:20:42 -0700 (Mon, 26 Mar 2007) Log Message: ----------- * build-mingw32ce.sh (build_import_libs): Delete. (build_mingw_fake_runtime): Delete. (copy_headers): Delete. (build_all): Remove calls to build_import_libs, build_mingw_fake_runtime, and copy headers. Add call to build_w32api. Remove importlibs,headers and fakecrt command line options. Rename crt option to mingw. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/build-mingw32ce.sh Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2007-03-26 23:08:07 UTC (rev 914) +++ trunk/cegcc/src/ChangeLog 2007-03-26 23:20:42 UTC (rev 915) @@ -1,3 +1,14 @@ +2007-03-27 Pedro Alves <ped...@po...> + + * build-mingw32ce.sh (build_import_libs): Delete. + (build_mingw_fake_runtime): Delete. + (copy_headers): Delete. + (build_all): Remove calls to build_import_libs, + build_mingw_fake_runtime, and copy headers. Add + call to build_w32api. + Remove importlibs,headers and fakecrt command line + options. Rename crt option to mingw. + 2007-02-12 Pedro Alves <ped...@po...> * VERSIONS : Update w32api and mingw versions. Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2007-03-26 23:08:07 UTC (rev 914) +++ trunk/cegcc/src/build-mingw32ce.sh 2007-03-26 23:20:42 UTC (rev 915) @@ -55,40 +55,6 @@ cd ${BASE_DIRECTORY} || exit 1 } -function build_import_libs() -{ - echo "" - echo "Building import libs. --------------------------" - echo "" - echo "" - - mkdir -p ${PREFIX}/${TARGET}/lib || exit 1 - cd ${BASE_DIRECTORY}/cegcc/importlibs || exit 1 - ./build.sh ./defs ${PREFIX}/${TARGET}/lib || exit 1 - - cd ${BASE_DIRECTORY} || exit 1 -} - -function build_mingw_fake_runtime() -{ - cd ${BASE_DIRECTORY}/mingw-fake_crt || exit 1 - ./install.sh ${PREFIX} || exit 1 - cd ${BASE_DIRECTORY} || exit 1 -} - -function copy_headers() -{ - echo "" - echo "Copying headers... " - echo "" - echo "" - - mkdir -p ${PREFIX}/${TARGET}/include/sys - cp -fp ${BASE_DIRECTORY}/mingw/include/*.h ${PREFIX}/${TARGET}/include/ || exit 1 - cp -fp ${BASE_DIRECTORY}/mingw/include/sys/*.h ${PREFIX}/${TARGET}/include/sys || exit 1 - cp -fp ${BASE_DIRECTORY}/w32api/include/*.h ${PREFIX}/${TARGET}/include/ || exit 1 -} - function build_bootstrap_gcc() { mkdir -p ${BUILD_DIR}/gcc-bootstrap || exit 1 @@ -303,11 +269,9 @@ function build_all { build_binutils - build_import_libs - build_mingw_fake_runtime - copy_headers build_bootstrap_gcc build_mingw_runtime + build_w32api build_gcc build_docs build_profile @@ -319,17 +283,14 @@ --help) echo "usage:" echo "$0 [source dir] [build directory] [prefix dir] [build_opt]" - echo " " - echo "Valid build options : binutils importlibs headers fakecrt bootstrapgcc" - echo " w32api crt gcc gdb gdbstub docs profile all" - ;; + echo " " + echo "Valid build options : binutils bootstrapgcc" + echo " w32api mingw gcc gdb gdbstub docs profile all" + ;; binutils) build_binutils ;; - importlibs) build_import_libs ;; - headers) copy_headers ;; - fakecrt) build_mingw_fake_runtime ;; bootstrapgcc) build_bootstrap_gcc ;; w32api) build_w32api ;; - crt) build_mingw_runtime ;; + mingw) build_mingw_runtime ;; gcc) build_gcc ;; gdb) build_gdb ;; gdbstub) build_gdbstub ;; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2007-05-13 23:38:39
|
Revision: 917 http://svn.sourceforge.net/cegcc/?rev=917&view=rev Author: pedroalves Date: 2007-05-13 13:59:49 -0700 (Sun, 13 May 2007) Log Message: ----------- * build-mingw32ce.sh: Rewrite command line parameters logic. Add '--prefix' and '--components' options. Don't mkdir build-mingw32ce. Build on cwd. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/build-mingw32ce.sh Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2007-04-19 19:07:39 UTC (rev 916) +++ trunk/cegcc/src/ChangeLog 2007-05-13 20:59:49 UTC (rev 917) @@ -1,3 +1,9 @@ +2007-05-13 Pedro Alves <ped...@po...> + + * build-mingw32ce.sh: Rewrite command line parameters logic. + Add '--prefix' and '--components' options. Don't mkdir + build-mingw32ce. Build on cwd. + 2007-03-27 Pedro Alves <ped...@po...> * build-mingw32ce.sh (build_import_libs): Delete. Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2007-04-19 19:07:39 UTC (rev 916) +++ trunk/cegcc/src/build-mingw32ce.sh 2007-05-13 20:59:49 UTC (rev 917) @@ -1,37 +1,136 @@ #!/bin/sh -if [ $# -lt 2 ] ; then +BASE_DIRECTORY=`dirname $0` +BASE_DIRECTORY=`(cd ${BASE_DIRECTORY}; pwd)` +ME=`basename $0` -echo "Using defaults:" -export BASE_DIRECTORY=`readlink -f .` -export BUILD_DIR=${BASE_DIRECTORY}/build-mingw32ce -export PREFIX=/opt/mingw32ce +# +# Initializations. +# +ac_default_prefix="/opt/mingw32ce" +export BUILD_DIR=`pwd` -if [ $# -lt 1 ] ; then -BUILD_OPT="all" +function usage +{ + cat << _ACEOF + +$ME builds the mingw32ce toolchain. + +Usage: $0 [OPTIONS] ... + + -h, --help print this help, then exit + --prefix=PREFIX install toolchain in PREFIX + [$ac_default_prefix] + --components=LIST specify which components to build + valid components are: all,binutils,gcc,w32api,mingw, + gdb,gdbstub,docs and profile + [all] + +Report bugs to <ceg...@li...>. +_ACEOF + +} + +ac_prev= +for ac_option +do + # If the previous option needs an argument, assign it. + if test -n "$ac_prev"; then + eval "$ac_prev=\$ac_option" + ac_prev= + continue + fi + + ac_optarg=`expr "x$ac_option" : 'x[^=]*=\(.*\)'` + + case $ac_option in + + -help | --help | --hel | --he | -h) + usage; exit 0 ;; + + -prefix | --prefix | --prefi | --pref | --pre | --pr | --p) + ac_prev=prefix ;; + -prefix=* | --prefix=* | --prefi=* | --pref=* | --pre=* | --pr=* | --p=*) + prefix=$ac_optarg ;; + + -components | --components | --component | --componen | \ + --compone | --compon | --compo | --comp | --com \ + | --co | --c) + ac_prev=components ;; + -components=* | --components=* | --component=* | --componen=* \ + | --compone=* | --compon=* | --compo=* | --comp=* | --com=* \ + | --co=* | --c=*) + components=$ac_optarg ;; + + -*) { echo "$as_me: error: unrecognized option: $ac_option +Try \`$0 --help' for more information." >&2 + { (exit 1); exit 1; }; } + ;; + + *=*) + ac_envvar=`expr "x$ac_option" : 'x\([^=]*\)='` + # Reject names that are not valid shell variable names. + expr "x$ac_envvar" : ".*[^_$as_cr_alnum]" >/dev/null && + { echo "$as_me: error: invalid variable name: $ac_envvar" >&2 + { (exit 1); exit 1; }; } + ac_optarg=`echo "$ac_optarg" | sed "s/'/'\\\\\\\\''/g"` + eval "$ac_envvar='$ac_optarg'" + export $ac_envvar ;; + + *) + ;; + esac +done + +if test -n "$ac_prev"; then + ac_option=--`echo $ac_prev | sed 's/_/-/g'` + { echo "$as_me: error: missing argument to $ac_option" >&2 + { (exit 1); exit 1; }; } +fi + +# Be sure to have absolute paths. +for ac_var in prefix +do + eval ac_val=$`echo $ac_var` + case $ac_val in + [\\/$]* | ?:[\\/]* | NONE | '' ) ;; + *) { echo "$as_me: error: expected an absolute directory name for --$ac_var: $ac_val" >&2 + { (exit 1); exit 1; }; };; + esac +done + +if [ "x${prefix}" != "x" ]; then + export PREFIX="${prefix}" else -BUILD_OPT="$1" -shift + export PREFIX=${ac_default_prefix} fi +# Figure out what components where requested to be built. +if test x"${components+set}" != xset; then + components=all else - -export BASE_DIRECTORY=`readlink -f $1` -export BUILD_DIR=`readlink -f $2` -export PREFIX=`readlink -f $3` -BUILD_OPT="$1" -shift 4 + if test x"${components}" = x || + test x"${components}" = xyes; + then + echo --components needs at least one argument 1>&2 + exit 1 + fi fi +# embedded tabs in the sed below -- do not untabify +components=`echo "${components}" | sed -e 's/[ ,][ ,]*/,/g' -e 's/,$//'` + +echo The following components will be built: ${components} + export TARGET="arm-wince-mingw32ce" export BUILD=`sh ${BASE_DIRECTORY}/gcc/config.guess` export PATH=${PREFIX}/bin:${PATH} -#export CFLAGS="-g3 -O0" echo "Building mingw32ce:" echo "source: ${BASE_DIRECTORY}" -echo "build: ${BUILD_DIR}" +echo "building in: ${BUILD_DIR}" echo "prefix: ${PREFIX}" +echo "components: ${components}" mkdir -p ${BUILD_DIR} || exit 1 mkdir -p ${PREFIX} || exit 1 @@ -42,8 +141,8 @@ echo "BUILDING BINUTILS --------------------------" echo "" echo "" - mkdir -p ${BUILD_DIR}/binutils || exit 1 - cd ${BUILD_DIR}/binutils || exit 1 + mkdir -p binutils || exit 1 + cd binutils ${BASE_DIRECTORY}/binutils/configure \ --prefix=${PREFIX} \ --target=${TARGET} \ @@ -52,13 +151,13 @@ make || exit 1 make install || exit 1 - cd ${BASE_DIRECTORY} || exit 1 + cd ${BUILD_DIR} } function build_bootstrap_gcc() { - mkdir -p ${BUILD_DIR}/gcc-bootstrap || exit 1 - cd ${BUILD_DIR}/gcc-bootstrap + mkdir -p gcc-bootstrap || exit 1 + cd gcc-bootstrap ${BASE_DIRECTORY}/gcc/configure \ --with-gcc \ @@ -79,7 +178,7 @@ make all-gcc || exit 1 make install-gcc || exit 1 - cd ${BASE_DIRECTORY} || exit 1 + cd ${BUILD_DIR} } function build_w32api() @@ -90,8 +189,9 @@ PREV_CC=${CC} unset CC - mkdir -p ${BUILD_DIR}/w32api || exit 1 - pushd ${BUILD_DIR}/w32api || exit 1 + mkdir -p w32api || exit 1 + cd w32api + ${BASE_DIRECTORY}/w32api/configure \ --host=${TARGET} \ --prefix=${PREFIX} \ @@ -101,7 +201,7 @@ make install || exit 1 export CC=${PREV_CC} - popd + cd ${BUILD_DIR} } function build_mingw_runtime() @@ -112,8 +212,8 @@ PREV_CC=${CC} unset CC - mkdir -p ${BUILD_DIR}/mingw || exit 1 - cd ${BUILD_DIR}/mingw || exit 1 + mkdir -p mingw || exit 1 + cd mingw ${BASE_DIRECTORY}/mingw/configure \ --build=${BUILD} \ --host=${TARGET} \ @@ -125,13 +225,13 @@ make install || exit 1 export CC=${PREV_CC} - cd ${BASE_DIRECTORY} || exit 1 + cd ${BUILD_DIR} } function build_gcc() { - mkdir -p ${BUILD_DIR}/gcc || exit 1 - cd ${BUILD_DIR}/gcc || exit + mkdir -p gcc || exit 1 + cd gcc ${BASE_DIRECTORY}/gcc/configure \ --with-gcc \ @@ -169,7 +269,7 @@ # make install || exit 1 - cd ${BASE_DIRECTORY} || exit 1 + cd ${BUILD_DIR} } function build_gdb() @@ -179,8 +279,8 @@ echo "" echo "" - mkdir -p ${BUILD_DIR}/gdb || exit 1 - cd ${BUILD_DIR}/gdb || exit 1 + mkdir -p gdb || exit 1 + cd gdb || exit 1 PREV_CFLAGS=${CFLAGS} export CFLAGS="-I${BASE_DIRECTORY}/w32api/include" @@ -202,6 +302,8 @@ make || exit 1 make install || exit 1 + + cd ${BUILD_DIR} } function build_gdbstub() @@ -220,7 +322,7 @@ -lwinsock || exit 1 ${TARGET}-strip ${STUB_EXE} || exit 1 - cd ${BASE_DIRECTORY} || exit 1 + cd ${BUILD_DIR} } function build_docs() @@ -243,6 +345,8 @@ cp src/binutils/COPYING ${PREFIX} || exit 1 cp src/binutils/COPYING.LIB ${PREFIX} || exit 1 cp src/binutils/COPYING.NEWLIB ${PREFIX} || exit 1 + + cd ${BUILD_DIR} } function build_profile() @@ -252,8 +356,8 @@ echo "" echo "" - mkdir -p ${BUILD_DIR}/profile || exit 1 - cd ${BUILD_DIR}/profile || exit 1 + mkdir -p profile || exit 1 + cd profile ${BASE_DIRECTORY}/profile/configure \ --build=${BUILD} \ @@ -264,6 +368,8 @@ make || exit 1 make install || exit 1 + + cd ${BUILD_DIR} } function build_all @@ -279,27 +385,37 @@ build_gdbstub } -case $BUILD_OPT in - --help) - echo "usage:" - echo "$0 [source dir] [build directory] [prefix dir] [build_opt]" - echo " " - echo "Valid build options : binutils bootstrapgcc" - echo " w32api mingw gcc gdb gdbstub docs profile all" - ;; - binutils) build_binutils ;; - bootstrapgcc) build_bootstrap_gcc ;; - w32api) build_w32api ;; - mingw) build_mingw_runtime ;; - gcc) build_gcc ;; - gdb) build_gdb ;; - gdbstub) build_gdbstub ;; - docs) build_docs ;; - profile) build_profile ;; - all) build_all ;; - *) echo "Please enter a valid build option." ;; -esac +# check for valid options before trying to build them all. +eval "set -- $components" +while [ -n "$1" ]; do + case $1 in + binutils | bootstrapgcc | w32api | \ + mingw | gcc | gdb | gdbstub | \ + docs | profile | all) + ;; + *) echo "Please enter a valid build option." ;; + esac + shift +done +# now actually try to build them. +eval "set -- $components" +while [ -n "$1" ]; do + case $1 in + binutils) build_binutils ;; + bootstrapgcc) build_bootstrap_gcc ;; + w32api) build_w32api ;; + mingw) build_mingw_runtime ;; + gcc) build_gcc ;; + gdb) build_gdb ;; + gdbstub) build_gdbstub ;; + docs) build_docs ;; + profile) build_profile ;; + all) build_all ;; + esac + shift +done + echo "" echo "DONE --------------------------" echo "" This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2007-05-28 09:48:23
|
Revision: 920 http://svn.sourceforge.net/cegcc/?rev=920&view=rev Author: dannybackx Date: 2007-05-28 02:48:22 -0700 (Mon, 28 May 2007) Log Message: ----------- Add error detection, this made me miss a build error, which in turn caused the C++ DLL not to be in the distributions I made using this script up to now. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/build-cegcc.sh Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2007-05-28 00:22:18 UTC (rev 919) +++ trunk/cegcc/src/ChangeLog 2007-05-28 09:48:22 UTC (rev 920) @@ -1,3 +1,7 @@ +2007-05-28 Danny Backx <dan...@us...> + + * build-cegcc.sh (build_libstdcppdll) : Add error handling. + 2007-05-13 Pedro Alves <ped...@po...> * build-mingw32ce.sh: Rewrite command line parameters logic. Modified: trunk/cegcc/src/build-cegcc.sh =================================================================== --- trunk/cegcc/src/build-cegcc.sh 2007-05-28 00:22:18 UTC (rev 919) +++ trunk/cegcc/src/build-cegcc.sh 2007-05-28 09:48:22 UTC (rev 920) @@ -221,8 +221,8 @@ echo "" cd ${BASE_DIRECTORY}/cegcc/libstdc++ || exit 1 - make - make install + make || exit 1 + make install || exit 1 } function build_gdb() This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2007-06-02 12:50:41
|
Revision: 927 http://svn.sourceforge.net/cegcc/?rev=927&view=rev Author: dannybackx Date: 2007-06-02 05:50:39 -0700 (Sat, 02 Jun 2007) Log Message: ----------- Change as Pedro suggested. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/cegcc/libstdc++/Makefile Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2007-06-02 12:46:10 UTC (rev 926) +++ trunk/cegcc/src/ChangeLog 2007-06-02 12:50:39 UTC (rev 927) @@ -1,3 +1,9 @@ +2007-06-02 Danny Backx <dan...@us...> + + * cegcc/libstdc++/Makefile : Remove THE_SYSTEM_LIBS variable, somehow + it broke the build, and apparently I was once wrong in thinking this + needed to be different for some builds. + 2007-05-28 Danny Backx <dan...@us...> * build-cegcc.sh (build_libstdcppdll) : Add error handling. Modified: trunk/cegcc/src/cegcc/libstdc++/Makefile =================================================================== --- trunk/cegcc/src/cegcc/libstdc++/Makefile 2007-06-02 12:46:10 UTC (rev 926) +++ trunk/cegcc/src/cegcc/libstdc++/Makefile 2007-06-02 12:50:39 UTC (rev 927) @@ -16,8 +16,6 @@ STRIP=$(TARGET)-strip WINDRES=$(TARGET)-windres -THE_SYSTEM_LIBS?="-lcegcc -lcoredll" - LIB_PATH=$(PREFIX)/$(TARGET)/lib LDFLAGS += -Wl,-Map,${MY_DIR}/$(DLLNAME).map @@ -56,19 +54,6 @@ $(STRIP) ${MY_DIR}/$(DLLNAME)-stripped.dll @mv -vf ${MY_DIR}/$(DLLNAME)-stripped.dll ${MY_DIR}/stripped/$(DLLNAME) -# ${MY_DIR}/$(DLLNAME).a \ -# ${MY_DIR}/$(DLLNAME).def \ -# ${MY_DIR}/$(DLLNAME): -# $(CC) $(LDFLAGS) -shared \ -# -Wl,--enable-auto-import \ -# -Wl,--enable-runtime-pseudo-reloc \ -# -Wl,--export-all-symbols \ -# -o ${MY_DIR}/$(DLLNAME) \ -# -Wl,--out-implib,${MY_DIR}/$(DLLNAME).a \ -# -Wl,--output-def,${MY_DIR}/$(DLLNAME).def \ -# -Wl,--whole-archive ${MY_DIR}/_tmp/*.o \ -# -Wl,-no-whole-archive -lcegcc -lcoredll - ${MY_DIR}/$(DLLNAME).a \ ${MY_DIR}/$(DLLNAME).def \ ${MY_DIR}/$(DLLNAME): @@ -80,7 +65,7 @@ -Wl,--out-implib,${MY_DIR}/$(DLLNAME).a \ -Wl,--output-def,${MY_DIR}/$(DLLNAME).def \ -Wl,--whole-archive ${MY_DIR}/_tmp/*.o \ - -Wl,-no-whole-archive ${THE_SYSTEM_LIBS} + -Wl,-no-whole-archive -lcegcc -lcoredll installdll: ${MY_DIR}/stripped/$(DLLNAME) This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2007-06-13 15:03:57
|
Revision: 943 http://svn.sourceforge.net/cegcc/?rev=943&view=rev Author: pedroalves Date: 2007-06-13 08:03:53 -0700 (Wed, 13 Jun 2007) Log Message: ----------- * script.sh: Rename to ... * build-mingw32ce-dlls.sh: ... this. Modified Paths: -------------- trunk/cegcc/src/ChangeLog Added Paths: ----------- trunk/cegcc/src/build-mingw32ce-dlls.sh Removed Paths: ------------- trunk/cegcc/src/script.sh Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2007-06-10 20:44:04 UTC (rev 942) +++ trunk/cegcc/src/ChangeLog 2007-06-13 15:03:53 UTC (rev 943) @@ -1,3 +1,8 @@ +2007-06-13 Pedro Alves <ped...@po...> + + * script.sh: Rename to ... + * build-mingw32ce-dlls.sh: ... this. + 2007-06-02 Danny Backx <dan...@us...> * cegcc/libstdc++/Makefile : Remove THE_SYSTEM_LIBS variable, somehow Copied: trunk/cegcc/src/build-mingw32ce-dlls.sh (from rev 844, trunk/cegcc/src/script.sh) =================================================================== --- trunk/cegcc/src/build-mingw32ce-dlls.sh (rev 0) +++ trunk/cegcc/src/build-mingw32ce-dlls.sh 2007-06-13 15:03:53 UTC (rev 943) @@ -0,0 +1,90 @@ +#!/bin/bash -x + +# Based on script from: +# http://cygwin.com/ml/cygwin-apps/2006-05/msg00044.html + +TARGET=arm-wince-mingw32ce +PREFIX=/opt/mingw32ce +GCC_VERSION=4.1.0 + +export PATH=${PREFIX}/bin:${PATH} + +srcdir=`readlink -f ./gcc` +builddir=`readlink -f build-mingw32ce` + +pushd ${PREFIX}/${TARGET}/lib + +LIBVER=$(grep libtool_VERSION= ${srcdir}/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)) + +## no need for a DLLVER for libgcc; it's guaranteed to only add functions, +## never remove or change thier signature. So it'll always be backwards-compatible. + +## It's probably not necessary, but we'll use the LIBSTDCPP_DLLVER for +## libsupc++ as well (after all, all of libsupc++ appears IN libstdc++ +## so if libsupc++ changes in a backwards-non-compatible way, then libstdc++ +## will, too -- and the gcc folks will modify its LIBVER. The downside here +## is that if libsupc++ is unchanged or remains backwards compatible, but +## some other part of libstdc++ changes badly -- we will unnecessarily bump +## libsupc++'s DLLNUM. 'sokay. + +pushd ${PREFIX}/lib/gcc/${TARGET}/${GCC_VERSION} +${TARGET}-dlltool --output-def libgcc.def --export-all libgcc.a +${builddir}/gcc/gcc/xgcc -shared -olibgcc.dll \ + -Wl,--out-implib,libgcc.dll.a \ + ./libgcc.def \ + ./libgcc.a +#no versioned implib, no need to ln +popd + +${TARGET}-dlltool --output-def libsupc++.def --export-all libsupc++.a +${builddir}/gcc/gcc/xgcc -shared -olibsupc++-${LIBSTDCPP_DLLVER}.dll \ + -Wl,--out-implib,libsupc++-${LIBSTDCPP_DLLVER}.dll.a \ + ./libsupc++.def \ + ./libsupc++.a +rm -f libsupc++.dll.a +ln -s libsupc++-${LIBSTDCPP_DLLVER}.dll.a libsupc++.dll.a + +${TARGET}-dlltool --output-def libstdc++.def --export-all libstdc++.a +${builddir}/gcc/gcc/xgcc -shared -olibstdc++-${LIBSTDCPP_DLLVER}.dll \ + -Wl,--out-implib,libstdc++-${LIBSTDCPP_DLLVER}.dll.a \ + ./libstdc++.def \ + ./libstdc++.a + +rm -f libstdc++.dll.a +ln -s libstdc++-${LIBSTDCPP_DLLVER}.dll.a libstdc++.dll.a + +mkdir -p ${builddir}/device +pushd ${builddir}/device +rm -f libsupc++-${LIBSTDCPP_DLLVER}.dll +rm -f libstdc++-${LIBSTDCPP_DLLVER}.dll +rm -f libgcc.dll + +cp -f ${PREFIX}/lib/gcc/${TARGET}/${GCC_VERSION}/libgcc.dll . +cp -f ${PREFIX}/${TARGET}/lib/libsupc++-${LIBSTDCPP_DLLVER}.dll . +cp -f ${PREFIX}/${TARGET}/lib/libstdc++-${LIBSTDCPP_DLLVER}.dll . + +${TARGET}-strip libgcc.dll +${TARGET}-strip libsupc++-${LIBSTDCPP_DLLVER}.dll +${TARGET}-strip libstdc++-${LIBSTDCPP_DLLVER}.dll +popd + +## MUNGE the .la files +mv libstdc++.la libstdc++.la.SAVE +cat libstdc++.la.SAVE |\ + sed -e "s/^dlname=.*\$/dlname='libstdc++-${LIBSTDCPP_DLLVER}.dll'/" \ + -e "s/^library_names=.*\$/library_names='libstdc++.dll.a'/" >\ + libstdc++.la +rm -f libstdc++.la.SAVE + +mv libsupc++.la libsupc++.la.SAVE +cat libsupc++.la.SAVE |\ + sed -e "s/^dlname=.*\$/dlname='libsupc++-${LIBSTDCPP_DLLVER}.dll'/" \ + -e "s/^library_names=.*\$/library_names='libsupc++.dll.a'/" >\ + libsupc++.la +rm -f libsupc++.la.SAVE + +popd Deleted: trunk/cegcc/src/script.sh =================================================================== --- trunk/cegcc/src/script.sh 2007-06-10 20:44:04 UTC (rev 942) +++ trunk/cegcc/src/script.sh 2007-06-13 15:03:53 UTC (rev 943) @@ -1,90 +0,0 @@ -#!/bin/bash -x - -# Based on script from: -# http://cygwin.com/ml/cygwin-apps/2006-05/msg00044.html - -TARGET=arm-wince-mingw32ce -PREFIX=/opt/mingw32ce -GCC_VERSION=4.1.0 - -export PATH=${PREFIX}/bin:${PATH} - -srcdir=`readlink -f ./gcc` -builddir=`readlink -f build-mingw32ce` - -pushd ${PREFIX}/${TARGET}/lib - -LIBVER=$(grep libtool_VERSION= ${srcdir}/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)) - -## no need for a DLLVER for libgcc; it's guaranteed to only add functions, -## never remove or change thier signature. So it'll always be backwards-compatible. - -## It's probably not necessary, but we'll use the LIBSTDCPP_DLLVER for -## libsupc++ as well (after all, all of libsupc++ appears IN libstdc++ -## so if libsupc++ changes in a backwards-non-compatible way, then libstdc++ -## will, too -- and the gcc folks will modify its LIBVER. The downside here -## is that if libsupc++ is unchanged or remains backwards compatible, but -## some other part of libstdc++ changes badly -- we will unnecessarily bump -## libsupc++'s DLLNUM. 'sokay. - -pushd ${PREFIX}/lib/gcc/${TARGET}/${GCC_VERSION} -${TARGET}-dlltool --output-def libgcc.def --export-all libgcc.a -${builddir}/gcc/gcc/xgcc -shared -olibgcc.dll \ - -Wl,--out-implib,libgcc.dll.a \ - ./libgcc.def \ - ./libgcc.a -#no versioned implib, no need to ln -popd - -${TARGET}-dlltool --output-def libsupc++.def --export-all libsupc++.a -${builddir}/gcc/gcc/xgcc -shared -olibsupc++-${LIBSTDCPP_DLLVER}.dll \ - -Wl,--out-implib,libsupc++-${LIBSTDCPP_DLLVER}.dll.a \ - ./libsupc++.def \ - ./libsupc++.a -rm -f libsupc++.dll.a -ln -s libsupc++-${LIBSTDCPP_DLLVER}.dll.a libsupc++.dll.a - -${TARGET}-dlltool --output-def libstdc++.def --export-all libstdc++.a -${builddir}/gcc/gcc/xgcc -shared -olibstdc++-${LIBSTDCPP_DLLVER}.dll \ - -Wl,--out-implib,libstdc++-${LIBSTDCPP_DLLVER}.dll.a \ - ./libstdc++.def \ - ./libstdc++.a - -rm -f libstdc++.dll.a -ln -s libstdc++-${LIBSTDCPP_DLLVER}.dll.a libstdc++.dll.a - -mkdir -p ${builddir}/device -pushd ${builddir}/device -rm -f libsupc++-${LIBSTDCPP_DLLVER}.dll -rm -f libstdc++-${LIBSTDCPP_DLLVER}.dll -rm -f libgcc.dll - -cp -f ${PREFIX}/lib/gcc/${TARGET}/${GCC_VERSION}/libgcc.dll . -cp -f ${PREFIX}/${TARGET}/lib/libsupc++-${LIBSTDCPP_DLLVER}.dll . -cp -f ${PREFIX}/${TARGET}/lib/libstdc++-${LIBSTDCPP_DLLVER}.dll . - -${TARGET}-strip libgcc.dll -${TARGET}-strip libsupc++-${LIBSTDCPP_DLLVER}.dll -${TARGET}-strip libstdc++-${LIBSTDCPP_DLLVER}.dll -popd - -## MUNGE the .la files -mv libstdc++.la libstdc++.la.SAVE -cat libstdc++.la.SAVE |\ - sed -e "s/^dlname=.*\$/dlname='libstdc++-${LIBSTDCPP_DLLVER}.dll'/" \ - -e "s/^library_names=.*\$/library_names='libstdc++.dll.a'/" >\ - libstdc++.la -rm -f libstdc++.la.SAVE - -mv libsupc++.la libsupc++.la.SAVE -cat libsupc++.la.SAVE |\ - sed -e "s/^dlname=.*\$/dlname='libsupc++-${LIBSTDCPP_DLLVER}.dll'/" \ - -e "s/^library_names=.*\$/library_names='libsupc++.dll.a'/" >\ - libsupc++.la -rm -f libsupc++.la.SAVE - -popd This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2007-06-13 15:23:49
|
Revision: 944 http://svn.sourceforge.net/cegcc/?rev=944&view=rev Author: pedroalves Date: 2007-06-13 08:23:43 -0700 (Wed, 13 Jun 2007) Log Message: ----------- We don't need this hack anymore. * mingw-fake_crt: Remove. Modified Paths: -------------- trunk/cegcc/src/ChangeLog Removed Paths: ------------- trunk/cegcc/src/mingw-fake_crt/ Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2007-06-13 15:03:53 UTC (rev 943) +++ trunk/cegcc/src/ChangeLog 2007-06-13 15:23:43 UTC (rev 944) @@ -1,5 +1,9 @@ 2007-06-13 Pedro Alves <ped...@po...> + * mingw-fake_crt: Remove. + +2007-06-13 Pedro Alves <ped...@po...> + * script.sh: Rename to ... * build-mingw32ce-dlls.sh: ... this. This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2007-09-03 20:21:09
|
Revision: 1058 http://cegcc.svn.sourceforge.net/cegcc/?rev=1058&view=rev Author: dannybackx Date: 2007-09-03 13:21:03 -0700 (Mon, 03 Sep 2007) Log Message: ----------- Add toolhelp library Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/cegcc/importlibs/build.sh Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2007-09-02 23:52:29 UTC (rev 1057) +++ trunk/cegcc/src/ChangeLog 2007-09-03 20:21:03 UTC (rev 1058) @@ -1,3 +1,7 @@ +2007-09-03 Danny Backx <dan...@us...> + + * cegcc/importlibs/build.sh: Generate proxy for the toolhelp library. + 2007-06-13 Pedro Alves <ped...@po...> * mingw-fake_crt: Remove. Modified: trunk/cegcc/src/cegcc/importlibs/build.sh =================================================================== --- trunk/cegcc/src/cegcc/importlibs/build.sh 2007-09-02 23:52:29 UTC (rev 1057) +++ trunk/cegcc/src/cegcc/importlibs/build.sh 2007-09-03 20:21:03 UTC (rev 1058) @@ -15,5 +15,6 @@ ./mkimport.sh $defdir/winsock.def $outputdir || exit ./mkimport.sh $defdir/ws2.def $outputdir || exit ./mkimport.sh $defdir/mmtimer.def $outputdir || exit +./mkimport.sh $defdir/toolhelp.def $outputdir || exit #./winsock.sh $defdir $outputdir || exit #./ws2.sh $defdir $outputdir This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2007-11-25 07:25:25
|
Revision: 1078 http://cegcc.svn.sourceforge.net/cegcc/?rev=1078&view=rev Author: dannybackx Date: 2007-11-24 23:25:23 -0800 (Sat, 24 Nov 2007) Log Message: ----------- Remove icmplib Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/cegcc/importlibs/build.sh trunk/cegcc/src/w32api/ChangeLog.ce Removed Paths: ------------- trunk/cegcc/src/w32api/libce/icmplib.def Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2007-11-22 19:51:03 UTC (rev 1077) +++ trunk/cegcc/src/ChangeLog 2007-11-25 07:25:23 UTC (rev 1078) @@ -1,3 +1,8 @@ +2007-11-25 Pedro Alves, Danny Backx <dan...@us...> + + * cegcc/importlibs/build.sh: Remove proxy for icmplib, MSDN says it's + a static library only. + 2007-09-03 Danny Backx <dan...@us...> * cegcc/importlibs/build.sh: Generate proxy for the toolhelp library. Modified: trunk/cegcc/src/cegcc/importlibs/build.sh =================================================================== --- trunk/cegcc/src/cegcc/importlibs/build.sh 2007-11-22 19:51:03 UTC (rev 1077) +++ trunk/cegcc/src/cegcc/importlibs/build.sh 2007-11-25 07:25:23 UTC (rev 1078) @@ -4,7 +4,6 @@ outputdir=$2 ./mkimport.sh $defdir/coredll.def $outputdir || exit -./mkimport.sh $defdir/icmplib.def $outputdir || exit ./mkimport.sh $defdir/note_prj.def $outputdir || exit ./mkimport.sh $defdir/iphlpapi.def $outputdir || exit ./mkimport.sh $defdir/commctrl.def $outputdir || exit Modified: trunk/cegcc/src/w32api/ChangeLog.ce =================================================================== --- trunk/cegcc/src/w32api/ChangeLog.ce 2007-11-22 19:51:03 UTC (rev 1077) +++ trunk/cegcc/src/w32api/ChangeLog.ce 2007-11-25 07:25:23 UTC (rev 1078) @@ -1,3 +1,8 @@ +2007-11-25 Pedro Alves, Danny Backx <dan...@us...> + + * w32api/libce/icmplib.def: Remove proxy for icmplib, MSDN says it's + a static library only. + 2007-11-16 Danny Backx <dan...@us...> * include/shlwapi.h (PathCombine) : Define without W or A suffix for Deleted: trunk/cegcc/src/w32api/libce/icmplib.def =================================================================== --- trunk/cegcc/src/w32api/libce/icmplib.def 2007-11-22 19:51:03 UTC (rev 1077) +++ trunk/cegcc/src/w32api/libce/icmplib.def 2007-11-25 07:25:23 UTC (rev 1078) @@ -1,6 +0,0 @@ -LIBRARY ICMPLIB -EXPORTS -IcmpCreateFile -IcmpCloseHandle -IcmpSendEcho - This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2007-12-17 02:42:13
|
Revision: 1092 http://cegcc.svn.sourceforge.net/cegcc/?rev=1092&view=rev Author: pedroalves Date: 2007-12-16 18:41:40 -0800 (Sun, 16 Dec 2007) Log Message: ----------- * build-mingw32ce.sh: Make it build with sh. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/build-mingw32ce.sh Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2007-12-17 02:39:55 UTC (rev 1091) +++ trunk/cegcc/src/ChangeLog 2007-12-17 02:41:40 UTC (rev 1092) @@ -1,3 +1,7 @@ +2007-12-17 Pedro Alves <ped...@po...> + + * build-mingw32ce.sh: Make it build with sh. + 2007-11-25 Pedro Alves <ped...@po...> Danny Backx <dan...@us...> Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2007-12-17 02:39:55 UTC (rev 1091) +++ trunk/cegcc/src/build-mingw32ce.sh 2007-12-17 02:41:40 UTC (rev 1092) @@ -146,7 +146,7 @@ mkdir -p ${BUILD_DIR} || exit 1 mkdir -p ${PREFIX} || exit 1 -function build_binutils() +build_binutils() { echo "" echo "BUILDING BINUTILS --------------------------" @@ -165,7 +165,7 @@ cd ${BUILD_DIR} } -function build_bootstrap_gcc() +build_bootstrap_gcc() { mkdir -p gcc-bootstrap || exit 1 cd gcc-bootstrap @@ -192,7 +192,7 @@ cd ${BUILD_DIR} } -function build_w32api() +build_w32api() { #I have this normally set by ccache. #Must unset them, because mingw being a lib, @@ -215,7 +215,7 @@ cd ${BUILD_DIR} } -function build_mingw_runtime() +build_mingw_runtime() { #I have this normally set by ccache. #Must unset them, because mingw being a lib, @@ -239,7 +239,7 @@ cd ${BUILD_DIR} } -function build_gcc() +build_gcc() { mkdir -p gcc || exit 1 cd gcc @@ -283,7 +283,7 @@ cd ${BUILD_DIR} } -function build_gdb() +build_gdb() { echo "" echo "BUILDING GDB --------------------------" @@ -317,7 +317,7 @@ cd ${BUILD_DIR} } -function build_gdbstub() +build_gdbstub() { echo "" echo "BUILDING GDB stub --------------------------" @@ -336,7 +336,7 @@ cd ${BUILD_DIR} } -function build_docs() +build_docs() { echo "" echo "INSTALLING documentation --------------------------" @@ -360,7 +360,7 @@ cd ${BUILD_DIR} } -function build_profile() +build_profile() { echo "" echo "BUILDING profiling libraries --------------------------" @@ -383,7 +383,7 @@ cd ${BUILD_DIR} } -function build_all +build_all() { build_binutils build_bootstrap_gcc This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: Danny B. <dan...@sc...> - 2007-12-21 11:09:59
|
FYI I've not allowed this (very big) message to go to the list. Danny Revision: 1095 http://cegcc.svn.sourceforge.net/cegcc/?rev=1095&view=rev Author: dannybackx Date: 2007-12-21 01:32:57 -0800 (Fri, 21 Dec 2007) Log Message: ----------- Add the binutils-2.18 release to our SVN. To be integrated. Added Paths: ----------- trunk/cegcc/src/binutils-2.18/ trunk/cegcc/src/binutils-2.18/COPYING trunk/cegcc/src/binutils-2.18/COPYING.LIB trunk/cegcc/src/binutils-2.18/COPYING3 trunk/cegcc/src/binutils-2.18/COPYING3.LIB trunk/cegcc/src/binutils-2.18/Makefile.def trunk/cegcc/src/binutils-2.18/Makefile.in trunk/cegcc/src/binutils-2.18/Makefile.tpl trunk/cegcc/src/binutils-2.18/README trunk/cegcc/src/binutils-2.18/bfd/ trunk/cegcc/src/binutils-2.18/bfd/COPYING trunk/cegcc/src/binutils-2.18/bfd/ChangeLog -- Danny Backx ; danny.backx - at - scarlet.be ; http://danny.backx.info |
From: <dan...@us...> - 2007-12-21 14:28:26
|
Revision: 1098 http://cegcc.svn.sourceforge.net/cegcc/?rev=1098&view=rev Author: dannybackx Date: 2007-12-21 06:28:24 -0800 (Fri, 21 Dec 2007) Log Message: ----------- Change target to arm-unknown-mingw32ce. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/build-mingw32ce-dlls.sh trunk/cegcc/src/build-mingw32ce.sh Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2007-12-21 14:22:09 UTC (rev 1097) +++ trunk/cegcc/src/ChangeLog 2007-12-21 14:28:24 UTC (rev 1098) @@ -1,3 +1,8 @@ +2007-12-21 Danny Backx <dan...@us...> + + * build-mingw32ce.sh, build-mingw32ce-dll.sh: Change target to + arm-unknown-mingw32ce. + 2007-12-17 Pedro Alves <ped...@po...> * build-mingw32ce.sh: Make it build with sh. Modified: trunk/cegcc/src/build-mingw32ce-dlls.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce-dlls.sh 2007-12-21 14:22:09 UTC (rev 1097) +++ trunk/cegcc/src/build-mingw32ce-dlls.sh 2007-12-21 14:28:24 UTC (rev 1098) @@ -3,7 +3,7 @@ # Based on script from: # http://cygwin.com/ml/cygwin-apps/2006-05/msg00044.html -TARGET=arm-wince-mingw32ce +TARGET=arm-unknown-mingw32ce PREFIX=/opt/mingw32ce GCC_VERSION=4.1.0 Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2007-12-21 14:22:09 UTC (rev 1097) +++ trunk/cegcc/src/build-mingw32ce.sh 2007-12-21 14:28:24 UTC (rev 1098) @@ -133,7 +133,8 @@ # Report about options. echo The following components will be built: ${components} -export TARGET="arm-wince-mingw32ce" +export TARGET="arm-unknown-mingw32ce" +# export TARGET="arm-wince-mingw32ce" export BUILD=`sh ${BASE_DIRECTORY}/gcc/config.guess` export PATH=${PREFIX}/bin:${PATH} @@ -355,7 +356,7 @@ cp NEWS README ${PREFIX} || exit 1 cp src/binutils/COPYING ${PREFIX} || exit 1 cp src/binutils/COPYING.LIB ${PREFIX} || exit 1 - cp src/binutils/COPYING.NEWLIB ${PREFIX} || exit 1 + cp src/newlib/COPYING.NEWLIB ${PREFIX} || exit 1 cd ${BUILD_DIR} } This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2007-12-24 20:44:37
|
Revision: 1101 http://cegcc.svn.sourceforge.net/cegcc/?rev=1101&view=rev Author: pedroalves Date: 2007-12-24 12:44:08 -0800 (Mon, 24 Dec 2007) Log Message: ----------- Missed this one: * build-mingw32ce.sh (usage): Make it run with sh. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/build-mingw32ce.sh Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2007-12-23 11:42:46 UTC (rev 1100) +++ trunk/cegcc/src/ChangeLog 2007-12-24 20:44:08 UTC (rev 1101) @@ -1,3 +1,7 @@ +2007-12-24 Pedro Alves <ped...@po...> + + * build-mingw32ce.sh (usage): Make it run with sh. + 2007-12-21 Danny Backx <dan...@us...> * build-mingw32ce.sh, build-mingw32ce-dll.sh: Change target to Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2007-12-23 11:42:46 UTC (rev 1100) +++ trunk/cegcc/src/build-mingw32ce.sh 2007-12-24 20:44:08 UTC (rev 1101) @@ -10,7 +10,7 @@ ac_default_prefix="/opt/mingw32ce" export BUILD_DIR=`pwd` -function usage +usage() { cat << _ACEOF This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2007-12-25 20:18:37
|
Revision: 1105 http://cegcc.svn.sourceforge.net/cegcc/?rev=1105&view=rev Author: pedroalves Date: 2007-12-25 12:18:36 -0800 (Tue, 25 Dec 2007) Log Message: ----------- 2007-12-25 Pedro Alves <ped...@po...> * build-mingw32ce.sh: Display bootstrapgcc option on `usage`. Move option reporting below option processing. Exit immediatelly if an invalid component is specified. Actually allow specifying a list of components. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/build-mingw32ce.sh Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2007-12-25 19:59:08 UTC (rev 1104) +++ trunk/cegcc/src/ChangeLog 2007-12-25 20:18:36 UTC (rev 1105) @@ -1,3 +1,10 @@ +2007-12-25 Pedro Alves <ped...@po...> + + * build-mingw32ce.sh: Display bootstrapgcc option on `usage`. + Move option reporting below option processing. Exit immediatelly + if an invalid component is specified. Actually allow specifying a + list of components. + 2007-12-24 Pedro Alves <ped...@po...> * build-mingw32ce.sh (usage): Make it run with sh. Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2007-12-25 19:59:08 UTC (rev 1104) +++ trunk/cegcc/src/build-mingw32ce.sh 2007-12-25 20:18:36 UTC (rev 1105) @@ -22,8 +22,8 @@ --prefix=PREFIX install toolchain in PREFIX [$ac_default_prefix] --components=LIST specify which components to build - valid components are: all,binutils,gcc,w32api,mingw, - gdb,gdbstub,docs and profile + valid components are: all,binutils,bootstrapgcc, + gcc,w32api,mingw, gdb,gdbstub,docs and profile [all] Report bugs to <ceg...@li...>. @@ -130,23 +130,6 @@ exit 1 fi -# Report about options. -echo The following components will be built: ${components} - -export TARGET="arm-unknown-mingw32ce" -# export TARGET="arm-wince-mingw32ce" -export BUILD=`sh ${BASE_DIRECTORY}/gcc/config.guess` -export PATH=${PREFIX}/bin:${PATH} - -echo "Building mingw32ce:" -echo "source: ${BASE_DIRECTORY}" -echo "building in: ${BUILD_DIR}" -echo "prefix: ${PREFIX}" -echo "components: ${components}" - -mkdir -p ${BUILD_DIR} || exit 1 -mkdir -p ${PREFIX} || exit 1 - build_binutils() { echo "" @@ -397,21 +380,39 @@ build_gdbstub } +split_components=`echo "${components}" | sed -e 's/,/ /g'` + # check for valid options before trying to build them all. -eval "set -- $components" +eval "set -- $split_components" while [ -n "$1" ]; do case $1 in binutils | bootstrapgcc | w32api | \ mingw | gcc | gdb | gdbstub | \ docs | profile | all) ;; - *) echo "Please enter a valid build option." ;; + *) + echo "Please enter a valid build option." + exit 1 + ;; esac shift done +export TARGET="arm-unknown-mingw32ce" +export BUILD=`sh ${BASE_DIRECTORY}/gcc/config.guess` +export PATH=${PREFIX}/bin:${PATH} + +echo "Building mingw32ce:" +echo "source: ${BASE_DIRECTORY}" +echo "building in: ${BUILD_DIR}" +echo "prefix: ${PREFIX}" +echo "components: ${components}" + +mkdir -p ${BUILD_DIR} || exit 1 +mkdir -p ${PREFIX} || exit 1 + # now actually try to build them. -eval "set -- $components" +eval "set -- $split_components" while [ -n "$1" ]; do case $1 in binutils) build_binutils ;; This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <ped...@us...> - 2007-12-25 23:39:58
|
Revision: 1118 http://cegcc.svn.sourceforge.net/cegcc/?rev=1118&view=rev Author: pedroalves Date: 2007-12-25 15:39:57 -0800 (Tue, 25 Dec 2007) Log Message: ----------- * build-mingw32ce.sh: Change default target to arm-mingw32ce. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/build-mingw32ce.sh Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2007-12-25 23:25:15 UTC (rev 1117) +++ trunk/cegcc/src/ChangeLog 2007-12-25 23:39:57 UTC (rev 1118) @@ -1,5 +1,9 @@ 2007-12-25 Pedro Alves <ped...@po...> + * build-mingw32ce.sh: Change default target to arm-mingw32ce. + +2007-12-25 Pedro Alves <ped...@po...> + * build-mingw32ce.sh: Display bootstrapgcc option on `usage`. Move option reporting below option processing. Exit immediatelly if an invalid component is specified. Actually allow specifying a Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2007-12-25 23:25:15 UTC (rev 1117) +++ trunk/cegcc/src/build-mingw32ce.sh 2007-12-25 23:39:57 UTC (rev 1118) @@ -398,7 +398,7 @@ shift done -export TARGET="arm-unknown-mingw32ce" +export TARGET="arm-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: <ped...@us...> - 2007-12-25 23:45:18
|
Revision: 1119 http://cegcc.svn.sourceforge.net/cegcc/?rev=1119&view=rev Author: pedroalves Date: 2007-12-25 15:45:15 -0800 (Tue, 25 Dec 2007) Log Message: ----------- * build-mingw32ce-dlls.sh: Change default target to arm-mingw32ce. Remove dependency on readlink. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/build-mingw32ce-dlls.sh Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2007-12-25 23:39:57 UTC (rev 1118) +++ trunk/cegcc/src/ChangeLog 2007-12-25 23:45:15 UTC (rev 1119) @@ -1,5 +1,10 @@ 2007-12-25 Pedro Alves <ped...@po...> + * build-mingw32ce-dlls.sh: Change default target to arm-mingw32ce. + Remove dependency on readlink. + +2007-12-25 Pedro Alves <ped...@po...> + * build-mingw32ce.sh: Change default target to arm-mingw32ce. 2007-12-25 Pedro Alves <ped...@po...> Modified: trunk/cegcc/src/build-mingw32ce-dlls.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce-dlls.sh 2007-12-25 23:39:57 UTC (rev 1118) +++ trunk/cegcc/src/build-mingw32ce-dlls.sh 2007-12-25 23:45:15 UTC (rev 1119) @@ -3,14 +3,14 @@ # Based on script from: # http://cygwin.com/ml/cygwin-apps/2006-05/msg00044.html -TARGET=arm-unknown-mingw32ce +TARGET=arm-mingw32ce PREFIX=/opt/mingw32ce GCC_VERSION=4.1.0 export PATH=${PREFIX}/bin:${PATH} -srcdir=`readlink -f ./gcc` -builddir=`readlink -f build-mingw32ce` +srcdir=`cd gcc; pwd` +builddir=`cd build-mingw32ce; pwd` pushd ${PREFIX}/${TARGET}/lib This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2007-12-26 09:48:33
|
Revision: 1120 http://cegcc.svn.sourceforge.net/cegcc/?rev=1120&view=rev Author: dannybackx Date: 2007-12-26 01:48:15 -0800 (Wed, 26 Dec 2007) Log Message: ----------- Add call to DLL build script. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/build-mingw32ce.sh Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2007-12-25 23:45:15 UTC (rev 1119) +++ trunk/cegcc/src/ChangeLog 2007-12-26 09:48:15 UTC (rev 1120) @@ -1,3 +1,7 @@ +2007-12-26 Danny Backx <dan...@us...> + + * build-mingw32ce.sh: add call to build-mingw32-dlls.sh. + 2007-12-25 Pedro Alves <ped...@po...> * build-mingw32ce-dlls.sh: Change default target to arm-mingw32ce. Modified: trunk/cegcc/src/build-mingw32ce.sh =================================================================== --- trunk/cegcc/src/build-mingw32ce.sh 2007-12-25 23:45:15 UTC (rev 1119) +++ trunk/cegcc/src/build-mingw32ce.sh 2007-12-26 09:48:15 UTC (rev 1120) @@ -367,6 +367,24 @@ cd ${BUILD_DIR} } +build_dlls() +{ + echo "" + echo "BUILDING DLL libraries --------------------------" + echo "" + echo "" + + cd ${BUILD_DIR} + + mkdir -p dll || exit 1 + cd dll + + cd ${BASE_DIRECTORY} || exit 1 + ${BASE_DIRECTORY}/build-mingw32ce-dlls.sh || exit 1 + + cd ${BUILD_DIR} +} + build_all() { build_binutils @@ -378,6 +396,7 @@ build_profile build_gdb build_gdbstub + build_dlls } split_components=`echo "${components}" | sed -e 's/,/ /g'` @@ -388,7 +407,7 @@ case $1 in binutils | bootstrapgcc | w32api | \ mingw | gcc | gdb | gdbstub | \ - docs | profile | all) + docs | profile | dlls | all) ;; *) echo "Please enter a valid build option." @@ -424,6 +443,7 @@ gdbstub) build_gdbstub ;; docs) build_docs ;; profile) build_profile ;; + dlls) build_dlls ;; all) build_all ;; esac shift This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |
From: <dan...@us...> - 2008-01-02 20:10:10
|
Revision: 1122 http://cegcc.svn.sourceforge.net/cegcc/?rev=1122&view=rev Author: dannybackx Date: 2008-01-02 12:10:02 -0800 (Wed, 02 Jan 2008) Log Message: ----------- Use "?=" to assign to the TARGET variable so make picks up the value from the environment if it is there. Modified Paths: -------------- trunk/cegcc/src/ChangeLog trunk/cegcc/src/cegcc/cegccdll/Makefile trunk/cegcc/src/cegcc/libstdc++/Makefile Modified: trunk/cegcc/src/ChangeLog =================================================================== --- trunk/cegcc/src/ChangeLog 2008-01-02 10:17:46 UTC (rev 1121) +++ trunk/cegcc/src/ChangeLog 2008-01-02 20:10:02 UTC (rev 1122) @@ -1,3 +1,9 @@ +2008-01-02 Danny Backx <dan...@us...> + + * cegcc/cegccdll/Makefile, cegcc/libstdc++/Makefile: Use "?=" to + assign to the TARGET variable so make picks up the value from the + environment if it is there. + 2007-12-26 Danny Backx <dan...@us...> * build-mingw32ce.sh: add call to build-mingw32-dlls.sh. Modified: trunk/cegcc/src/cegcc/cegccdll/Makefile =================================================================== --- trunk/cegcc/src/cegcc/cegccdll/Makefile 2008-01-02 10:17:46 UTC (rev 1121) +++ trunk/cegcc/src/cegcc/cegccdll/Makefile 2008-01-02 20:10:02 UTC (rev 1122) @@ -15,7 +15,7 @@ TOP_SRCDIR?=../../.. SRCDIR=${TOP_SRCDIR}/src/cegcc/cegccdll -TARGET=arm-wince-cegcc +TARGET?=arm-wince-cegcc DLLNAME=cegcc.dll IMPLIB=lib$(DLLNAME).a Modified: trunk/cegcc/src/cegcc/libstdc++/Makefile =================================================================== --- trunk/cegcc/src/cegcc/libstdc++/Makefile 2008-01-02 10:17:46 UTC (rev 1121) +++ trunk/cegcc/src/cegcc/libstdc++/Makefile 2008-01-02 20:10:02 UTC (rev 1122) @@ -9,7 +9,7 @@ DLLNAME=libstdc++.dll IMPLIB=$(DLLNAME).a -TARGET=arm-wince-cegcc +TARGET?=arm-wince-cegcc AR=$(TARGET)-ar CC=$(TARGET)-gcc This was sent by the SourceForge.net collaborative development platform, the world's largest Open Source development site. |