From dc0a2c735487667c446794400a852886ade75d32 Mon Sep 17 00:00:00 2001 From: Tod Kurt <todbot@users.noreply.github.com> Date: Fri, 15 Jul 2022 18:47:07 -0700 Subject: [PATCH] remove gnu99 from compilation flags --- Makefile | 2 +- README.md | 9 +++++---- 2 files changed, 6 insertions(+), 5 deletions(-) diff --git a/Makefile b/Makefile index 428e5c0f..e647ee84 100644 --- a/Makefile +++ b/Makefile @@ -523,7 +523,7 @@ endif #CFLAGS += -O -Wall -std=gnu99 -I ../hardware/firmware CFLAGS += -Wall -CFLAGS += -std=gnu99 +#CFLAGS += -std=gnu99 CFLAGS += -DBLINK1_VERSION=\"$(BLINK1_VERSION)\" OBJS += blink1-lib.o diff --git a/README.md b/README.md index c09f5557..fa33db5d 100644 --- a/README.md +++ b/README.md @@ -124,14 +124,15 @@ you may already have everything you need to compile `blink1-tool`. - `cd blink1-tool` - `make` -### Windows (old way) +### Windows -- Install Visual Studio 2015 -- Install MSYS2 : https://github.com/msys2/msys2/wiki/MSYS2-installation +- Install Visual Studio 2015 or 2019 +- Install MSYS2: https://www.msys2.org/ - In MSYS2 bash shell: -- `pacman -S base-devel make git zip unzip mingw-w64-x86_64-toolchain` +- `pacman -S base-devel make git zip unzip mingw-w64-x86_64-gcc` - `export PATH=${PATH}:/c/msys64/mingw64/bin` - `export PATH=${PATH}:"/c/Program Files (x86)/Microsoft Visual Studio 14.0/VC/bin"` +- `export PATH=${PATH}:'/c/Program Files (x86)/Microsoft Visual Studio/2019/BuildTools/VC/Tools/MSVC/14.29.30133/bin/Hostx64/x64'"` - `make` ### Other OSes -- GitLab