Mercurial > hg > CbC > CbC_gcc
comparison gcc/genchecksum.c @ 63:b7f97abdc517 gcc-4.6-20100522
update gcc from gcc-4.5.0 to gcc-4.6
author | ryoma <e075725@ie.u-ryukyu.ac.jp> |
---|---|
date | Mon, 24 May 2010 12:47:05 +0900 |
parents | 77e2b8dfacca |
children | f6334be47118 |
comparison
equal
deleted
inserted
replaced
56:3c8a44c06a95 | 63:b7f97abdc517 |
---|---|
58 | 58 |
59 puts ("#include \"config.h\""); | 59 puts ("#include \"config.h\""); |
60 puts ("#include \"system.h\""); | 60 puts ("#include \"system.h\""); |
61 fputs ("EXPORTED_CONST unsigned char executable_checksum[16] = { ", stdout); | 61 fputs ("EXPORTED_CONST unsigned char executable_checksum[16] = { ", stdout); |
62 for (i = 0; i < 16; i++) | 62 for (i = 0; i < 16; i++) |
63 printf ("%#02x%s", result[i], i == 15 ? " };\n" : ", "); | 63 printf ("0x%02x%s", result[i], i == 15 ? " };\n" : ", "); |
64 } | 64 } |
65 | 65 |
66 int | 66 int |
67 main (int argc, char ** argv) | 67 main (int argc, char ** argv) |
68 { | 68 { |