カテゴリー: Desktop Development

  • Next TYPE-R

    "A bright red high-performance hatchback sports car parked in a studio setting, glossy finish, black alloy wheels, large rear wing spoiler, aggressive front grille, LED headlights, cinematic lighting, ultra-realistic detail."
  • Fortran IV G1 compiler

    Fortran IV G1 compiler

    It seems like you’re asking about the “Fortran IV G1 compiler.” Based on historical context, this likely refers to one of IBM’s Fortran IV compilers developed for the System/360 series in the mid-1960s. IBM offered several Fortran IV compilers—named F, G, H, and later others—each distinguished by the amount of memory they required to operate and their optimization levels. The “G” compiler, in particular, was a widely used version, and “G1” might be a specific variant or a misremembered designation.

    To clarify: Fortran IV (often associated with the 1966 standard, Fortran 66) was a significant evolution of the Fortran language, introducing features like logical IF statements and explicit type declarations. The IBM Fortran IV G compiler was designed for the System/360, requiring a modest amount of memory (typically around 64K bytes) compared to the more advanced H compiler. It was less optimized than H but more practical for smaller systems.

    Unfortunately, no Fortran IV G1 compiler (or even G) is readily available today as a standalone tool, especially not for modern systems. These were proprietary IBM products tied to specific hardware like the System/360, and their original distributions are long obsolete. However, here’s how you might approach this:

    1. Modern Compilers for Fortran IV Code: Most contemporary Fortran compilers (e.g., GNU Fortran gfortran, Intel Fortran ifort or ifx, or NAG Fortran) can compile Fortran IV code with minimal adjustments, as the language has maintained a high degree of backward compatibility. For instance:
    • gfortran (part of GCC) supports Fortran 77 and later standards, which encompass Fortran IV features. You’d need to ensure fixed-format source (columns 7–72 for code, column 1 for comments with C or *) and possibly adjust for deprecated constructs like Hollerith constants.
    • Intel Fortran compilers offer a -f66 flag to enforce Fortran 66 semantics, which aligns closely with Fortran IV.
    1. Emulation: If you specifically need the IBM Fortran IV G compiler’s behavior (e.g., for historical accuracy), you’d need an emulator for the System/360, such as Hercules, paired with an original IBM OS like OS/360. The compiler itself would require vintage software archives, which are rare and often inaccessible outside of specialized collections or museums.
    2. Practical Steps: If you have Fortran IV code you want to run:
    • Rename the file with a .f extension (e.g., program.f).
    • Try compiling with gfortran -ffixed-form program.f -o program. The -ffixed-form flag ensures it respects the old card-based layout.
    • Fix any errors (e.g., outdated I/O statements like WRITE (6,10) referencing unit 6 for output might need adjustment depending on the system).

    If “G1” refers to something more specific (e.g., a typo or a different system), could you clarify? For example, was this code intended for a non-IBM platform, or do you have a particular source file in mind? Without additional context, I’m assuming you’re seeking general information or a way to use such a compiler today.

    Given it’s March 4, 2025, no original Fortran IV G1 compiler is in active use, but modern tools can bridge the gap. Let me know if you need help with a specific code example!

  • Dart install, setting

    C:\Users\user>choco install dart-sdk

    Chocolatey v2.2.2

    3 validations performed. 2 success(es), 1 warning(s), and 0 error(s).

    Validation Warnings:

     – A pending system reboot request has been detected, however, this is

       being ignored due to the current Chocolatey configuration.  If you

       want to halt when this occurs, then either set the global feature

       using:

         choco feature enable –name=”exitOnRebootDetected”

       or pass the option –exit-when-reboot-detected.

    Installing the following packages:

    dart-sdk

    By installing, you accept licenses for the packages.

    Progress: Downloading dart-sdk 3.1.2… 100%

    dart-sdk v3.1.2 [Approved]

    dart-sdk package files install completed. Performing other installation steps.

    The package dart-sdk wants to run ‘chocolateyInstall.ps1’.

    Note: If you don’t run this script, the installation will fail.

    Note: To confirm automatically next time, use ‘-y’ or consider:

    choco feature enable -n allowGlobalConfirmation

    Do you want to run the script?([Y]es/[A]ll – yes to all/[N]o/[P]rint): y

    PATH environment variable does not have C:\tools\dart-sdk\bin in it. Adding…

    PATH environment variable does not have C:\Users\user\AppData\Local\Pub\Cache\bin in it. Adding…

    Downloading dart-sdk 64 bit

      from ‘https://storage.googleapis.com/dart-archive/channels/stable/release/3.1.2/sdk/dartsdk-windows-x64-release.zip’

    Progress: 100% – Completed download of C:\Users\user\AppData\Local\Temp\dart-sdk\3.1.2\dartsdk-windows-x64-release.zip (196.46 MB).

    Download of dartsdk-windows-x64-release.zip (196.46 MB) completed.

    Hashes match.

    Extracting C:\Users\user\AppData\Local\Temp\dart-sdk\3.1.2\dartsdk-windows-x64-release.zip to C:\tools…

    C:\tools

    Environment Vars (like PATH) have changed. Close/reopen your shell to

     see the changes (or in powershell/cmd.exe just type `refreshenv`).

     The install of dart-sdk was successful.

      Software installed to ‘C:\tools’

    Chocolatey installed 1/1 packages.

     See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).

    C:\Users\user>

    PS C:\Users\user> dart –version
    Dart SDK version: 3.1.2 (stable) (Tue Sep 12 16:26:23 2023 +0000) on “windows_x64”

  • zbuild setup

    PS C:\Users\user> zbuild setup
    Chocolatey v2.2.2
    3 validations performed. 2 success(es), 1 warning(s), and 0 error(s).
    
    Validation Warnings:
     - A pending system reboot request has been detected, however, this is
       being ignored due to the current Chocolatey configuration.  If you
       want to halt when this occurs, then either set the global feature
       using:
         choco feature enable --name="exitOnRebootDetected"
       or pass the option --exit-when-reboot-detected.
    
    Installing the following packages:
    mingw;golang;upx
    By installing, you accept licenses for the packages.
    Progress: Downloading mingw 12.2.0.03042023... 100%
    
    mingw v12.2.0.3042023 [Approved]
    mingw package files install completed. Performing other installation steps.
    The package mingw wants to run 'chocolateyinstall.ps1'.
    Note: If you don't run this script, the installation will fail.
    Note: To confirm automatically next time, use '-y' or consider:
    choco feature enable -n allowGlobalConfirmation
    Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): y
    
    Downloading mingw 64 bit
      from 'https://github.com/niXman/mingw-builds-binaries/releases/download/12.2.0-rt_v10-rev2/x86_64-12.2.0-release-posix-seh-ucrt-rt_v10-rev2.7z'
    Progress: 100% - Completed download of C:\Users\user\AppData\Local\Temp\chocolatey\mingw\12.2.0.3042023\x86_64-12.2.0-release-posix-seh-ucrt-rt_v10-rev2.7z (68 MB).
    Download of x86_64-12.2.0-release-posix-seh-ucrt-rt_v10-rev2.7z (68 MB) completed.
    Hashes match.
    Extracting C:\Users\user\AppData\Local\Temp\chocolatey\mingw\12.2.0.3042023\x86_64-12.2.0-release-posix-seh-ucrt-rt_v10-rev2.7z to C:\ProgramData\chocolatey\lib\mingw\tools\install...
    C:\ProgramData\chocolatey\lib\mingw\tools\install
    Testing path: C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw32\bin
    Testing path: C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin
    PATH environment variable does not have C:\ProgramData\chocolatey\lib\mingw\tools\install\mingw64\bin in it. Adding...
    Environment Vars (like PATH) have changed. Close/reopen your shell to
     see the changes (or in powershell/cmd.exe just type `refreshenv`).
     ShimGen has successfully created a shim for addr2line.exe
     ShimGen has successfully created a shim for ar.exe
     ShimGen has successfully created a shim for as.exe
     ShimGen has successfully created a shim for c++.exe
     ShimGen has successfully created a shim for c++filt.exe
     ShimGen has successfully created a shim for cpp.exe
     ShimGen has successfully created a shim for dlltool.exe
     ShimGen has successfully created a shim for dllwrap.exe
     ShimGen has successfully created a shim for dwp.exe
     ShimGen has successfully created a shim for elfedit.exe
     ShimGen has successfully created a shim for g++.exe
     ShimGen has successfully created a shim for gcc-ar.exe
     ShimGen has successfully created a shim for gcc-nm.exe
     ShimGen has successfully created a shim for gcc-ranlib.exe
     ShimGen has successfully created a shim for gcc.exe
     ShimGen has successfully created a shim for gcov-dump.exe
     ShimGen has successfully created a shim for gcov-tool.exe
     ShimGen has successfully created a shim for gcov.exe
     ShimGen has successfully created a shim for gdb.exe
     ShimGen has successfully created a shim for gdborig.exe
     ShimGen has successfully created a shim for gdbserver.exe
     ShimGen has successfully created a shim for gendef.exe
     ShimGen has successfully created a shim for genidl.exe
     ShimGen has successfully created a shim for genpeimg.exe
     ShimGen has successfully created a shim for gfortran.exe
     ShimGen has successfully created a shim for gprof.exe
     ShimGen has successfully created a shim for ld.bfd.exe
     ShimGen has successfully created a shim for ld.exe
     ShimGen has successfully created a shim for ld.gold.exe
     ShimGen has successfully created a shim for lto-dump.exe
     ShimGen has successfully created a shim for mingw32-make.exe
     ShimGen has successfully created a shim for nm.exe
     ShimGen has successfully created a shim for objcopy.exe
     ShimGen has successfully created a shim for objdump.exe
     ShimGen has successfully created a shim for ranlib.exe
     ShimGen has successfully created a shim for readelf.exe
     ShimGen has successfully created a shim for size.exe
     ShimGen has successfully created a shim for strings.exe
     ShimGen has successfully created a shim for strip.exe
     ShimGen has successfully created a shim for widl.exe
     ShimGen has successfully created a shim for windmc.exe
     ShimGen has successfully created a shim for windres.exe
     ShimGen has successfully created a shim for x86_64-w64-mingw32-c++.exe
     ShimGen has successfully created a shim for x86_64-w64-mingw32-g++.exe
     ShimGen has successfully created a shim for x86_64-w64-mingw32-gcc-12.2.0.exe
     ShimGen has successfully created a shim for x86_64-w64-mingw32-gcc-ar.exe
     ShimGen has successfully created a shim for x86_64-w64-mingw32-gcc-nm.exe
     ShimGen has successfully created a shim for x86_64-w64-mingw32-gcc-ranlib.exe
     ShimGen has successfully created a shim for x86_64-w64-mingw32-gcc.exe
     ShimGen has successfully created a shim for x86_64-w64-mingw32-gfortran.exe
     ShimGen has successfully created a shim for cc1.exe
     ShimGen has successfully created a shim for cc1plus.exe
     ShimGen has successfully created a shim for collect2.exe
     ShimGen has successfully created a shim for f951.exe
     ShimGen has successfully created a shim for g++-mapper-server.exe
     ShimGen has successfully created a shim for lto-wrapper.exe
     ShimGen has successfully created a shim for lto1.exe
     ShimGen has successfully created a shim for fixincl.exe
     ShimGen has successfully created a shim for gdbmtool.exe
     ShimGen has successfully created a shim for gdbm_dump.exe
     ShimGen has successfully created a shim for gdbm_load.exe
     ShimGen has successfully created a shim for python3.9.exe
     ShimGen has successfully created a shim for python3.exe
     ShimGen has successfully created a shim for python3w.exe
     ShimGen has successfully created a shim for x86_64-w64-mingw32-captoinfo.exe
     ShimGen has successfully created a shim for x86_64-w64-mingw32-clear.exe
     ShimGen has successfully created a shim for x86_64-w64-mingw32-infocmp.exe
     ShimGen has successfully created a shim for x86_64-w64-mingw32-infotocap.exe
     ShimGen has successfully created a shim for x86_64-w64-mingw32-reset.exe
     ShimGen has successfully created a shim for x86_64-w64-mingw32-tabs.exe
     ShimGen has successfully created a shim for x86_64-w64-mingw32-tic.exe
     ShimGen has successfully created a shim for x86_64-w64-mingw32-toe.exe
     ShimGen has successfully created a shim for x86_64-w64-mingw32-tput.exe
     ShimGen has successfully created a shim for x86_64-w64-mingw32-tset.exe
     ShimGen has successfully created a shim for python.exe
     ShimGen has successfully created a shim for pythonw.exe
     ShimGen has successfully created a shim for ar.exe
     ShimGen has successfully created a shim for as.exe
     ShimGen has successfully created a shim for dlltool.exe
     ShimGen has successfully created a shim for ld.bfd.exe
     ShimGen has successfully created a shim for ld.exe
     ShimGen has successfully created a shim for ld.gold.exe
     ShimGen has successfully created a shim for nm.exe
     ShimGen has successfully created a shim for objcopy.exe
     ShimGen has successfully created a shim for objdump.exe
     ShimGen has successfully created a shim for ranlib.exe
     ShimGen has successfully created a shim for readelf.exe
     ShimGen has successfully created a shim for strip.exe
     The install of mingw was successful.
      Software installed to 'C:\ProgramData\chocolatey\lib\mingw\tools\install'
    golang v1.21.0 already installed.
     Use --force to reinstall, specify a version to install, or try upgrade.
    Progress: Downloading upx 4.1.0... 100%
    
    upx v4.1.0 [Approved]
    upx package files install completed. Performing other installation steps.
    The package upx wants to run 'chocolateyInstall.ps1'.
    Note: If you don't run this script, the installation will fail.
    Note: To confirm automatically next time, use '-y' or consider:
    choco feature enable -n allowGlobalConfirmation
    Do you want to run the script?([Y]es/[A]ll - yes to all/[N]o/[P]rint): y
    
    Extracting 64-bit C:\ProgramData\chocolatey\lib\upx\tools\upx-4.1.0-win64_x64.zip to C:\ProgramData\chocolatey\lib\upx\tools...
    C:\ProgramData\chocolatey\lib\upx\tools
     ShimGen has successfully created a shim for upx.exe
     The install of upx was successful.
      Software installed to 'C:\ProgramData\chocolatey\lib\upx\tools'
    
    Chocolatey installed 2/3 packages.
     See the log for details (C:\ProgramData\chocolatey\logs\chocolatey.log).
    
    Warnings:
     - golang - golang v1.21.0 already installed.
     Use --force to reinstall, specify a version to install, or try upgrade.
    PS C:\Users\user>
  • go install github.com/nextzlog/zylo/zbuild@HEAD

    PS C:\Users\user>go install github.com/nextzlog/zylo/zbuild@HEAD
    go: downloading github.com/nextzlog/zylo v0.0.0-20230731144900-3ee901885e98
    go: finding module for package gopkg.in/yaml.v2
    go: finding module for package github.com/urfave/cli
    go: downloading github.com/urfave/cli v1.22.14
    go: found github.com/urfave/cli in github.com/urfave/cli v1.22.14
    go: found gopkg.in/yaml.v2 in gopkg.in/yaml.v2 v2.4.0
    go: downloading github.com/cpuguy83/go-md2man/v2 v2.0.2
    go: downloading github.com/russross/blackfriday/v2 v2.1.0
    PS C:\Users\user>