Joey Hess
f11f7520b5
windows: Fix process termination code.
...
The ctrl-c hack used before didn't actually seem to work.
No haskell libraries expose TerminateProcess. I tried just calling it via
FFI, but got segfaults, probably to do with the wacky process handle not
being managed correctly. Moving it all into one C function worked.
This was hell. The EvilLinker hack was just final icing on the cake.
We all know what the cake was made of.
2014-02-13 15:53:10 -04:00
Joey Hess
7dd94c0846
remove debug info
2014-01-30 13:34:24 -04:00
Joey Hess
6c1a50b4ea
fix EvilLinker to not stomp on environment
2013-12-10 14:21:22 -04:00
Joey Hess
2b13776449
remove debug
2013-12-10 13:56:08 -04:00
Joey Hess
5315efa3d6
parse out additional env vars when running collect2
2013-12-10 13:51:52 -04:00
Joey Hess
656ae5f823
try setting TMPDIR for collect2 to not use C:\Windows
2013-12-10 12:53:37 -04:00
Joey Hess
5f859e648c
debug
2013-12-10 12:50:04 -04:00
Joey Hess
902d14b2ee
remove debug
2013-12-10 12:43:42 -04:00
Joey Hess
15fda7f452
fix infinite recursion on failed parse
2013-12-09 15:34:56 -04:00
Joey Hess
0e729fdff6
wall clean
2013-12-09 15:28:33 -04:00
Joey Hess
5017523183
record output to file
2013-12-09 15:22:53 -04:00
Joey Hess
d5981949e0
detect parse failure where command is somehow empty (wtf?)
2013-12-09 15:17:55 -04:00
Joey Hess
c737299ebf
more horrible path fixup
2013-12-08 15:42:27 -04:00
Joey Hess
fc40432cff
typo
2013-12-07 11:18:02 -04:00
Joey Hess
50f4f2b1ef
debug
2013-12-07 11:14:54 -04:00
Joey Hess
24469a7d54
lose the -v2, unneeded
2013-12-07 11:13:02 -04:00
Joey Hess
5cdd933117
improve debuggin on failure
2013-12-06 18:50:13 -04:00
Joey Hess
ce3f5138c2
improve parser robustness
2013-12-06 18:26:52 -04:00
Joey Hess
db26e3c4de
try to fix collect2 output parser
2013-12-06 18:06:39 -04:00
Joey Hess
fee56536dc
more verbose cabal
2013-12-06 17:38:41 -04:00
Joey Hess
ec090f609f
more paths
2013-12-06 15:24:39 -04:00
Joey Hess
5a03e1cacc
better output
2013-12-06 15:18:13 -04:00
Joey Hess
1910795ddf
error reporting
2013-12-06 15:15:47 -04:00
Joey Hess
b370f52f88
use EvilLinker on autobuilder (will probably need some more horrible path fixes)
2013-12-06 15:08:30 -04:00
Joey Hess
48b4650520
aaargh
2013-12-06 14:58:26 -04:00
Joey Hess
dea7dedaf8
more path mangling, because DOS
2013-12-06 14:46:32 -04:00
Joey Hess
3b3276988c
propigate ld failure
2013-12-06 14:29:58 -04:00
Joey Hess
b97fe204ba
progress
2013-12-06 14:20:44 -04:00
Joey Hess
5b5c33e06d
pass COLLECT_GCC_OPTIONS
2013-12-06 13:53:58 -04:00
Joey Hess
237f72990e
now it gets truely nightmarish
2013-12-06 13:39:35 -04:00
Joey Hess
a5644eeeb9
gcc output parser
2013-12-06 13:27:29 -04:00
Joey Hess
0bf516d018
foo
2013-12-06 13:14:01 -04:00
Joey Hess
6b30b66160
mangle \ in paths (sheesh)
2013-12-06 12:55:32 -04:00
Joey Hess
598dc56222
update
2013-12-06 12:48:39 -04:00
Joey Hess
03f0fa1f2f
debug
2013-12-06 12:44:40 -04:00
Joey Hess
639808658d
EvilLinker stage 2
2013-12-06 12:43:30 -04:00
Joey Hess
01799cafc3
EvilLinker, stage 1
2013-12-06 12:27:21 -04:00