Started 2 yr 8 mo ago

Success Build #6 (Aug 30, 2009 12:05:37 PM)

Changes
  1. We can't use stdbool.h. It breaks on Solaris.
    We can't define bool/true/false ourselves. That breaks e.g. on Linux/AMD64.
      Maybe under #ifdef?
    Let's try BOOL/TRUE/FALSE.
    If that fails, probably m3bool/m3true/m3false. (
    detail)
  2. add comment here too (detail)
  3. remove all tabs (detail)
  4. remove a few do-nothing semicolons after braces (detail)
  5. fix more pointless and inconsistent formating -- spaces before semicolons (detail)
  6. fix newlines (detail)
  7. try using putty scp in elego vm (detail)
  8. functions that take no parameters should be (void), not ()
    () means take anything, not take nothing (detail)
  9. fix warning: RTMachine__SaveRegsInStack not declared (detail)
  10. replace setup.cmd that probably doesn't quite work, with JScript (packaged
      in setup.cmd) that is constant and reads the setup.txt file next to it
      We can/should do the same with install.sh, but that is left alone. (detail)
  11. minor cleanup (detail)
  12. remove double semicolon (detail)
  13. update from head -- should fix the unresolve failure in NT386 (detail)
  14. extra special temporary debugprint for NT386 (detail)
  15. fix (detail)
  16. false => FALSE
    #include "m3-BOOL.h" => #include "m3-bool.h" (detail)
  17. remove dos2unix stuff, let's try to figure out the right way (detail)
  18. fix comment (detail)
  19. remove debug code and cleanup (detail)
  20. remove Solaris-specific -lintl (detail)
  21. remove pointless whitespace at ends of lines, for some reason it was rampant (detail)
  22. remove variable that is only written once and read once; use null command : instead of echo for MAKEINFO, like m3cc does (detail)
  23. change <stdbool.h> to "m3-bool.h"
      I must have had the wrong starting versions on this machine? (detail)
  24. remove one level of indentation in common case (detail)
  25. reverse engineering for libgcc, I don't think the documentation is correct, and SOLsun is failing for lack of some functions (detail)
  26. remove spaces from ends of lines
    remove tabs (detail)
  27. unify casing in comment with head (TRUE => true) (detail)
  28. fix m3gdb build on Solaris (SOLgnu)
    cat /usr/include/stdbool.h:
      #error "Use of <stdbool.h> is valid only in a c99 compilation environment."

    so don't use stdbool.h, use this new m3-bool.h instead:

    #ifndef M3_BOOL_H_INCLUDED
    #define M3_BOOL_H_INCLUDED
    #ifndef __cplusplus
    typedef int bool;
    #define true 1
    #define false 0
    #endif
    #endif (detail)
  29. remove the few register variables (detail)
  30. remove do-nothing line (detail)
  31. add missing RC2 link for downloads (detail)
  32. don't run dos2unix if it isn't there (detail)
  33. remove one line of boilerplace jscript-in-cmd wrapper (detail)
  34. why didn't scp run -- add printing (detail)
  35. Huh, plain scp now just works, use it like before. (detail)
  36. cleanup (detail)
  37. remove all tabs (detail)
  38. some echo'ing to try to debug the NT386 resolve problem
    for me, just rerunning cm3 incrementally with or w/o the switch
    regenerates the .M3SHIP file correctly (detail)
  39. take ownership so I can clear executable bit (detail)
  40. Try to use rsync for shipping if available. I hope this doesn't break anything again. (detail)
  41. /*
    This is a wrapper for \cygwin\bin\cvs.exe that doesn't requiring changing %PATH%.
    Put it in some directory already in %PATH%, such as %WinDir% or %WinDir%\system32.
    As well, on the Elego Windows VM, \Program Files\CVSNT has been renamed to CVSNT.1
    to get it out of %PATH%. It ruins line endings.
    As well \SFU was mostly renamed to \SFU.1, to remove it as a possible factor, though
    it turns out it was probably completely innocent.
    As well, CVS_RSH changed to /bin/ssh. Plain "ssh" as all other Hudson jobs use would
    probably work if in this wrapper we prepended c:\cygwin\bin to %PATH%.

    Build it with:
        cl -Zl cvs.c -link -entry:Entry -subsystem:console kernel32.lib
    */

    #include <windows.h>

    /* These are globals just to sleazily avoid -GS and memset dependencies. */

    WCHAR Executable[] = L"C:\\cygwin\\bin\\cvs.exe";
    WCHAR SystemDrive[3];
    STARTUPINFOW StartInfo;
    PROCESS_INFORMATION ProcessInfo;

    void Entry(void)
    {
        DWORD ExitCode;

        StartInfo.cb = sizeof(StartInfo);

        GetEnvironmentVariableW(L"SystemDrive", SystemDrive, 3);
        if (SystemDrive[0])
            Executable[0] = SystemDrive[0];

        ExitCode = CreateProcessW(Executable, GetCommandLineW(), NULL, NULL, FALSE, 0, NULL, NULL, &StartInfo, &ProcessInfo);
        if (ExitCode == FALSE)
        {
            ExitCode = GetLastError();
        }
        else
        {
            WaitForSingleObject(ProcessInfo.hProcess, INFINITE);
            GetExitCodeProcess(ProcessInfo.hProcess, &ExitCode);
        }
        ExitProcess(ExitCode);
    } (detail)
  42. remove debug codep (detail)
  43. finally fix the NT386 unresolve problem, it was mismatched slashes as I thought, but my RTIO was never hitting because it was too restrictive (detail)
  44. commit mail with change that didn't trigger:

      fix m3gdb build on Solaris (SOLgnu)
      cat /usr/include/stdbool.h:
        #error "Use of <stdbool.h> is valid only in a c99 compilation environment."

      so don't use stdbool.h, use this new m3-bool.h instead:

      #ifndef M3_BOOL_H_INCLUDED
      #define M3_BOOL_H_INCLUDED
      #ifndef __cplusplus
      typedef int bool;
      #define true 1
      #define false 0
      #endif
      #endif (detail)
  45. update from head for SOLsun (detail)
  46. fix debugprint, no matter (detail)
  47. dos2unix after cvs up -- notice though that these modified files are being moved away -- building more and more diskspace (detail)
  48. debugprint a little more often (detail)
  49. a bit more temporary debugprint (detail)
  50. echo before action (detail)
  51. fix typo -- oprtimization to optimization (detail)

Started by user wagner