Skip to content

configurator: Support for Windows and MSVC

Kevin Locke ccan 3 versions – Applied

Status from this message: I've merged these to master.

Get series with b4
b4 am [email protected]

Versions newest first · linked by author and title

  1. v3 Latest7 patches 3 repliesApplied
  2. v213 patches 22 repliesSuperseded
  3. v19 patches 18 repliesSuperseded

Patches in v3 Applied

#Subject and filesSizeRepliesApplied
1/7configurator: Reimplement run using popentools/configurator/configurator.c+31 -480 replies
2/7configurator: Inline err.h functionstools/configurator/configurator.c+41 -80 replies
3/7configurator: Print test source without cattools/configurator/configurator.c+23 -50 replies
4/7configurator: Add output cflag option and macrotools/compile.c tools/configurator/configurator.c tools/tools.h+49 -220 replies
5/7configurator: DEFAULT_{COMPILER, FLAGS} for MSVCtools/configurator/configurator.c+12 -00 replies
6/7Makefile: Define CFLAGS_FORCE_C_SOURCE macroMakefile Makefile-ccan+2 -10 replies
7/7Add appveyor.ymlappveyor.yml+37 -00 replies

Reviews trailers per patch

No Reviewed-by, Acked-by or Tested-by trailers for v3 yet.

Read the v3 thread

Cover letter [PATCH v3 0/7] configurator: Support for Windows and MSVC
Quoted 3 lines · David Gibson

Right. Can you rebase your current patches and post them as a new series. That's makes my life easier compared to updated versions of each patch in various places in the thread.

Certainly. No problem.

Here is the third revision of the patch series which adds support for building configurator with Microsoft Visual C++ and running it on Windows.

Significant changes from v2:
* Removing the unnecessary EINTR and short read/write handling code.
* Switching from the musl libc err.h implementation to the CCAN err module one in hopes of reducing maintenance burden and code proliferation.
* Additional documentation comments for AppVeyor.

Thanks again!
Kevin

Kevin Locke (7):
configurator: Reimplement run using popen
configurator: Inline err.h functions
configurator: Print test source without cat
configurator: Add output cflag option and macro
configurator: DEFAULT_{COMPILER,FLAGS} for MSVC
Makefile: Define CFLAGS_FORCE_C_SOURCE macro
Add appveyor.yml

 Makefile                          |   2 +-
 Makefile-ccan                     |   1 +
 appveyor.yml                      |  37 +++++++
 tools/compile.c                   |  15 ++-
 tools/configurator/configurator.c | 216 +++++++++++++++++++++++++-------------
 tools/tools.h                     |   6 +-
 6 files changed, 194 insertions(+), 83 deletions(-)
 create mode 100644 appveyor.yml

--
2.9.3

_______________________________________________
ccan mailing list
[email protected]
https://lists.ozlabs.org/listinfo/ccan