From 6212fc971f4407a6ad52ce5701f0f9dbe834d7b4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pedro=20P=C3=A9rez?= Date: Mon, 5 Oct 2026 21:46:55 +0200 Subject: [PATCH] =?UTF-8?q?PROGRESO:=20estado=20de=202.3b=20y=20pasos=20pa?= =?UTF-8?q?ra=20la=20sesi=C3=B3n=20en=20Windows?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Co-Authored-By: Claude Opus 5.5 --- PROGRESO.md | 21 +++++++++++++++++++-- 1 file changed, 19 insertions(+), 2 deletions(-) diff --git a/PROGRESO.md b/PROGRESO.md index 4ab337f..f52de17 100644 --- a/PROGRESO.md +++ b/PROGRESO.md @@ -9,8 +9,25 @@ Valgrind limpio. Falta `escpos_buffer_append`: el parámetro con la cantidad, `const`, reservar `len + cantidad`, `memcpy` y el comentario de la cabecera. Ahora copia 1 byte (`sizeof *byte`). -- Entorno activo: Fedora 42 nativo (gcc 15.2, clang 20, make 4.4, gdb 17, - valgrind 3.26). +- Entorno: Fedora 42 nativo (gcc 15.2, clang 20, make 4.4, gdb 17, + valgrind 3.26) y Windows con MSYS2 UCRT64. **Próxima sesión en Windows** + (2026-10-05). + +### Al llegar a Windows + +1. `git pull` desde la terminal UCRT64 de MSYS2. +2. Comprobar que están las herramientas: `gcc --version`, `make --version`, + `gdb --version`. Si falta algo: + `pacman -S mingw-w64-ucrt-x86_64-gcc mingw-w64-ucrt-x86_64-gdb make`. +3. Cerrar la Fase 1 en Windows: `make` debe generar `build/hello.exe`. El + Makefile todavía no añade `.exe` (falta el `ifeq ($(OS),Windows_NT)` de + `docs/06-make.md`). Ojo: `mkdir -p` y `rm -rf` solo funcionan en la shell de + MSYS2, no en `cmd` ni en PowerShell. +4. VS Code: `.vscode/launch.json` y `c_cpp_properties.json` ya tienen la + configuración de Windows (`C:/msys64/ucrt64/bin/...`). Comprobar que la ruta + de MSYS2 es esa. +5. Valgrind no existe en Windows. La parte portable se sigue validando en + Fedora. En Windows se puede seguir avanzando con el 2.3b. ## Hecho