Skip to content
This repository has been archived by the owner on Dec 25, 2017. It is now read-only.

Commit

Permalink
add todo-windows.txt
Browse files Browse the repository at this point in the history
  • Loading branch information
kjk committed Oct 29, 2013
1 parent 631062d commit 5f5a6c3
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 0 deletions.
1 change: 1 addition & 0 deletions README-WINDOWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@ and Visual Studio.
Compilation steps:
* run: premake4 vs2010
* open vs-premake/ag.sln in Visual Studio 2010 or later, proceed as usual
* the binaries end up as rel/ag.exe or dbg/ag.exe (release/debug builds)

How this port was made.
-----------------------
Expand Down
15 changes: 15 additions & 0 deletions todo-windows.txt
Original file line number Diff line number Diff line change
@@ -0,0 +1,15 @@
Things that could be done for windows port:

1. in options.c:
gitconfig_file = popen("git config -z --get core.excludesfile", "r");
(and other uses of popen).

If git is not installed, the following message ends up in stderr:

"'git' is not recognized as an internal or external command, operable program or batch file."

This is because popen() really does "cmd.exe /c git config ..." and executes
it via CreateProcess() and, I'm guessing, cmd.exe is the one printing this
message to stderr.

I could re-implement popen() in a way that doesn't add "cmd.exe"

0 comments on commit 5f5a6c3

Please sign in to comment.