diff options
author | Joey Hess <joey@kitenet.net> | 2013-12-05 23:50:03 -0400 |
---|---|---|
committer | Joey Hess <joey@kitenet.net> | 2013-12-05 23:50:03 -0400 |
commit | a17fdae655e781fc4ee95485b348f0c9d7c46f64 (patch) | |
tree | ec8c9ff8d3760e210ed5a29ff2bebea7eb90a06c /doc/devblog | |
parent | d74db9498732cbcfb0351f40c977e7cf4c14deb4 (diff) |
devblog
Diffstat (limited to 'doc/devblog')
-rw-r--r-- | doc/devblog/day_72__windows_webapp_not.mdwn | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/doc/devblog/day_72__windows_webapp_not.mdwn b/doc/devblog/day_72__windows_webapp_not.mdwn new file mode 100644 index 000000000..985afe7c4 --- /dev/null +++ b/doc/devblog/day_72__windows_webapp_not.mdwn @@ -0,0 +1,22 @@ +Got the entire webapp to build on Windows. + +Compiling was easy. One line of code had to be #ifdefed out, and the whole +rest of the webapp UI just built! + +Linking was epic. It seems that I really am runninginto a 32kb command line length +limit, which causes the link command to fail on Windows. git-annex with all +its bells and whistles enabled is just too big. Filed a +[ghc bug report](https://ghc.haskell.org/trac/ghc/ticket/8596), and got back a +helpful response about using <http://gcc.gnu.org/wiki/Response_Files> to +work around. + +6 hours of slogging through compiling dependencies and fighting with +toolchain later, I have managed to link git-annex with the webapp! + +The process is not automated yet. While I was able to automate +passing gcc a @file with its parameters, gcc then calls collect2, which +calls ld, and both are passed too many parameters. I have not found a way +to get gcc to generate a response file. So I did it manually. Urgh. + +Also, it crashes on startup with `getAddrInfo` failure. But some more +porting is to be expected, now that the windows webapp links.. ;) |