comparison configure.d @ 127:1da160a2c373

Chess checkpoint
author David Bryant <bagnose@gmail.com>
date Mon, 12 Dec 2011 18:03:07 +1030
parents 0d427170a805
children 5920bb2ddd0f bc5baa585b32
comparison
equal deleted inserted replaced
126:89016abde9fe 127:1da160a2c373
61 string binPath = std.path.join(targetPath, "bin"); 61 string binPath = std.path.join(targetPath, "bin");
62 binPath.mkdir; 62 binPath.mkdir;
63 63
64 // compile builder into bin_path 64 // compile builder into bin_path
65 writefln("Building the builder"); 65 writefln("Building the builder");
66 int ret = system(format("dmd -m64 -w -wi %s -O -of%s", 66 int ret = system(format("dmd -m32 -w -wi %s -O -of%s",
67 std.path.join(sourcePath, "builder.d"), std.path.join(binPath, "builder"))); 67 std.path.join(sourcePath, "builder.d"), std.path.join(binPath, "builder")));
68 if (ret) { 68 if (ret) {
69 writefln("Error - builder failed to compile"); 69 writefln("Error - builder failed to compile");
70 return -1; 70 return -1;
71 } 71 }